Configuration Guide Password-Policy Commands
no password policy min-size
Sets the minimum length of the password, in the range from 1 to 31.
No minimum length of the password is set by default.
This command is used to set the minimum length of the password,
This function is valid for the global password (the enable password and the enable secret
commands) and the local user password (the username
name
password
password
command)
while not valid for the password in line mode.
The following example sets the minimum length of the password to 8.
Ruijie(config)# password policy min-size 8
8.3 password policy no-repeat-times
Use this command to ban the use of passwords used in the past several times. Use the no
form of this command to restore the default setting.
password policy no-repeat-times times
no password policy no-repeat-times
The past several times when passwords are configured, in the
range from 1 to 31.
This function is disabled by default.
Global configuration mode
After this function is enabled, passwords used in the past several times are recorded. If the