Enabling the Trap Function for MAC Address Change
Context
To learn MAC address change in a timely manner, enable the trap function for MAC address learning or aging.
Procedure
- Run system-view
The system view is displayed.
- (Optional) Run mac-address notification interval interval-time
The interval at which the device checks MAC address learning or aging is set.
By default, the device checks MAC address learning or aging at intervals of 10s.
- Run interface interface-type interface-number
The interface view is displayed.
- Run mac-address notification { aging | learning | all }
The trap function for MAC address learning or aging is enabled.
By default, the trap function for MAC address learning or aging is disabled.