Accton Technology ES4548D Switch User Manual


 
Setting Community Access Strings
11-3
11
CLI – The following example enables SNMP on the switch.
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 11-2 Configuring SNMP Community Strings
CLI – The following example adds the string “spiderman” with read/write access.
Console(config)#snmp-server 40-2
Console(config)#
Console(config)#snmp-server community spiderman rw
40-3
Console(config)#