password complexity

Syntax

password complexity [repeat-password-check | 
           repeat-char-check | 
           user-name-check| 
           all]

no password complexity [repeat-password-check | 
           repeat-char-check | 
           user-name-check| 
           all]

Description

The password complexity command configures complexity checks on a new user password. You can enable the Password Complexity feature only if the password control is enabled. Use the password configuration-control command to enable it. The no form of this command disables the configuration.

Parameters

repeat-password-check 

Configures the repeat password character check.

repeat-char-check

Ensures that password does not contain three of the same characters used consecutively.

user-name-check

Ensures that the password does not contain the associated username or its reverse form.

Restrictions

The password control must be enabled. Use the password configuration-control command to enable it.