![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/13/913595a3-acbb-41ef-943e-565cce3e64fc/913595a3-acbb-41ef-943e-565cce3e64fc-bg47a.png)
1146 Password Management Commands
passwords aging
Use the passwords aging command in Global Configuration mode to
implement expiration date on the passwords. The user is required to change
the passwords when they expire.
Use the no form of this command to disable the aging function.
Syntax
passwords aging
age
no passwords aging
•
age
— Time for the expiration of the password. (Range: 1-365 days)
Default Configuration
Password aging is disabled.
Command Mode
Global Configuration mode
User Guidelines
The passwords aging feature functions only if the switch clock is synchronized
to an SNTP server. See “Clock Commands” on page 1083 for additional
information.
Example
The following example sets the password age limit to 100 days.
console(config)#passwords aging 100
passwords history
As administrator, use the passwords history command in Global
Configuration mode to set the number of previous passwords that are stored.
This setting ensures that users do not reuse their passwords often.
Use the no form of this command to disable the password history function.