snmp-server Commands
1-30 Network Management
Syntax of the “no” Form
Usethenoformofthiscommandtoremoveauser:
nosnmp-server user username groupname {v1 | v2c | v3}
Mode
Globalconfiguration:XSR(config)#
Example
Theexamplebelowconfiguresljcofthev3authgrpSNMPgroupwithstrongv3levelsecurity,MD5
authentication,andthepasswordacorntree:
XSR(config)#snmp-server user ljc v3 auth v3authgrp md5 acorntree

snmp-server view

Thiscommandcreatesorupdatesaviewentry.TheXSRprovidesonedefaultviewwhichisused
forallcommunitycommandswhichdonotspecifyaviewparameter.Thev1defaultviewincludes
theinternettreeandexcludessnmpUsmMIBandsnmpVacmMIB.Youcanremovethisviewwith
theno snmp-server v1default command.
Syntax
snmp-server view view-name {oid-tree | treeEntryName} {included | excluded}
Syntax of the “no” Form
Usethenoformofthiscommandtoremoveaviewentry:
no snmp-server view view-name
sha HMACSHAalgorithmusedforauthentication.
auth-password Theusersauthenticationpassword.Atleast8charactersisrequired.
priv Specifiestheprivacysetting.
des56 CBCDESprivacyencryptionalgorithm.
priv-password Privacypasswordfortheuser.Aminimumof8charactersisrequired.
access Specifiesanaccesslistassociatedtothisuser.
access-list StandardIPaccesslistallowingaccesstothisuser.
view-name Labelfortheviewrecordthatyouupdate/create.
oid-tree Objectidentifierofthesubtreetobeincluded/excludedfromtheview.
ThisparametercanbeeitheranumericOIDorawellknownMIBname
listedinTable 12onpage 131,oraMIBnamefollowedbyanumeric
OID(i.e.,system.6forsysLocation).Namesarecasesensitive.
treeEntryName NameofthesubtreeequivalenttotheobjectOIDtree.
included ThisviewincludesthespecifiedOIDtree.
excluded ThisviewexcludesthespecifiedOIDtree.