F3215-HP Load Balancing Module Security Command Reference-6PW101
131
Views
System view, user group view, local user view
Default command level
2: System level
Parameters
type-number type-number: Specifies the minimum number of character types that a password must
contain, in the range of 1 to 4.
type-length type-length: Specifies the minimum number of characters from each type that the password
must contain, in the range of 1 to 63.
Usage guidelines
The settings in system view have global significance and apply to all user groups, the settings in user
group view apply to all local users in the user group, and the settings in local user view apply to only the
local user.
A password composition policy with a smaller application range has a higher priority. That is, the system
prefers the settings for a local user. If there is no setting for the local user, the system will use the settings
for the user group. If there is no setting for the user group, the system will use the global settings.
If there is no setting for the super password, the system will use the global settings.
Examples
# Specify that all passwords must each contain at least three types of characters and each type must
contain at least five characters.
<Sysname> system-view
[Sysname] password-control composition type-number 3 type-length 5
# Specify that passwords in user group test must contain at least three types of characters and each type
must contain at least five characters.
[Sysname] user-group test
[Sysname-ugroup-test] password-control composition type-number 3 type-length 5
[Sysname-ugroup-test] quit
# # Specify that the password of local user abc must contain at least three types of characters and each
type must contain at least five characters.
[Sysname] local-user abc
[Sysname-luser-abc] password-control composition type-number 3 type-length 5
Related commands
• display password-control
• local-user
• password-control super composition
• user-group
password-control enable
Use password-control enable to enable the password control feature globally.
Use undo password-control enable to disable the password control feature globally.