Setting Community Access Strings
You may configure up to five community strings authorized for management access
by clients using SNMP v1 and v2c. All community strings used for IP Trap Managers
should be listed in this table. For security reasons, you should consider removing the
default strings.
Command Attributes
•
SNMP Community Capability
– The switch supports up to five community strings.
• Current – Displays a list of the community strings currently configured.
• Community String – A community string that acts like a password and permits
access to the SNMP protocol.
Default strings: “public” (read-only access), “private” (read/write access)
Range: 1-32 characters, case sensitive
• Access Mode – Specifies the access rights for the community string:
- Read-Only – Authorized management stations are only able to retrieve MIB
objects.
- Read/Write – Authorized management stations are able to both retrieve and
modify MIB objects.
Web
– Click SNMP, Configuration. Add new community strings as required, select
the access rights from the Access Mode drop-down list, then click Add.
Figure 5-2 Configuring SNMP Community Strings
CLI
– The following example adds the string “spiderman” with read/write access.
Setting Community Access Strings
5
Console(config)#snmp-server community spiderman rw
Console(config)#
24-3
5-3