580 CHAPTER 30: PASSWORD CONTROL CONFIGURATION OPERATIONS
Configuring a User Login
Password in Encryption
Mode
Configuring Login
Attempts Limitation and
Failure Processing Mode
When the maximum number of attempts is exceeded, the system operates in one of
the following processing mode:
locktime: In this mode, the system inhibits the user from re-logging in within a
certain time period. After the period, the user is allowed to log into the switch
again. By default, this time is 120 minutes.
lock: In this mode, the system inhibits the user from re-logging in forever. The user
is allowed to log into the switch again only after the administrator removes the
user from the user blacklist.
unlock: In this mode, the system allows the user to log in again.
No inhibition operation is performed for the users who execute the Super command
but fail to log in using the password.
If a user in the blacklist changes his/her IP address, the blacklist will not affect the user
any more when the user logs into the switch.
Table639 Configuring a user login password in encryption mode
Operation Command Description
Enter system view system-view —
Enter the specified user
view
local-user username
Configure a user login
password in encryption
mode
password Optional
Input a password according to
the system prompt and ensure
the two input passwords are
consistent.
Table640 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 | locktime
time } ]
Optional
By default, the maximum
number of attempts is three,
and the switch operates in the
locktime processing mode
when the maximum number of
attempts is exceeded.
View the user information
in the blacklist
display password-control blacklist Optional
You can use the display
command in any view