login authentication passwords-dont-reuse

Last Updated : Nov 09, 2021 |
The login authentication passwords-dont-reuse command allows the Security Administrator to ensure that a certain number of previously used passwords are not reused when the user sets the password with the password CLI command. The number of previous password that cannot match the new password can be configured from 1 to 12 or this check can be disabled using the value 0. By default, the value is set to 10 passwords to ensure that the previous passwords are not reused to set a new password.
Note:
The security administrator can always change passwords without restrictions using the username CLI command, independently from the value configured with this command.
Prolog information

Syntax

login authentication passwords-dont-reuse <n-passwords>

Parameters

Parameter
Description
Possible Values
Default Value
n-passwords
Number of previously used passwords that cannot be used when configuring a new password.
0 - 12
10

User Level

admin

Context

general

Example

To ensure the previous 4 passwords are not reused:
Gxxx-001(super)# login authentication passwords-dont-reuse 4