Specifications
2-261
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
snmp trap mac-notification
snmp trap mac-notification
Use the snmp trap mac-notification interface configuration command to enable the MAC notification
traps on a port. Use the no form of this command to disable the traps and to return the port to default
settings.
snmp trap mac-notification [added | removed]
no snmp trap mac-notification [added | removed]
Syntax Description
Defaults The Simple Network Management Protocol (SNMP) address-addition and address-removal traps are
disabled.
Command Modes Interface configuration
Command History
Usage Guidelines Even though you enable the notification trap for a specific interface by using the snmp trap
mac-notification command, the trap is generated only when you enter the snmp-server enable traps
mac-notification and the mac address-table notification global configuration commands.
Examples This example shows how to enable an address-addition trap on a port:
Switch(config-if)# snmp trap mac-notification added
This example shows how to enable an address-removal trap on a port:
Switch(config-if)# snmp trap mac-notification removed
You can verify your settings by entering the show mac address-table notification privileged EXEC
command.
added (Optional) Enable MAC notification traps when a MAC address is added
to a port.
removed (Optional) Enable MAC notification traps when a MAC address is
removed from a port.
Release Modification
12.1(6)EA2 This command was first introduced.