< Home

authentication-mode (administrator interface view)

Function

The authentication-mode command specifies an authentication mode.

The undo authentication-mode command restores the default authentication mode.

Format

authentication-mode { aaa | password }

undo authentication-mode

Parameters

Parameter Description Value

aaa

Enables AAA authentication. If AAA authentication is used, run the manager-user command in the AAA view to create an administrator account.

-

password

Enables password authentication.

-

Views

Administrator interface view

Default Level

3: Management level

Usage Guidelines

By default, VTY interfaces support AAA authentication, and console interfaces support password authentication.

If a FW uses AAA to authenticate an administrator and the administrator logs in to the FW, the highest level of commands that the administrator can use is determined by the account level.

After the authentication method for the administrator interface s set to password, run set authentication password to configure a password.

Example

# Enable AAA authentication for administrators to log in to VTY0.

<sysname> system-view
[sysname] user-interface vty 0
[sysname-ui-vty0] authentication-mode aaa
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >