R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101
30
Description
Use set authentication password to set an authentication password.
Use undo set authentication password to remove the local authentication password.
By default, no local authentication password is set.
No matter whether the password format is plain text or cipher text, you must enter the password in plain
text during authentication.
A plain text password easily gets cracked. Therefore, a cipher text password is recommended.
This command is not supported in FIPS mode.
Related commands: authentication-mode.
Examples
# Set the local authentication password for the user interface of console port 0 to hello.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] authentication-mode password
[Sysname-ui-console0] set authentication password cipher hello
Next time you enter the system, the password is required.
shell
Syntax
shell
undo shell
View
User interface view
Default level
3: Manage level
Parameters
None
Description
Use shell to enable terminal services on the current user interface.
Use undo shell to disable terminal services on the current user interface.
• The console user interface does not support the undo shell command.
• You cannot disable the terminal services on the user interface through which you are logged in.
By default, terminal services are enabled on all user interfaces.
Examples
# Disable terminal services on VTYs 0 through 4, which means you cannot log in to the device through
VTYs 0 through 4.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] undo shell