< Home

snmp-agent community complexity-check disable

Function

The snmp-agent community complexity-check disable command disables the complexity check of a community name.

The undo snmp-agent community complexity-checkdisable command enables the complexity check of a community name.

Format

snmp-agent community complexity-check disable

undo snmp-agent community complexity-check disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, the complexity check is enabled for a community name.

Usage Scenario

The device has the following requirements for community name complexity:

  • By default, the minimum length of a community name is eight characters. The set password min-length command determines the minimum length of a community name.

  • The community name includes at least two kinds of characters: uppercase letters, lowercase letters, numbers, and special characters (excluding ?) .

Configuration Impact

After the complexity check is enabled, a configured community name should meet the requirement for the complexity. After the complexity check is disabled, complexity of community names is not checked.

Precautions

After the complexity check on a community name is disabled, a device does not check the complexity of the community name. If the configured community name fails to meet the requirement for the complexity, the community name may be easily attacked and cracked down by unauthorized users, affecting the device security. Therefore, enabling the complexity check on a community name is recommended.

Example

# Disable the complexity check for community names.

<sysname> system-view
[sysname] snmp-agent community complexity-check disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >