login authentication min-password-special-chars

Last Updated : Apr 02, 2020 |

Use the login authentication min-password-special-chars command to set the minimum number of special characters that a password must contain. Special characters are any printable non-alphanumeric characters, except for white characters (blank or tab), and a double quote ("), which is ascii character 34.

Use the no form of the command to return the minimum number to the default value.

Syntax

login authentication min-password-special-chars length

no login authentication min-password-special-chars

Parameters

Parameter

Description

Possible Values

Default Value

length

The minimum number of digit characters in a user password

0–30

0

User Level

admin

Context

general

Example

To set the minimum number of special characters that a password must contain, to 1:

Gxxx-001(super)# login authentication min-password-special-chars 1