Configure password complexity checks

To configure password complexity checks on a new user password, enter the password complexity command.

Example

In this example, we set the password complexity check to all, which includes repeat-password-check, repeat-char-check, and user-name-check.

switch# password complexity all