R2511-HP MSR Router Series Fundamentals Command Reference(V5)

51
Ke
y
word combination Password strin
g
form
Len
g
th (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 to the configuration file.
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
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.
The AUX user interface does not support the undo shell command when the device has only one AUX
port and no console port.
You cannot disable the terminal service on the user interface you are using.
Examples