44
Default command level
3: Manage level
Parameters
hash
: Uses a hash algorithm to encrypt the password. This keyword is supported only in R1808P12 or
later.
cipher
: Sets a ciphertext 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 you specify the
hash
keyword, the ciphertext password can be a string
of 1 to 110 characters. If you do not specify the
hash
keyword, the ciphertext password can be a string
of 1 to 53 characters
.
.
Usage guidelines
This command is not supported in FIPS mode.
For security purposes, the password is saved in cipher text, even if configured in plain text.
Examples
# Set the password for user interface AUX 0 to
hello
.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] authentication-mode password
[Sysname-ui-aux0] set authentication password simple hello
Related commands
authentication-mode
shell
Use
shell
to enable the terminal service for user interfaces.
Use
undo shell
to disable the terminal service for user interfaces.
Syntax
shell
undo shell
Default
Terminal service is enabled on all user interfaces.
Views
User interface view
Default command level
3: Manage level
Usage guidelines
The AUX user interface does not support the
undo shell
command.
You cannot disable the terminal service on the user interface you are using.
Examples