The following example sets the password age limit to 100 days.
console(config)#passwords aging 100
As administrator, use the passwords history command in Global
Configuration mode to set the number of previous passwords that are stored
for each user account. When a local user changes his or her password, the user
is not able to reuse any password stored in password history. This setting
ensures that users do not reuse their passwords often. The default is 0. Use
the no form of this command to set the password history to the default value
no passwords history
This command does not require a parameter description.
The default value is 0.
Global Configuration mode
This command has no user guidelines.
The following example sets the number of previous passwords remembered by
the system at 10.
console(config)#passwords history 10
Password Management Commands