Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
mac address-table notification
Use the mac address-table notification global configuration command to enable the MAC address
notification feature on the switch. Use the no form of this command to return to the default setting.
Syntax Description
history-size value
interval value
Defaults
By default, the MAC address notification feature is disabled.
The default trap interval value is 1 second.
The default number of entries in the history table is 1.
Command Modes
Global configuration
Command History
Release
12.2(25)FX
Usage Guidelines
The MAC address notification feature sends Simple Network Management Protocol (SNMP) traps to the
network management system (NMS) whenever a new MAC address is added or an old address is deleted
from the forwarding tables. MAC notifications are generated only for dynamic and secure MAC
addresses. Events are not generated for self addresses, multicast addresses, or other static addresses.
When you configure the history-size option, the existing MAC address history table is deleted, and a
new table is created.
You enable the MAC address notification feature by using the mac address-table notification
command. You must also enable MAC address notification traps on an interface by using the snmp trap
mac-notification interface configuration command and configure the switch to send MAC address traps
to the NMS by using the snmp-server enable traps mac-notification global configuration command.
OL-8604-03
mac address-table notification [history-size value] | [interval value]
no mac address-table notification [history-size | interval]
(Optional) Configure the maximum number of entries in the MAC
notification history table. The range is 0 to 500 entries.
(Optional) Set the notification trap interval. The switch sends the notification
traps when this amount of time has elapsed. The range is 0 to 2147483647
seconds.
Modification
This command was introduced.
mac address-table notification
Catalyst 2960 Switch Command Reference
2-185