The display authentication-scheme command displays the configuration of an authentication scheme.
Usage Scenario
The authentication modes supported by AAA include non-authentication, local authentication, and remote authentication.
To view authentication information about the access users of the system, you can run the display authentication-scheme command. If the display authentication-scheme command is used in the authentication scheme view or with specified, the detailed configuration of the authentication scheme is displayed; otherwise, only the summary of the authentication scheme is displayed.In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display authentication-scheme
---------------------------------------------------------------------------
Authentication-scheme-name Authentication-method
---------------------------------------------------------------------------
default0 local
default1 radius
default local radius
auth1 local
---------------------------------------------------------------------------
Total 4,4 printed
<HUAWEI> display authentication-scheme auth1
---------------------------------------------------------------------------
Authentication-scheme-name : auth1
Authentication-method : Local authentication
Authentication-fail-policy : Cut user
Authentication-fail-domain : -
Authentication-redirect-domain: -
---------------------------------------------------------------------------
Item | Description |
---|---|
Authentication-scheme-name | Indicates the name of an authentication scheme. |
Authentication-method | Indicates the authentication method. AAA supports four authentication modes:
It also allows a random combination of the four modes. The hybrid authentications are sequential. If the authentication-mode radius local command is run, it indicates that the RADIUS authentication mode is used first. If the RADIUS authentication mode fails, the local authentication mode is used. When no authentication (none) is contained in hybrid authentication mode, it must be put at the end. For example: authorization-mode hwtacacs local none. AAA also supports RADIUS proxy authentication which must be used separately. Configure the authentication mode in the authentication scheme view. By default, RADIUS authentication is used. |
Authentication-fail-policy | Indicates the policy adopted for online users when the authentication fails. The values are as follows:
|
Authentication-fail-domain | Indicates the authentication domain used when the authentication fails and users are kept online, this parameter is configured using the authening authen-fail online authen-domain command. |
Authentication-redirect-domain | Indicates the redirection domain in the authentication scheme, this parameter is configured using the authening authen-redirect online authen-domain command. |