11
# Set the authentication mode for the user privilege level switch to
scheme local
.
<Sysname> system-view
[Sysname] super authentication-mode scheme local
super password
Syntax
super password
[
level
user-level
] {
simple
|
cipher
}
password
undo super password
[
level
user-level
]
View
System view
Default level
2: System level
Parameters
level
user-level
: User privilege level, in the range of 1 to 3. The default value is 3.
simple
: Sets a password in plain text, and the password is displayed in plain text.
cipher
: Sets a password in cipher text, and the password is displayed in cipher text.
password
: Password, a case-sensitive string of characters.
•
A simple password is a string of 1 to 16 characters.
•
A cipher password is a string of 1 to 16 characters in plain text or 24 characters in cipher text. For
example, the simple text “1234567” corresponds to the cipher text
“(TT8F]Y\5SQ=^Q`MAF4<1!!”.
Description
Use the
super password
command to set the password used to switch from the current user privilege level
to a higher one.
Use the
undo super password
command to restore the default.
By default, no password is set for switching to a higher privilege level.
•
A cipher-text password is recommended because a simple-text password easily gets cracked.
•
During authentication, you must input a simple-text password regardless of the password type you
set.
Examples
# Set simple-text password
abc
for switching to user privilege level
3
.
<Sysname> system-view
[Sysname] super password level 3 simple abc
# Display the configured password for level switching.
[Sysname] display current-configuration
#
super password level 3 simple abc
# Set cipher-text password
abc
for switching to user privilege level
3
.
<Sysname> system-view
[Sysname] super password level 3 cipher abc