Password Management Commands 969
Default Configuration
The user lockout feature is disabled.
Command Mode
Global Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example sets the number of user attempts before lockout at 2.
console(config)#passwords lock-out 2
passwords min-length
Use the passwords min-length command in Global Configuration mode to configure the 
minimum length required for passwords in the local database. Use the no version of this 
command to disable any minimum password length limitation. If the password length 
requirement is disabled, users can be created with no password. In other words, when you issue 
the no passwords min-length command, the minimum password length is zero.
Syntax
passwords min-length 
length
no passwords min-length
•
length 
 — The minimum length of the password (Range: 8–64 characters)
Default Configuration
By default, the minimum password length is 8 characters.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example sets the minimum password length to 12 characters.
console(config)#passwords min-length 12