password-control history

Syntax

password-control history max-record-num

undo password-control history

View

System view

Default level

2: System level

Parameters

max-record-num: Specifies the maximum number of history password records for each user, in the range of 2 to 15.

Description

Use password-control history to set the maximum number of history password records for each user.

Use undo password-control history to restore the default.

By default, the maximum number of history password records for each user is 4.

When the number of history passwords recorded for a user reaches the maximum, the new history password record of the user overwrites the oldest one.

Examples

# Set the maximum number of history password records for each user to 10.

<Sysname> system-view
[Sysname] password-control history 10