Specifications
Configuring SNMP
RoamAbout Mobility System Software Configuration Guide 6-3
• notify‐read‐write—AnSNMPmanagementapplicationusingthestringcangetandsetobject
valuesontheswitch.Theswitchcanusethestringtosendnotifications.
Examples
ToclearanSNMPcommunitystring,usethefollowingcommand:
clearsnmpcommunitynamecomm‐string
Thefollowingcommandconfigurescommunitystringswitchmgr1withaccesslevel
notify‐read‐write:
set snmp community name switchmgr1 notify-read-write
success: change accepted.
Creating a USM User for SNMPv3
TocreateaUSMuserforSNMPv3,usethefollowingcommand:
set snmp usm usm-username
snmp-engine-id {ip ip-addr | local | hex hex-string}
access {read-only | read-notify | notify-only | read-write | notify-read-write}
auth-type {none | md5 | sha} {auth-pass-phrase string | auth-key hex-string}
encrypt-type {none | des | 3des | aes} {encrypt-pass-phrase string |
encrypt-key hex-string}
ToclearaUSMuser,usethefollowingcommand:
clearsnmpusmusm‐username
Theusm‐usernamecanbeupto32alphanumericcharacterslong,withnospaces.Youcan
configureupto20SNMPv3users.
Thesnmp‐engine‐idoptionspecifiesauniqueidentifierforaninstanceofanSNMPengine.
To
sendinforms,youmustspecifytheengineIDofthe informreceiver.Tosendtrapsandtoallowget
andsetoperationsandsoon,specifylocalastheengineID.
• hexhex‐string—IDisahexadecimalstring.
• ipip‐addr—IDisbasedontheIPaddressof
thestationrunningthemanagementapplication.
EntertheIPaddressofthestation.MSScalculatestheengineIDbasedontheaddress.
• local—Usesthevaluecomputedfromtheswitch’ssystemIPaddress.
Theaccessoptionspecifiestheaccessleveloftheuser.Theoptionsarethesameasthe
access
optionsforcommunitystrings.(See“ConfiguringCommunityStrings(SNMPv1andSNMPv2c
Only)”onpage 6 ‐2.)Thedefaultisread‐only.
Theauth‐typeoptionspecifiestheauthenticationtypeusedtoauthenticatecommunicationswith
theremoteSNMPengine.Youcanspecifyoneofthefollowing:
• none—Noauthenticationisused.
Thisisthedefault.
• md5—Message‐digestalgorithm 5isused.
• sha—SecureHashingAlgorithm(SHA)isused.
Iftheauthenticationtypeismd5orsha,youcanspecifyapassphraseorahexadecimalkey.
•Tospecifyapassphrase,usetheauth‐pass‐phrasestringoption.Thestringcanbefrom8
to32
alphanumericcharacterslong,withnospaces.