The authorization-mode command configures an authorization mode for an authorization scheme.
The undo authorization-mode command restores the default authorization mode in an authorization scheme.
By default, local authorization is used.
authorization-mode { hwtacacs | if-authenticated | local | radius | ldap | ad } *
undo authorization-mode
Parameter |
Description |
Value |
|---|---|---|
hwtacacs |
Indicates that the user is authorized by an HWTACACS server. |
- |
if-authenticated |
Indicates that only the user who succeeds in authentication is authorized. NOTE:
This parameter does not take effect for SSL VPN users. |
- |
local |
Authenticates users locally. |
- |
radius |
Indicates that the user is authorized by a RADIUS server. NOTE:
When RADIUS authentication and authorization are used during user login, the device does not send RADIUS authorization packets separately. |
- |
ldap |
Indicates that the user is authorized by an LDAP server. |
- |
ad |
Indicates that the user is authorized by an AD server. |
- |
Usage Scenario
To authorize users, configure an authorization mode in an authorization scheme.
You can configure multiple authorization modes in an authorization scheme to reduce the chance of authorization failures.
After the authorization-mode hwtacacs local command is used, if it fails to connect to the HWTACACS authentication server and HWTACACS authorization cannot be performed, the device starts local authorization.
Precautions