Configuring SNMP Access Rights set snmp access
5-20 SNMP Configuration
set snmp access
UsethiscommandtosetanSNMPaccessconfiguration.
Syntax
set snmp access groupname security-model {v1 | v2c | usm} [noauthentication |
authentication | privacy] [context context] [exact | prefix] [read read] [write
write] [notify notify] [volatile | nonvolatile]
Parameters
Defaults
•Ifsecuritylevelisnotspecified,noauthenticationwillbeapplied.
•Ifcontextisnotspecified,accesswillbeenabledforthedefaultcontext.Ifcontextisspecified
withoutacontextmatch,exactmatchwillbeapplied.
•Ifreadviewisnotspecifiednonewillbeapplied.
Context match
Whether or not SNMP context match must be exact (full
context name match) or a partial match with a given prefix.
Storage type Whether access entries for this group are stored in volatile,
nonvolatile or read-only memory.
Row status Status of this entry: active, notInService, or notReady.
Table 5-7 show snmp access Output Details (continued)
Output... What it displays...
groupname SpecifiesanameforanSNMPv3group.
security‐modelv1|
v2c|usm
SpecifiesSNMPversion1,2cor3(usm).
noauthentication|
authentication|
privacy
(Optional)AppliesSNMPsecuritylevelasnoauthentication,
authentication(withoutprivacy)orprivacy.Privacyspecifiesthat
messagessentonbehalfoftheuserareprotected
fromdisclosure.
contextcontextexact|
prefix
(Optional)Setsthecontextforthisaccessconfigurationandspecifies
thatthematchmustbeexact(matchingthewholecontextstring)ora
prefixmatchonly.Contextisasubsetofmanagementinformationthis
SNMPgroupwillbeallowedtoaccess.Validvaluesarefull
orpartial
MIBobjectcontextnamesandrouterforthemoduleoperatinginrouter
mode.Toreviewallcontextsconfiguredforthedevice,usetheshow
snmpcontextcommandasdescribedin“showsnmpcontext”on
page 5‐23.
Note: Beginning with Release 6.0, do not specify the routing module ID as part
of the context. You must specify router for the system designated router mode
module.
readread (Optional)Specifiesareadaccessview.
writewrite (Optional)Specifiesawriteaccessview.
notifynotify (Optional)Specifiesanotifyaccessview.
volatile|nonvolatile
|read‐only
(Optional)StoresassociatedSNMPentriesastemporaryorpermanent,
orread‐only.