mac address-table notification
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(44)EX
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.
Examples
This example shows how to enable the MAC address-table notification feature, set the interval time to
60 seconds, and set the history-size to 100 entries:
Switch(config)# mac address-table notification
Switch(config)# mac address-table notification interval 60
Switch(config)# mac address-table notification history-size 100
Cisco IE 3000 Switch Command Reference
2-192
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.
Chapter 2
IE 3000 Switch Cisco IOS Commands
OL-13019-01