A SERVICE OF

logo

clear snmp targetaddr
D-Series CLI Reference 5-27
Defaults
Ifnotspecified,udpportwillbesetto162.
Ifnotspecified,maskwillbesetto255.255.255.255
Ifnotspecified,timeoutwillbesetto1500.
Ifnotspecified,numberofretrieswillbesetto3.
Iftaglistisnotspecified,nonewillbeset.
Ifnotspecified,storagetype
willbenonvolatile.
Mode
Switchcommand,readwrite.
Example
ThisexampleshowshowtoconfigureatrapnotificationcalledTrapSink.”Thistrapnotification
willbesenttotheworkstation192.168.190.80(whichistargetaddress“tr”).Itwillusesecurityand
authorizationcriteriacontainedinatargetparametersentrycalled“v2cExampleParams”.For
moreinformationonconfiguringabasicSNMPtrap,
refertoCreatingaBasicSNMPTrap
Configurationonpage 537:
D2(su)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
clear snmp targetaddr
UsethiscommandtodeleteanSNMPtargetaddressentry.
Syntax
clear snmp targetaddr targetAddr
ipaddr SpecifiestheIPaddressofthetarget.
paramparam SpecifiesanentryintheSNMPtargetparameterstable,whichisused
whengeneratingamessagetothetarget.Maximumlengthis32bytes.
udpportudpport (Optional)SpecifieswhichUDPportofthetargethosttouse.
maskmask (Optional)SpecifiestheIPmask
ofthetarget.
timeouttimeout (Optional)Specifiesthemaximumroundtriptimeallowedto
communicatetothistargetaddress.Thisvalueisin.01secondsandthe
defaultis1500(15seconds.)
retriesretries (Optional)Specifiesthenumberofmessageretriesallowedifaresponseis
notreceived.Defaultis3.
taglisttaglist
(Optional)SpecifiesalistofSNMPnotifytagvalues.Thistagsalocation
tothetargetaddressasaplacetosendnotifications.Listmustbeenclosed
inquotesandtagvaluesmust beseparatedbyaspace(forexample,
“tag1tag2”).
volatile|
nonvolatile
(Optional)Specifiestemporary(default),
orpermanentstorageforSNMP
entries.