Specifications

Configuring SNMP
6-2 Configuring SNMP
Setting the System Location and Contact Strings
Tosetthelocationandcontactstringsforaswitch,usethefollowingcommands:
set system location string
set system contact string
Eachstringcanbeupto256 characterslong,withnoblankspaces.
Examples
Thefollowingcommandsset aRoamAboutSwitch’slocationto3rd_floor_closetandsetthecontact
tosysadmin1:
set system location 3rd_floor_closet
success: change accepted.
set system contact sysadmin1
success: change accepted.
Enabling SNMP Versions
ToenableanSNMPprotocol,usethefollowingcommand:
set snmp protocol {v1 | v2c | usm | all} {enable | disable}
TheusmoptionenablesSNMPv3.ThealloptionenablesallthreeversionsofSNMP.
Example
ThefollowingcommandenablesallSNMPversions:
set snmp protocol all enable
success: change accepted.
Configuring Community Strings (SNMPv1 and SNMPv2c Only)
ToconfigureacommunitystringforSNMPv1orSNMPv2c,usethefollowingcommand:
set snmp community name comm-string
access {read-only | read-notify | notify-only | read-write | notify-read-write}
Thecommstringcanbeupto32alphanumericcharacterslong,withnospaces.Youcanconfigure
upto10communitystrings.
Theaccesslevelspecifiesthereadwriteprivilegesofthecommunitystring:
readonly—AnSNMPmanagementapplicationusingthestringcanget(read)objectvalues
ontheswitch
butcannotset(write)them.Thisisthedefault.
readnotify—AnSNMPmanagementapplicationusingthestringcangetobjectvaluesonthe
switchbutcannotsetthem.Theswitchcanusethestringtosendnotifications.
notifyonly—Theswitchcanusethestringtosendnotifications.
read
write—AnSNMPmanagementapplicationusingthestringcangetandsetobjectvalues
ontheswitch.