Table 70-5
Manually remove history password records
Operation
Command
Description
Remove history
password records
of one or all users
reset
password-control
history-record
[
user-name
user-name
]
Executing this command without the
user-name
user-name
option removes the history password
records of all users.
Executing this command with the
user-name
user-name
option removes the history password
records of the specified user.
Remove history
records of one or all
super passwords
reset
password-control
history-record super
[
level
level-value
]
Executing this command without the
level
level-value
option removes the history records of all
super passwords.
Executing this command with the
level
level-value
option removes the history records of the super
password for the users at the specified level.
Configuring a User Login Password in Interactive Mode
A password can be a combination of characters from the following four types: letters A to Z, a to z,
numbers 0 to 9, and 32 special characters (including the space and ~ ` ! @ # $ % ^ & * ( ) _ + - = { } | [ ]
\ : ” ; ’ < > , . / ).
The password must conform to the related configuration of password control when you set the local
user password in interactive mode.
Table 70-6
Configure a user login password in interactive mode
Operation
Command
Description
Enter system view
system-view
—
Enter the specified user view
l
ocal-user user-name
—
Configure a user login password
in interactive mode
password
Optional
Input a password according to the
system prompt and ensure the two
input passwords are consistent.
Configuring Login Attempt Times Limitation and Failure Processing Mode
Table 70-7
Configure the login attempts limitation and the failure processing mode
Operation
Command
Description
Enter system view
system-view
—
Enable the login attempts
limitation, configure the maximum
number of attempts and configure
the processing mode used when
the maximum number of attempts
is exceeded.
password-control
login-attempt
login-times
[
exceed
{
lock
|
unlock
|
lock-time
time
} ]
Optional
By default, the maximum number of
attempts is three, and the switch
operates in the lock-time processing
mode when the maximum number of
attempts is exceeded.
When the maximum number of attempts is exceeded, the system operates in one of the following
processing mode: