Configuring loop detection, Overview, Loop detection mechanism – H3C Technologies H3C S5560 Series Switches User Manual
Page 146
112
Configuring loop detection
Overview
Incorrect network connections or configurations can create Layer 2 loops, which results in repeated
transmission of broadcasts, multicasts, or unknown unicasts. The repeated transmission can waste
network resources and can sometimes paralyze networks. The loop detection mechanism immediately
generates a log when a loop occurs so that you are promptly notified to adjust network connections and
configurations. You can configure loop detection to shut down the looped port. Logs are maintained in
the information center. For more information, see Network Management and Monitoring Configuration
Guide.
Loop detection mechanism
The device detects loops by sending detection frames and then checking whether these frames return to
any port on the device. If they do, the device considers that the port is on a looped link.
Loop detection usually works within a VLAN. If a detection frame is returned with a VLAN tag different
from the one it was sent out with, an inter-VLAN loop has occurred. To remove the loop, examine the
QinQ configuration for incorrect settings. For more information about QinQ, see "Configuring QinQ.".
Figure 35 Ethernet frame header for loop detection
The Ethernet frame header for loop detection contains the following fields:
•
DMAC—Destination MAC address of the frame, which is the multicast MAC address
010F-E200-0007. When a loop detection-enabled device receives a frame with this destination
MAC address, it sends the frame to the CPU and floods the frame in the VLAN from which the frame
was originally received.
•
SMAC—Source MAC address of the frame, which is the bridge MAC address of the sending
device.
•
TPID—Type of the VLAN tag, with the value of 0x8100.
•
TCI—Information of the VLAN tag, including the priority and VLAN ID.
•
Type—Protocol type, with the value of 0x8918.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module