User`s manual
116
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring SNMP
Setting the System Location and Contact Strings
To set the location and contact strings for a switch, use the following commands:
set system location string
set system contact string
Each string can be up to 256 characters long, with no blank spaces.
The following commands set a switch’s location to 3rd_oor_closet and set
the contact to sysadmin1:
DWS-1008 set system location 3rd_oor_closet
success: change accepted.
DWS-1008 set system contact sysadmin1
success: change accepted.
Enabling SNMP Versions
To enable an SNMP protocol, use the following command:
set snmp protocol {v1 | v2c | usm | all} {enable | disable}
The usm option enables SNMPv3. The all option enables all three versions of
SNMP.
The following command enables all SNMP versions:
DWS-1008 set snmp protocol all enable
success: change accepted.