pwd-history

This command specifies whether recent passwords can be reused.

Syntax

pwd-history { on | off }

Parameters

on
Indicates that passwords can be reused.
off
Indicates that passwords cannot be reused. This setting is the default value.

Guidelines

When enabled, use the pwd-max-history command to specify the number of 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