SNMP
The SNMP page contains links to the following pages:
Communities
l
Traps
l
IP Filtering
l
Communities
On the Communities page, you can create different communities and customize access. The public string has read-only privileges by default.
The following options are available:
SNMP Community Capability — Indicates that the switch supports up to five community strings.
l
Community List — Displays a list of the community strings currently configured. Default strings are public (read-only access) and private (read/write
l
access).
Community String — Allows you to name a new community. Community strings are case sensitive.
l
Access Mode — Sets the access rights for the new community that you are creating. Access rights are either read-only or read/write.
l
To add an SNMP community, type the new name in the Community String box, select the access rights from the Access Mode drop-down menu, and then click
Add Community String. To delete a community, click the entry in the Community List, and then click Remove Community String.
CLI Commands
The following table summarizes the equivalent CLI command for items in the SNMP/Communities page.
Command
Usage
snmp-server community string
Defines the community access string for the Simple Network Management Protocol. Read-only access is specified by ro, and
[ro|rw]
read-write access is specified by rw.
Example
Console(config)#snmp-server community private rw