Configuring the Password Complexity Rule
About this task
Use the following procedure to configure the password complexity rule.
The password complexity rule default is to use at least two uppercase, two lowercase, two numeric, and two special character to meet the password criteria.
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 complexity rule to require two uppercase, two lowercase, two numeric and two special characters in each password:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#password password–rule 2 2 2 2 Switch:1(config)#save config
Variable definitions
Use the data in the following table to use the password password-rule command.
Variable |
Value |
---|---|
<1–2> <1–2> <1–2> <1–2> |
Configures the minimum password rule. The first variable defines the number of uppercase characters required. The second <1-2> variable defines the number of lowercase characters required. The third <1-2> variable defines the number of numeric characters required. The fourth <1-2> variable defines the number of special characters required. The default for each of these is 2. |