< Home

level (Password policy view)

Function

The level command sets the user password level.

The undo level command restores the default setting.

Format

level { high | low | middle }

undo level { high | low | middle }

Parameters

Parameter Description Value
high Indicates a high level password. A password must be different from the user name and must be a string of 6 to 16 characters, containing any three types of the following characters: digits, uppercase letters, lowercase letters, and special characters. -
low The user password level is low. A password is a string of 1 to 16 characters and can not contain '*' only. -
middle The user password level is medium. A password cannot be the same as the user name and must be a string of 6 to 16 characters, containing any two types of the following characters: digits, uppercase letters, lowercase letters, and special characters. -

Views

Password policy view

Default Level

2: Configuration level

Usage Guidelines

The default user password level is high.

The configured password level takes effect in the following cases:

  • The administrator sets a password for a local user.
  • Local users change their passwords on authentication web pages.
  • The administrator sets users when using the CSV file to import user information.

Example

# Set the user password level to high.

<sysname> system-view
[sysname] password-policy
[sysname-password] level high
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >