show running-config password-attributes
Displays global password attributes.
Syntax
show running-config password-attributes
[
admin-lockout
]
[
max-lockout-duration
]
[
max-retry
]
[
min-length
]
show running-config password-attributes
character-restriction
[
lower
|
numeric
|
special-char
|
upper
]
Parameters
-
admin-lockout
- Displays lockout for admin role accounts.
-
max-retry
- Displays the number of failed password logins permitted before a user is locked out. Values range from 0 through 16 attempted logins. The default value is 0.
-
min-length
- Displays the minimum length of the password. Valid values range from 8 through 32 characters. The default is 8 characters.
-
max-lockout-duration
- Displays the maximum number of minutes after which the user account is unlocked. Range is from 0 through 99999. The default is 0, representing an infinite duration.
-
character-restriction
- Displays the restriction on various types of characters.
- lower
- Displays the minimum number of lowercase alphabetic characters that must occur in the password. Values range from 0 through 32 characters. The default value is 0.
- numeric
- Displays the minimum number of numeric characters that must occur in the password. Values range from 0 through 32 characters. The default is 0.
- special-char
- Displays the number of punctuation characters that must occur in the password. All printable, nonalphanumeric punctuation characters, except colon (:) are allowed. Values range from 0 through 32 characters. The default value is 0.
- upper
- Displays the minimum number of uppercase alphabetic characters that must occur in the password. Values range from 0 through 32 characters. The default value is 0.
Modes
Privileged EXEC mode
Usage Guidelines
The attributes are not displayed when they hold default values.
Examples
The following example displays all global password attributes.
device# show running-config password-attributes
password-attributes max-retry 4
password-attributes character-restriction upper 1
password-attributes character-restriction lower 2
password-attributes character-restriction numeric 1
password-attributes character-restriction special-char 1
password-attributes max-lockout-duration 5000