2-517
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-01
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
snmp trap mac-notification
snmp trap mac-notification
Use the snmp trap mac-notification interface configuration command to enable the Simple Network
Management Protocol (SNMP) MAC address notification trap on a specific Layer 2 interface. Use the
no form of this command to return to the default setting.
snmp trap mac-notification {added | removed}
no snmp trap mac-notification {added | removed}
Syntax Description
Defaults By default, the traps for both address addition and address removal 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 enable the snmp-server enable traps
mac-notification and the mac address-table notification global configuration commands.
Examples This example shows how to enable the MAC notification trap when a MAC address is added to an
interface:
Switch(config)# interface fastethernet0/4
Switch(config-if)# snmp trap mac-notification added
You can verify your settings by entering the show mac address-table notification interface privileged
EXEC command.
Related Commands
added Enable the MAC notification trap whenever a MAC address is added on this
interface.
removed Enable the MAC notification trap whenever a MAC address is removed from this
interface.
Release Modification
12.1(8)EA1 This command was introduced.
Command Description
clear mac address-table notification Clears the MAC address notification global counters.
mac address-table notification Enables the MAC address notification feature.