R3303-HP HSR6800 Routers Fundamentals Command Reference
41
Keyword combination
Password string form Length (in characters)
hash simple Plain text 1 to 16
cipher Plain text, ciphertext
Plain text: 1 to 16
Ciphertext: 1 to 53
hash cipher Ciphertext (hashed form) 1 to 110
Usage guidelines
This command is not available in FIPS mode.
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text.
Examples
# Set the password for password authentication on user interface Console 0 to hello.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] authentication-mode password
[Sysname-ui-console0] set authentication password simple hello
# Set the password for password authentication on user interface Console 0 to hello and use the hash
algorithm to encrypt the password.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] set authentication password hash simple hello
Related commands
authentication-mode
shell
Use shell to enable the terminal service for a user interface.
Use undo shell to disable the terminal service for a user interface.
Syntax
shell
undo shell
Default
The terminal service is enabled on all user interfaces.
Views
User interface view
Default command level
3: Manage level
Usage guidelines
The console user interface does not support the undo shell command.