Specifications

Configuring SNMP
March 28, 2011 Page 13 of 27
ThefollowingexampleisanEnterasysNSeriesdeviceconfigurationusingthestepsin
Procedure 2.Itshowshowto
CreatetheuserEnterasys_user,specifyingauthentication,encryption,andsecurity
credentials.
AssignEnterasys_usertotheEnterasysgroupandassociateittotheSNMPv3securitymodel,
usm.
•Specifythat,ifSNMPmessagesare
receivedwithauthenticationandencryption,theview,
readViewforreadrequests,andtheviewwriteViewforwriterequestswillbeappliedtothis
usergroupbasedontheUSMsecuritymodel.
•FortheviewwriteView,includetheMIBsubtreedenotedwithOID1,andexcludethesubtree
denotedbyOID
1.3.6.1.4.1.5624.1.2.16.
AssignanSNMPv3targetparametersentrynamedenterasysntotheEnterasys_userusing
theUSMsecuri tymodel.
CreateatargetaddressentrynamedEnterasys_NetworksatIPaddress172.29.10.1whichwill
usesecurityandauthorizationcriteriacontainedinatargetparametersentrycalled
enterasysn,andbindtheseparameterstogetherwitha
tagentrycalledv3TrapTag.
enterasys(su)-> set snmp user Enterasys_user authentication md5 my_authentication
privacy my_privacy
enterasys(su)-> set snmp group Enterasys user Enterasys_user security-model usm
enterasys(su)-> set snmp access Enterasys security-model usm privacy read readView
write writeView
enterasys(su)-> set snmp view viewname readView subtree 1
enterasys(su)-> set snmp view viewname writeView subtree 1
enterasys(su)-> set snmp view viewname writeView subtree 1.3.6.1.4.1.5624.1.2.16
excluded
enterasys(su)-> set snmp targetparams enterasysn user Enterasys_user
security-model usm message-processing v3
6. Set the SNMP target address for notification
message generation.
If not specified, udpport will be set to 162.
If not specified, mask will be set to
255.255.255.255.
If not specified, timeout will be set to 1500 (15
seconds).
If not specified, number of retries will be set
to 3.
•If taglist is not specified, none will be set.
If not specified, storage type will be
nonvolatile.
set snmp targetaddr targetaddr
ipaddr param param [udpport udpport]
[mask mask] [timeout timeout]
[retries retries] [taglist taglist]
[volatile | nonvolatile]
7. Set SNMP notification parameters.
If not specified, message type will be set to
trap.
If not specified, storage type will be set to
nonvolatile.
set snmp notify notify tag tag [trap
| inform] [volatile | nonvolatile]
Procedure 2 SNMPv3 Configuration (continued)
Step Task Command(s)