R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101

3
authentication-mode
Syntax
In non-FIPS mode:
authentication-mode { none | password | scheme }
undo authentication-mode
In FIPS mode:
authentication-mode scheme
undo authentication-mode
View
User interface view
Default level
3: Manage level
Parameters
none: Performs no authentication.
password: Performs local password authentication.
scheme: Performs AAA authentication. For more information about AAA, see Access Control
Configuration Guide.
Description
Use authentication-mode to set the authentication mode for the user interface.
Use undo authentication-mode to restore the default.
By default, the authentication mode for a VTY user interfaces is password, and for the console user
interfaces is none.
In FIPS mode, the authentication mode must be scheme.
Related commands: set authentication password.
Examples
# Specify that no authentication is needed for VTY 0. (This mode is insecure.)
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] authentication-mode none
# Use password authentication when users log in to the device through VTY 0, and set the authentication
password to 321.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] authentication-mode password
[Sysname-ui-vty0] set authentication password cipher 321
# Authenticate users by username and password for VTY 0. Set the username to 123 and the password
to 321.
<Sysname> system-view
[Sysname] user-interface vty 0