Specifications
2-799
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
snmp trap mac-n otification change
snmp trap mac-no tification change
To enable SNMP MAC address notifications, use the snmp trap mac-notification command. To return
to the default setting, use the no form of this command.
snmp trap ma c-not ificatio n cha nge {added | removed}
no snmp trap mac-notification change {added | removed}
Syntax Description
Defaults MAC address additio n and r emoval are disable d.
Command Modes Interface configur ation mode
Usage Guidelines Even though you enable the change notification trap for a specific interface by using the sn mp trap
mac-notifi cat ion chang e command, the trap is generated only when you enable the snmp-server enable
traps mac-notification chan ge and the mac add ress- ta ble notifi cat ion cha nge g lobal conf iguration
command s.
Examples This example shows how to enable the MAC notification trap when a MAC address is added to a port:
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# snmp trap mac-notification change added
You can verify your settings by entering the show mac address-table notification change interface
privileged EXEC command.
Related Commands
added Specifies enabling the MAC address notification trap whenever a MAC
address is added to an interface.
removed Specifies enabling the MAC address notification trap whenever a MAC
address is removed from an interface.
Command Description
clear mac-address-table Clears the address entries from the Layer 2 MAC address
table.
mac-addr ess-t able n otif icati on Enables MAC address notification on a switch.
show mac- addre ss-t able no tifica tion Displays the MAC address table n otification status and
history.
snmp-server enable traps Enables SNMP notifications.