load security weak-password-dictionary

Function

The load security weak-password-dictionary command loads a weak password dictionary.

Format

load security weak-password-dictionary filePath

Parameters

Parameter Description Value
filePath

Specifies the name of the weak password dictionary file.

The value is a string of case-sensitive characters including uppercase letters, lowercase letters, digits, and special characters, with spaces not supported. The value length ranges from 1 to 128 (with the suffix name included).

The following special characters are not included:~, ?, *, /, \, :,", |, <, >, [, ]. The value cannot start or end with a dot (.).

The file name extension must be .txt.

The value can also be a path.

Views

User view

Default Level

2: Configuration level

3: Management level

Task Name and Operations

Task Name Operations
aaa execute

Usage Guidelines

Usage Scenario

  • A device supports the pre-configuration of a weak password dictionary. A user-configured password cannot be the same as any password in the weak password dictionary (completely match). A weak password dictionary can be checked only when a new user is added or the user password is changed. Weak password dictionary check is not supported in upgrade scenarios.
  • A weak password dictionary is stored in .txt format. Each weak password is stored in a line. The dictionary file can only be in the .txt format.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Load a weak password dictionary file.
<HUAWEI> load security weak-password-dictionary wkpass.txt
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >