password complexity

Syntax

[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.

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.

Options

no

Disables the configuration.

Restrictions

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