set snmp targetaddr
SecureStack C2 Configuration Guide 8-27
Parameters
Defaults
Ifnotspecified,udpportwillbesetto162.
Ifnotspecified,maskwillbesetto255.255.255.255
Ifnotspecified,timeoutwillbesetto1500.
Ifnotspecified,numberofretrieswillbesetto3.
Iftaglistisnotspecified,nonewillbeset.
Ifnotspecified,storagetype
willbenonvolatile.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoconfigureatrapnotificationcalled“TrapSink.”Thistrapnotification
willbesenttotheworkstation192.168.190.80(whichistargetaddress“tr”).Itwillusesecurity
andauthorizationcriteriacontainedinatargetparametersentrycalled“v2cExampleParams”.For
moreinformationonconfiguringabasicSNMPtrap,
referto“CreatingaBasicSNMPTrap
Configuration”onpage 8‐37:
C2(su)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
targetaddr SpecifiesauniqueidentifiertoindexthesnmpTargetAddrTable.
Maximumlengthis32bytes.
ipaddr SpecifiestheIPaddressofthetarget.
paramparam SpecifiesanentryintheSNMPtargetparameterstable,whichisused
whengeneratingamessagetothetarget.Maximumlengthis32bytes.
udpportudpport (Optional)SpecifieswhichUDP
portofthetargethosttouse.
maskmask (Optional)SpecifiestheIPmaskofthetarget.
timeouttimeout (Optional)Specif iesthemaximumroundtriptimeallowedto
communicatetothistargetaddress.Thisvalueisin.01secondsandthe
defaultis1500(15seconds.)
retriesretries (Optional)Specifiesthenumberof
messageretriesallowedifaresponseis
notreceived.Defaultis3.
taglisttaglist (Optional)SpecifiesalistofSNMPnotifytagvalues.Thistagsalocation
tothetargetaddressasaplacetosendnotifications.Listmustbeenclosed
inquotesandtagvaluesmustbeseparatedbyaspace
(forexample,
“tag1tag2”).
volatile|
nonvolatile
(Optional)Specifiestemporary(default),orpermanentstorageforSNMP
entries.