Eliminating Layer 2 Loops
Eliminating Layer 2 Loops
Eliminating Layer 2 Loops
Run the loopback-detect enable command to enable loopback detection on all interfaces; run the loopback-
detect packet vlan vlan-id command to enable loopback detection in a specified VLAN and run the loopback-
detect action action-type command to configure an action taken on an interface where a loop is detected (the
loopback-detect packet vlan vlan-id and loopback-detect action action-type commands need to be configured
on the interfaces where loops need to be detected); Run the display loopback-detect command to check
Check the interface status to determine the position and causes of a loop.
Note: Loopback detection requires that the device should send a large number of detection packets to detect loops,
which occupies system resources. Therefore, disable loopback detection if loops do not need to be detected.
Step 1: Determine the Layer 2 network topology. The complete topology information is the
Step 2: Use the methods that affect services to the minimum degree.
Step 3: Check whether loops are eliminated and services are restored.