no passwords aging enable-password level
•
name—The name of the user (Range: 1-20 characters).
•
level—The user level (Range: 1 -15).
•
days—The number of days before a password expires (Range: 1-365).
· Default Configuration
No password expiration time.
Command Mode
Global Configuration mode
User Guidelines
The password expiration date is calculated from the day the password is defined, and not from
the day aging time is defined.
Ten days before the password expiration date, the user receives a Syslog warning to change the
password within "n" days. These warnings continue until the password expiration date.
After the password expiration date, the user receives three chances to log in and change the
password. If the user still does not change the password, the account is locked.
Example
The following example configures the password expiration time of username "bob" to 120 days.
Console (config)# passwords aging username bob 120
passwords history
The passwords history global configuration command configures the number of required password
changes before a password in the local database can be reused. To remove this requirement,use the
no form of this command.
Syntax
passwords history number
no passwords history
•
number—Indicates the required number of password changes before the password can be
reused. (Range: 1-10)
Default Configuration
No required number of password changes before reusing a password.
67
AAA Commands