R21xx-HP FlexFabric 11900 Fundamentals Command Reference
29
Send message? [Y/N]:y
The message should appear on the screen of the user's configuration terminal, as shown in the following
example:
[Sysname]
***
***
***Message from vty0 to vty1
***
Your attention, please. I will reboot the system in 3 minutes.
set authentication password
Use set authentication password to set a password for password authentication.
Use undo set authentication password to remove the password.
Syntax
set authentication password { hash | simple } password
undo set authentication password
Default
No password is set for password authentication.
Views
User interface view
Predefined user roles
network-admin
Parameters
hash: Sets a hashed password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 16 characters. If hash is specified, it must be a string of 1 to 110 characters.
Usage guidelines
This command is not supported in FIPS mode.
Whether you specify the hash or simple keyword for the command, the password is hashed before being
saved to the configuration file.
Examples
# Set the password for password authentication on user interface VTY 0 to hello.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] authentication-mode password
[Sysname-ui-vty0] set authentication password simple hello
When you log in to user interface VTY 0 again, you must enter the password hello to pass authentication.










