set snmp access
SecureStack C2 Configuration Guide 6-17
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.
Ifwriteviewisnot
specified,nonewillbeapplied.
Ifnotifyviewisnotspecified,nonewillbeapplied.
Ifstoragetypeisnotspecified,entrieswillbestoredaspermanentandwillbeheldthroughdevice
reboot.
Mode
Switchcommand,read‐write.
Example
Thisexamplepermitsthe“powergroup”tomanageallMIBsviaSNMPv3:
C2(su)->set snmp access powergroup security-model usm
groupname SpecifiesanameforanSNMPv3group.
security‐modelv1|
v2c|usm
SpecifiesSNMPversion1,2cor3(usm).
noauthentication|
authentication|
privacy
(Optional)AppliesSNMPsecuritylevelasnoauthentication,
authentication(withoutprivacy)orprivacy.Privacyspecifiesthat
messagessentonbehalfoftheuserareprotected
fromdisclosure.
contextcontextexact
|prefix
(Optional)Setsthecontextforthisaccessconfigurationandspecifiesthat
thematchmustbeexact(matchingthewholecontextstring)oraprefix
matchonly.ContextisasubsetofmanagementinformationthisSNMP
groupwillbeallowedtoaccess.Validvaluesarefull
orpartialcontext
names.Toreviewallcontextsconfiguredforthedevice,usetheshow
snmpcontextcommandasdescribedin“showsnmpcontext”on
page 6‐20.
readread (Optional)Specifiesareadaccessview.
writewrite (Optional)Specifies awriteaccessview.
notifynotify (Optional)Specifiesa notifyaccess view.
volatile
|
nonvolatile|read‐
only
(Optional)StoresassociatedSNMPentriesastemporaryorpermanent,or
read‐only.