snmp-agent local-user password complexity-check disable

Function

The snmp-agent local-user password complexity-check disable command disables a device from checking the complexity of authentication and encryption passwords for local SNMP users.

The undo snmp-agent local-user password complexity-check disable command enables a device to check the complexity of authentication and encryption passwords for local SNMP users.

By default, a device is enabled to check the complexity of authentication and encryption password for local SNMP users.

Format

snmp-agent local-user password complexity-check disable

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

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
snmp write

Usage Guidelines

Usage Scenario

The complexity requirements of authentication and encryption password for local SNMP users are as follows:

  • The minimum length of a password is eight characters.
  • A password contains at least two types of characters: uppercase characters, lowercase characters, digits, and special characters that exclude question marks (?) and spaces.

Configuration Impact

After the complexity check is enabled, a configured community name must meet complexity requirements. After complexity check is disabled, a device does not check the complexity of community names.

Precautions

To improve user information security, enabling a device to check the complexity of authentication and encryption passwords for local SNMP users is recommended.

Example

# Disable a device from checking the complexity of authentication and encryption passwords for local SNMP users.
<HUAWEI> system-view
[~HUAWEI] snmp-agent local-user password complexity-check disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >