198 Configuring SNMP
NN47250-500 (Version 03.01)

Configuring community strings (SNMPv1 and SNMPv2c only)

To configure a community string for SNMPv1 or SNMPv2c, use the following command:
set snmp community name comm-string
access {read-only | read-notify | notify-only | read-write | notify-read-write}
The comm-string can be up to 32 alphanumeric characters long, with no spaces. You can configure up to 10
community strings.
The access level specifies the read-write privileges of the community string:
read-only—An SNMP management application using the string can get (read) object values on the
switch but cannot set (write) them. This is the default.
read-notify—An SNMP management application using the string can get object values on the switch but
cannot set them. The switch can use the string to send notifications.
notify-only—The switch can use the string to send notifications.
read-write—An SNMP management application using the string can get and set object values on the
switch.
notify-read-write—An SNMP management application using the string can get and set object values on
the switch. The switch can use the string to send notifications.
To clear an SNMP community string, use the following command:
clear snmp community name comm-string
The following command configures community string switchmgr1 with access level notify-read-write:
WSS# set snmp community name switchmgr1 notify-read-write
success: change accepted.