The mac-address trap notification command enables the trap function for MAC address learning or aging.
The undo mac-address trap notification command disables the trap function for MAC address learning or aging.
By default, the trap function for MAC address learning or aging is disabled.
Parameter |
Description |
Value |
---|---|---|
aging |
Enables the trap function for MAC address aging. |
- |
learn |
Enables the trap function for MAC address learning. |
- |
all |
Enables the trap function for MAC address learning and aging. |
- |
Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, port group view, 25GE interface view
Usage Scenario
To learn MAC address change in a timely manner, run the mac-address trap notification command to enable the trap function for MAC address learning or aging.
Precautions
When you run the mac-address trap notification command multiple times, only the latest configuration takes effect.
The trap function for MAC address learning or aging is not supported for the MAC address entries in a VSI.