Mac-notification events – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 36
The following example shows enabling SNMP traps for MAC-notification on
Ethernet interface 1/1/5:
device(config)# mac-notification interval 30
device(config)# interface ethernet 1/1/5
device(config-if-e1000-1/1/5)# snmp-server enable traps mac-notification
device(config-if-e1000-1/1/5)# exit
device (config)# system-max mac-notification-buffer 4000
Use the show interfaces ethernet command to check whether a MAC-
notification SNMP trap is enabled or disabled on an interface. You can also use
the show mac-notification command to view other statistics such as the
configured interval, the number of traps sent, and the number of events sent.
MAC-notification events
NOTE
MAC-notifications for LAG should be enabled on the primary port.
When enabled, each MAC address addition or deletion is logged as an event in a buffer-queue. Each
event is 11 bytes long and contains information about the following:
Value
Description
MAC
address
The MAC address added or deleted on the device.
VLAN
The VLAN to which the MAC address is associated. The valid range is 1 to 4094.
Interface
The interface on which the MAC address is added or deleted.
Action
The event that occurred.
The following table lists the various events that can occur, along with the VLAN interface values and
their interpretation for each event:
MAC address notification events and values
TABLE 4
Event
Action
Value
Description
Expected action by
management
software
VLAN and port
values
ADD-MAC
1
This event is generated when a new MAC
address is learnt.
Management software
should add the MAC
address to its
forwarding table.
(VLAN, Port)
REMOVE-MAC
2
This event is generated when the MAC
address ages out.
Management software
should delete the MAC
address from its
forwarding table.
(VLAN, Port)
REMOVE-ALL-
MAC-ON-
SYSTEM
3
This event is generated when all the MAC
addresses on the system are flushed, for
example, by using the clear mac
command.
Management software
should clear all the
MAC addresses from
its forwarding table.
(0, 0)
MAC-notification events
36
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
53-1003086-04