No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
authentication-mode (user interface view)

authentication-mode (user interface view)


The authentication-mode command configures the authentication mode for accessing the user interface.

The undo authentication-mode command deletes the authentication mode for accessing the user interface.

By default, password authentication is used for console port login and aaa authentication is used for login on the VTY user interface.


authentication-mode { aaa | password }

undo authentication-mode


Parameter Description Value
aaa Indicates the AAA authentication mode. -
password Indicates the password authentication mode. -


User interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When a user logs in to the device using the console interface for the first time, the system prompts the user to set the login password. After the user logs in to the device, the user can run the authentication-mode command to change the authentication mode.

Before Telnet or SSH users log in to the device using VTY user interface, they must run the authentication-mode command to configure the authentication mode.


To ensure that users can log in to the device successfully, configure the authentication mode.

  • After you set the authentication mode for accessing a user interface to password, run the set authentication password command to configure an authentication password. Keep the password safe. You need to enter the password when logging in to the device. The levels of commands accessible to a user depends on the level configured for the user interface to which the user logs in.

  • When the authentication mode is set to aaa, the authentication password is deleted at the same time. Users are required to enter the login user name and password to log in to the device. After login, the level of the commands the user can run depends on the level of the local user specified in AAA configuration. If no level is specified for a local AAA user, the user uses the level in the current user interface by default.

  • When the undo authentication-mode is used to delete an authentication mode of a user interface, you will be prompted to confirm whether to clear the passwords set for the user interface.


# Configure the authentication mode for accessing the user interface.

<Huawei> system-view
[Huawei] user-interface vty 0
[Huawei-ui-vty0] authentication-mode password
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205274

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next