aaa authentication minimum-password-length

Syntax

aaa authentication minimum-password-length <LENGTH>

no aaa authentication minimum-password-length

Description

Enables minimum password length checking. Existing passwords shorter than the minimum length are unaffected. Length checking does not apply to ciphertext passwords. Length checking applies both to local and remote authentication.

The no form of this command disables minimum password length checking.

Command context

config

Parameters

<LENGTH>

Specifies the minimum password length. Range: 1 to 32.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling password length checking, with a minimum length of 12.

switch(config)# aaa authentication minimum-password-length 12

Disabling minimum password length checking:

switch(config)# no aaa authentication minimum-password-length