Preventing MAC Address Flapping Between Interfaces with the Same Priority
Context
You can configure the device to prevent MAC address flapping between interfaces with the same priority to improve network security.
The switches are configured to prevent MAC address flapping between interfaces with the same priority. After a device (such as the server) connected to switches power off, another interface on switches learns the same MAC address as the device. The device cannot learn the correct MAC address after it powers on.
Procedure
- Run system-view
The system view is displayed.
- Run undo mac-address learning priority priority-id allow-flapping
The device is configured to prevent MAC address flapping between interfaces with the same priority.
By default, the device allows MAC address flapping between interfaces with the same priority.
- Run commit
The configuration is committed.