Configuring the password length rule
About this task
Configure the password length rule after you enable enhanced secure mode. By default, the minimum password length is 15.
Before you begin
You must enable enhanced secure mode in either the JITC or non-JITC sub-modes. As a best practice, use the non-JITC sub-mode because the JITC sub-mode is more restrictive and prevents the use of some troubleshooting utilities.
Procedure
Example
Configure the password length rule to 20:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#password min-passwd-len 20 Switch:1(config)#save config
Variable definitions
Use the data in the following table to use the password min-passwd-len command.
Variable |
Value |
---|---|
<8–32> |
Configures the minimum character length required. The default is 15. |