show snmp notify
5-30 SNMP Configuration
Defaults
Ifport‐stringisnotspecified,thetrapfunctionissetglobally.
Mode
Switchmode,read‐write.
Usage
ThiscommandenablesanddisablessendingSNMPtrapmessageswhenanewsourceMAC
addressisdetectedbyaport.IftheportisaCDPport,however,trapsfornewsourceMAC
addresseswillnotbesent.
Thedefaultmodeisdisabledgloballyandperport.
Example=
ThisexampleenablesthetrapfunctiongloballyandthenonGigabitEthernetports1through5in
slot1.
G3(rw)->set newaddrtrap enable
G3(rw)->set newaddrtrap ge.1.1-5 enable
show snmp notify
UsethiscommandtodisplaytheSNMPnotifyconfiguration,whichdeterminesthemanagement
targetsthatwillreceiveSNMPnotifications.
Syntax
show snmp notify [notify] [volatile | nonvolatile | read-only]
Parameters
Defaults
Ifanotifynameisnotspecified,allentrieswillbedisplayed.
Ifvolatile,nonvolatile,orread‐onlyarenotspecified,allstoragetypeentrieswillbedisplayed.
Mode
Switchcommand,read‐only.
enable|disable EnableordisablethenewMACaddressestrapfunction.Ifentered
withouttheport‐stringparameter, enablesordisablesthefunction
globally.Whenenteredwiththeport‐stringparameter,enablesor
disablesthefunctiononspecificports.
notify (Optional)Displaysnotifyentriesforaspecificnotifyname.
volatile|
nonvolatile|read‐
only
(Optional)Displaysnotifyentriesforaspecificstoragetype.