pwd-max-history
This command specifies the number of passwords to retain.
Syntax
pwd-max-history count
Parameters
- count
- Specifies the number of passwords to retain. Enter a value in the range 1 - 65535. The default value is 5.
Guidelines
If password reuse is enabled with the pwd-history command, use the pwd-max-history command to specify the number of recent passwords to retain. Passwords that are retained are not eligible for reuse.
Example
Indicate that the three most recent passwords cannot be reused.
# pwd-history on
# pwd-max-history 3