< Home

snmp-agent usm-user password complexity-check disable

Function

The snmp-agent usm-user password complexity-check disable command disables the complexity check for SNMPv3 user passwords.

The undo snmp-agent usm-user password complexity-check disable command enables the complexity check for SNMPv3 user passwords.

By default, the complexity check is enabled for SNMPv3 user passwords.

Format

snmp-agent usm-user password complexity-check disable

undo snmp-agent usm-user password complexity-check disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After the complexity check is enabled for SNMPMv3 user passwords, a newly-configured SNMPv3 user password needs to meet the requirements for the complexity check. After complexity check is disabled for SNMPv3 user passwords, the complexity of the passwords is not checked.

The requirements for the complexity of SNMPv3 user passwords are as follows:

  • The password cannot be the same as the user name and cannot be the same as the user name in reverse order.
  • The minimum length of a password is configured by using the set password min-length command. By default, a password contains 8 characters at least.
  • A password includes at least two kinds of characters: uppercase letters, lowercase letters, numbers, and special characters (excluding question marks (?) and spaces).

Precautions

  • After complexity check is disabled for SNMPv3 user passwords, if a configured SNMPv3 user password is simple and does not meet the complexity requirements, the password may be easily attacked and cracked down by unauthorized users, affecting device security. Therefore, enabling the complexity check for SNMPv3 user passwords is recommended.
  • In the configuration restoration stage, complexity check is not performed for SNMPv3 user passwords.
  • Enabling the complexity check for SNMPv3 user passwords does not affect the SNMPv3 user passwords that have been configured.

Example

# Disable the complexity check for SNMPv3 user passwords.

<HUAWEI> system-view
[HUAWEI] snmp-agent usm-user password complexity-check disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic