login authentication min-password-length

Last Updated : Nov 09, 2021 |

Use the login authentication min-password-length command to set the minimum password length during configuration of local users accounts. Use the no form of the command to return the minimum password length to the default value of 14.

Note:

The minimum password length must be at least as great as the sum of the min-password-upper-chars, min-password-lower-chars, min-password-digit-chars, and min-password-special-chars.

Syntax

login authentication min-password-length length

no login authentication min-password-length

Parameters

Parameter

Description

Possible Values

Default Value

length

The minimum length of a user password

8-31

14

User Level

admin

Context

general

Example

To set the minimum password length to 10 characters:

Gxxx-001(super)# login authentication min-password-length 10