set snmp access
SecureStack C2 Configuration Guide 6-17
set snmp access
Useî ±thisî ±commandî ±toî ±setî ±anî ±SNMPî ±accessî ±configuration.î ±
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
Ifî ±securityî ±levelî ±isî ±notî ±specified,î ±noî ±authenticationî ±willî ±beî ±applied.
Ifî ±contextî ±isî ±notî ±specified,î ±accessî ±willî ±beî ±enabledî ±forî ±theî ±defaultî ±context.î ±Ifî ±contextî ±isî ±specifiedî ±
withoutî ±aî ±contextî ±match,î ±exactî ±matchî ±willî ±beî ±applied.
Ifî ±readî ±viewî ±isî ±notî ±specifiedî ±noneî ±willî ±beî ±applied.
Ifî ±writeî ±viewî ±isî ±notî ±
specified,î ±noneî ±willî ±beî ±applied.
Ifî ±notifyî ±viewî ±isî ±notî ±specified,î ±noneî ±willî ±beî ±applied.
Ifî ±storageî ±typeî ±isî ±notî ±specified,î ±entriesî ±willî ±beî ±storedî ±asî ±permanentî ±andî ±willî ±beî ±heldî ±throughî ±deviceî ±
reboot.
Mode
Switchî ±command,î ±readâwrite.
Example
Thisî ±exampleî ±permitsî ±theî ±âpowergroupâî ±toî ±manageî ±allî ±MIBsî ±viaî ±SNMPv3:
C2(su)->set snmp access powergroup security-model usm
groupname Specifiesî ±aî ±nameî ±forî ±anî ±SNMPv3î ±group.
securityâmodelî ±v1î ±|î ±
v2cî ±|î ±usm
Specifiesî ±SNMPî ±versionî ±1,î ±2cî ±orî ±3î ±(usm).
noauthenticationî ±|î ±
authenticationî ±|î ±
privacy
(Optional)î ±Appliesî ±SNMPî ±securityî ±levelî ±asî ±noî ±authentication,î ±
authenticationî ±(withoutî ±privacy)î ±orî ±privacy.î ±Privacyî ±specifiesî ±thatî ±
messagesî ±sentî ±onî ±behalfî ±ofî ±theî ±userî ±areî ±protectedî ±
fromî ±disclosure.
contextî ±contextî ±exactî ±
|î ±prefix
(Optional)î ±Setsî ±theî ±contextî ±forî ±thisî ±accessî ±configurationî ±andî ±specifiesî ±thatî ±
theî ±matchî ±mustî ±beî ±exactî ±(matchingî ±theî ±wholeî ±contextî ±string)î ±orî ±aî ±prefixî ±
matchî ±only.î ±Contextî ±isî ±aî ±subsetî ±ofî ±managementî ±informationî ±thisî ±SNMPî ±
groupî ±willî ±beî ±allowedî ±toî ±access.î ±Validî ±valuesî ±areî ±full
î ±orî ±partialî ±contextî ±
names.î ±Toî ±reviewî ±allî ±contextsî ±configuredî ±forî ±theî ±device,î ±useî ±theî ±showî ±
snmpî ±contextî ±commandî ±asî ±describedî ±inî ±âshowî ±snmpî ±contextâî ±onî ±
page 6â20.
readî ±read (Optional)î ±Specifiesî ±aî ±readî ±accessî ±view.î ±
writeî ±write (Optional)î ±Specifies î ±aî ±writeî ±accessî ±view.
notifyî ±notify (Optional)î ±Specifiesî ±a î ±notifyî ±access î ±view.
volatileî ±
|î ±
nonvolatileî ±|î ±readâ
only
(Optional)î ±Storesî ±associatedî ±SNMPî ±entriesî ±asî ±temporaryî ±orî ±permanent,î ±orî ±
readâonly.î ±