Configuration Guide Configuring Password Policy
13.3.1.4 Verification
Configure a local user on the device, and configure a valid password and an invalid password for the user.
When you configure the valid password, the device correctly adds the password.
When you configure the invalid password, the device displays a corresponding error log.
13.3.1.5 Corresponding
Configuring the Password Life Cycle
password policy life-cycle days
life-cycle days: Indicates the password life cycle in the unit of days. The value range is from 1 to 65535.
Global configuration mode
The password life cycle is used to define the validity period of user passwords. If the user logs in with a
password whose service time already exceeds the life cycle, a prompt is given, asking the user to change
the password.
Configuring the Minimum Length of User Passwords
password policy min-size length
min-size length: Indicates the minimum length of passwords. The value range is from 1 to 31.
Global configuration mode
This command is used to configure the minimum length of passwords. If the minimum length of passwords is
not configured, users can input a password of any length.
Setting the No-Repeat Times of Latest Password Configuration
password policy no-repeat-times times
no-repeat-times times: Indicates the no-repeat times of latest password configuration. The value range is
from 1 to 31.
Global configuration mode
After this function is enabled, all old passwords used in the several times of latest password configuration
will be recorded as the user's password history records. If the new password input by the user has been
used previously, the system gives an error prompt and the password modification fails.
You can configure the maximum number of password history records per user. When the number of