968 Password Management Commands
passwords history
As administrator, use the passwords history command in Global Configuration mode to set the 
number of previous passwords that are stored. This setting ensures that users do not reuse their 
passwords often. 
Use the no form of this command to disable the password history function.
Syntax
passwords history 
historylength
no passwords history
•
historylength
 — Number of previous passwords to be maintained in the history. (Range: 
0–10.)
Default Configuration
No password history is maintained.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example sets the number of previous passwords remembered by the system at 10.
console(config)#passwords history 10
passwords lock-out
As the administrator, use the passwords lock-out command in Global Configuration mode to 
strengthen the security of the switch by enabling the user lockout feature. When a lockout 
count is configured, a user who is logging in must enter the correct password within that count. 
Otherwise that user will be locked out from further switch access. Only an administrator with an 
access level of 15 can reactivate that user. 
Use the no form of this command to disable the lockout feature.
Syntax
passwords lock-out 
attempts
no passwords lock-out
•
attempts
 — Number of attempts the user is allowed to enter a correct password. (Range: 1-5)