2-438
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 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.
Related Commands
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 introduced.
Command Description
clear mac address-table notification Clears the MAC address notification global counters.
mac address-table notification Enables the MAC notification feature on a switch.
show mac address-table notification Displays MAC notification parameters.
snmp-server enable traps Enables SNMP notification for various trap types.