The authentication-scheme command creates an authentication scheme and displays its view.
The undo authentication-scheme command deletes an authentication scheme.
Parameter | Description | Value |
---|---|---|
scheme-name | Specifies the name of an authentication scheme. | The value is a string of 1 to 32 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --. |
Usage Scenario
To authenticate users, run the authentication-scheme command to create an authentication scheme. Creating an authentication scheme is necessary before performing authentication-relevant configurations.
Follow-up Procedure
After an authentication scheme is created, run the authentication-mode (authentication scheme view) command to configure an authentication mode in an authentication scheme.
After an authentication scheme is configured, run the authentication-scheme (AAA domain view) command to apply the authentication scheme to a domain.
Precautions
If the configured authentication scheme does not exist, the authentication-scheme command creates an authentication scheme and displays the authentication scheme view. If the configured authentication scheme already exists, the authentication-scheme command directly displays the authentication scheme view.
To delete an authentication scheme applied to a domain, run the undo authentication-scheme (AAA domain view) command.
# Create an authentication scheme named newscheme.
<HUAWEI> system-view [HUAWEI] aaa [HUAWEI-aaa] authentication-scheme newscheme [HUAWEI-aaa-authen-newscheme]
# Access the default authentication scheme view.
<HUAWEI> system-view [HUAWEI] aaa [HUAWEI-aaa] authentication-scheme default [HUAWEI-aaa-authen-default]