pwd-max-age

This command specifies the maximum duration of passwords.

Syntax

pwd-max-age days

Parameters

days
Specifies the maximum number of days that a password is valid. Enter a value in the range 1 - 65535. The default value is 300.

Guidelines

If password-aging is enabled with the pwd-aging command, use the pwd-max-age command to specify the maximum shelf-life of a user password.

Example

Require passwords to be changed every 15 days.
# pwd-aging on
# pwd-max-age 15