No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the SNMP Community Names

Configuring the SNMP Community Names

Three SNMP versions are available: v1, v2c, and v3. SNMPv1 and SNMPv2c support community names, but SNMPv3 does not support.

By default, the system checks the community name complexity. The community name that fails the check is not allowed. The community name must meet the following requirements:
  • Contains at least eight characters.
  • Contains at least two types of the following: uppercase letters A to Z, lowercase letters a to z, digits, and special characters (excluding question marks and spaces). If the string is enclosed in double quotation marks (" "), the string can contain spaces.

The snmp-agent community complexity-check disable command disables the complexity check on community names. However, to ensure the security of SNMP community names, you are not advised to disable this function.

# Set the read community name for SNMPv2c to Public123 and the write community name to Private123.
<HUAWEI> system-view
[~HUAWEI] snmp-agent community read Public123
[*HUAWEI] snmp-agent community write Private123
[*HUAWEI] commit
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 196366

Downloads: 3214

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next