F3215-HP Load Balancing Module Security Command Reference-6PW101
130
password-control complexity
Use password-control complexity to configure the password complexity checking policy.
Complexity-incompliant passwords will be refused.
Use undo password-control complexity check to remove a password complexity checking item.
Syntax
password-control complexity { same-character | user-name } check
undo password-control complexity { same-character | user-name } check
Default
No user password complexity checking is performed, and a password can contain the username, the
reverse of the username, or a character repeated three or more times consecutively.
Views
System view
Default command level
2: System level
Parameters
same-character: Refuses a password that contains any character repeated consecutively three or more
times.
user-name: Refuses a password that contains the username or the reverse of the username.
Examples
# Configure the password complexity checking policy, refusing any password that contains the username
or the reverse of the username.
<Sysname> system-view
[Sysname] password-control complexity user-name check
Related commands
display password-control
password-control composition
Use password-control composition to configure the password composition policy.
Use undo password-control composition to restore the default.
Syntax
password-control composition type-number type-number [ type-length type-length ]
undo password-control composition
Default
The global password composition policy is as follows: A password must contain at least one type of
characters from uppercase letters, lowercase letters, digits or special characters (see "password"), and
eac
h type of characters in the password contains at least one character. The password composition
policy of a user group is the same as the global policy, and the password composition policy of a local
user is the same as that of the user group to which the local user belongs. The default composition policy
of a super password is the same as the global policy.