You can configure blocking priorities for interfaces so that a specific interface is preferentially blocked when a loop is detected.
Blocking interfaces based on their blocking priorities
The blocking priority of an interface can be configured. When detecting a loop, a device blocks the interface with a lower blocking priority.
Blocking interfaces based on their trusted or untrusted states (accurate blocking)
If a dynamic MAC address entry remains the same in the MAC address table within a specified period and is not deleted, the outbound interface in the MAC address entry is trusted. When detecting a loop, a device blocks an interface that is not trusted.
Configure a blocking priority for a PE's interface.
The system view is displayed.
The Ethernet interface view is displayed. The interface must be a VLAN's interface that has MAC flapping-based loop detection configured.
A blocking priority is configured for the VLAN's interface.
The configuration is committed.