Configuration Guide Configuring Password Policy
password history records of a user is greater than the maximum number configured for the user, the new
password history record will overwrite the user's oldest password history record.
Enabling the Strong Password Detection Function
Global configuration mode
After the strong password detection function is enabled, a prompt is displayed for the following types of
passwords:
4. Passwords that are the same as corresponding accounts;
5. Simple passwords that contain characters or digits only.
Setting the Storage of Encrypted Passwords
service password-encryption
Global configuration mode
Before the storage of encrypted passwords is set, all passwords used in the configuration process will be
displayed and stored in plaintext format, unless the passwords are configured in cipher text format. You can
enable the storage of encrypted passwords for security consideration. When you run the show
running-config command to display configuration or run the write command to save configuration files,
various user-set passwords are displayed in the cipher text format. If you disable the storage of encrypted
passwords next time, the passwords already in cipher text format will not be restored to plaintext passwords.
Checking User-Configured Password Security Policy Information
Privileged EXEC mode/ Global configuration mode/ Interface configuration mode
Use this command to display the password security policy configured on the device.