Specifications

set newaddrtrap
7-30 SNMP Configuration
ge.1.1 disabled
ge.1.2 disabled
ge.1.3 disabled
ge.1.4 disabled
ge.1.5 disabled
set newaddrtrap
UsethiscommandtoenableordisableSNMPtrap messaging,globallyorononeormoreports,
whennewsourceMACaddressesaredetected.
Syntax
set newaddrtrap [port-string] {enable | disable}
Parameters
Defaults
Ifportstringisnotspecified,thetrapfunctionissetglobally.
Mode
Switchmode,readwrite.
Usage
ThiscommandenablesanddisablessendingSNMPtrapmessageswhenanewsourceMAC
addressisdetectedbyaport.IftheportisaCDPport,however,trapsfornewsourceMAC
addresseswillnotbesent.
Thedefaultmodeisdisabledgloballyandperport.
Example=
ThisexampleenablesthetrapfunctiongloballyandthenonGigabitEthernetports1through5in
slot1.
D2(rw)->set newaddrtrap enable
D2(rw)->set newaddrtrap ge.1.1-5 enable
show snmp notify
UsethiscommandtodisplaytheSNMPnotifyconfiguration,whichdeterminesthemanagement
targetsthatwillreceiveSNMPnotifications.
Syntax
show snmp notify [notify] [volatile | nonvolatile | read-only]
portstring (Optional)EnableordisablethenewMACaddressestrapfunctionon
specificports.
enable|disable EnableordisablethenewMACaddressestrapfunction.Ifentered
withouttheportstringparameter, enablesordisablesthefunction
globally.Whenenteredwiththeportstringparameter,enablesor
disablesthefunction
onspecificports.