What are the requirements for the length of SNMP community names on CE switches

By default, a switch checks the complexity of community names. A community name required by CE switches is a string of 8 to 32 characters and meets the following conditions:

1. The community name must be a combination of at least two of uppercase letters (A to Z), lowercase letters (a to z), digits, and special characters (excluding question masks and spaces).
2. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

If the complexity check of a community name is disabled using the snmp-agent community complexity-check disable command, the community name can contain 1 to 32 characters. To ensure the security of SNMP community names, you are advised to enable the complexity check of a community name.

Scroll to top