R21xx-HP FlexFabric 11900 Security Command Reference

89
password-control history
Use password-control history to set the maximum number of history password records for each user.
Use undo password-control history to restore the default.
Syntax
password-control history max-record-num
undo password-control history
Default
The maximum number of history password records for each user is 4.
Views
System view
Predefined user roles
network-admin
Parameters
max-record-num: Specifies the maximum number of history password records for each user. The value
range is 2 to 15.
Usage guidelines
When the number of history password records reaches the set maximum number, the subsequent history
record overwrites the earliest one.
The system stops recording passwords after you execute the undo password-control history enable
command, but it does not delete the prior records. To clear these records, use the undo password-control
enable command to disable the password control feature globally or use the reset password-control
history-record command to clear the passwords manually.
Examples
# Set the maximum number of history password records for each user to 10.
<Sysname> system-view
[Sysname] password-control history 10
Related commands
display password-control
password-control history enable
reset password-control blacklist
password-control length
Use password-control length to set the minimum password length.
Use undo password-control length to restore the default.
Syntax
password-control length length
undo password-control length