EVPN Packet Forwarding With ESI Label Loop Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing EVPN technologies face issues with looping in the same Ethernet segment (ES) due to redundant links, which cause broadcast storms and are not adequately addressed by existing non-designated forwarder (DF) filtering rules.
Innovation Solution
Introduce an Ethernet Segment Identifier (ESI) label into VXLAN EVPN messages, allowing for the reading and discarding of messages if the egress port matches the port corresponding to the ESI label, thereby implementing split horizon to prevent looping.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If redundant links are introduced into multi-homing access mode to increase reliability, then network reliability is improved, but loops are formed in the network causing broadcast storms
Solution Approach 1:
The patent utilizes the loop condition itself as a detection mechanism. By having non-DF devices forward BUM messages with ESI labels, the system converts the potentially harmful loop into a useful detection opportunity. When a message returns to its source device with matching ESI label, the loop is detected and suppressed, transforming the harmful broadcast storm condition into a beneficial loop detection and prevention mechanism.
Solution Approach 2:
The ESI label acts as an intermediary element that enables loop detection. The label is inserted into BUM messages by non-DF devices and serves as a marker to track message paths. This intermediary mechanism allows devices to identify when a message has traversed a loop without requiring complex routing protocols or additional control plane signaling.
2Reliability
If non-DF filtering rules are applied to prevent repeated packet forwarding, then repeated packet filtering is improved, but looping in the same ES cannot be addressed
Solution Approach 1:
The patent segments the loop prevention function into two parts: DF filtering for repeated packet prevention, and ESI label-based filtering for intra-ES loop prevention. This segmentation allows each mechanism to specialize in its specific function without interfering with the other, enabling both types of loop prevention to work simultaneously and independently.
Solution Approach 2:
The patent adds a new dimension to loop detection by introducing ESI labels into the data plane. Instead of relying solely on control plane mechanisms or device-level filtering, the solution embeds loop detection information directly in the message headers, creating a new dimension of loop prevention that operates at the packet level across the entire network.
3Reliability
If ESI label is introduced into VXLAN EVPN messages for loop prevention, then looping is prevented, but message processing complexity increases
Solution Approach 1:
The patent merges the ESI label processing function into the existing VXLAN EVPN message forwarding path. The ESI label is added to the message header in the same processing stage where VXLAN encapsulation occurs, and the matching operation is integrated with the existing forwarding decision logic. This merging approach allows loop prevention to be implemented without creating separate processing pipelines or additional message handling paths.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Disclosed by the present application are an EVPN packet forwarding method, device, storage medium, and terminal, said method comprising: after receiving a packet from an upstream device, if the packet contains an Ethernet segment identifier (ESI) label, then reading the ESI label from said packet and obtaining, according to the ESI label, the port of the Ethernet segment (ES) corresponding to the ESI label; reading the egress port of the packet, if the port of the Ethernet segment (ES) corresponding to the ESI label and obtained according to the ESI label is the same as the egress port of the packet, then discarding the packet.