The authentication-mode command sets the authentication mode of an authentication scheme.
The default authentication mode is radius authentication.
Parameter | Description | Value |
---|---|---|
local |
Authenticates users locally. If local is involved in the authentication method, you should configure a local user. |
- |
hwtacacs |
Authenticates users through an HWTACACS server. |
- |
radius |
Authenticates users through a RADIUS server. In VS mode, this parameter is supported only by the admin VS. |
- |
none |
Allows users' access without authentication. If none authentication is configured for the administrator, the administrator cannot log in to the device. |
- |
radius-proxy |
Authenticates users through a RADIUS proxy server. In VS mode, this parameter is supported only by the admin VS. |
- |
In the process of upgrading user levels, if several authentication modes are used in an authentication scheme, these authentication modes take effect in the sequence of their configurations.
If a login account is locally unavailable, the authentication mode is changed from local authentication to remote authentication.
If a login account is available both locally and on the remote server, the authentication mode is not changed to remote authentication when local authentication fails because of an incorrect password.
If a login account is available locally but unavailable on the remote server, the authentication mode is not changed from remote authentication to local authentication. Instead, it is considered that this account fails the authentication.
The authentication mode is changed from remote authentication to local authentication only when the remote server goes down.
If the current authentication mode does not respond, the system goes to the next authentication mode. If the current authentication fails or succeeds, the system does not go to next authentication mode.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] authentication-scheme scheme1 [*HUAWEI-aaa-authen-scheme1] authentication-mode local
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] authentication-scheme scheme2 [*HUAWEI-aaa-authen-scheme2] authentication-mode radius local hwtacacs