User`s manual

117
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring SNMP
Conguring Community Strings (SNMPv1 and SNMPv2c Only)
To congure 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 congure up to 10 community strings.
The access level species 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 notications.
notify-only - The switch can use the string to send notications.
• 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 notications.
To clear an SNMP community string, use the following command:
clear snmp community name comm-string
The following command congures community string switchmgr1 with access level
notify-read-write:
DWS-1008 set snmp community name switchmgr1 notify-read-write
success: change accepted.