WO2022121466A1 - Procédé et dispositif de traitement de données pour un réseau privé virtuel ethernet, et support de stockage - Google Patents
Procédé et dispositif de traitement de données pour un réseau privé virtuel ethernet, et support de stockage Download PDFInfo
- Publication number
- WO2022121466A1 WO2022121466A1 PCT/CN2021/121710 CN2021121710W WO2022121466A1 WO 2022121466 A1 WO2022121466 A1 WO 2022121466A1 CN 2021121710 W CN2021121710 W CN 2021121710W WO 2022121466 A1 WO2022121466 A1 WO 2022121466A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- bum
- esi
- label
- data processing
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 38
- 238000005538 encapsulation Methods 0.000 claims abstract description 36
- 238000001914 filtration Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 16
- 230000008569 process Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000002330 electrospray ionisation mass spectrometry Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 208000010378 Pulmonary Embolism Diseases 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 101100011940 Thinopyrum elongatum ESI3 gene Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Definitions
- the present application relates to the field of communication technologies, and in particular, to a data processing method, device and storage medium for an Ethernet virtual private network.
- Ethernet Virtual Private Network when a client edge CE (Custom Edge) device is connected to multiple operator edge PE (Provider Edge) devices, multiple Ethernet segments ES (Ethernet Segments) are to be divided. ) and set the corresponding Ethernet segment label ESI (Ethernet Segment Identifier) for each ES to realize the orderly forwarding of packets between devices.
- ES Ethernet Segment Identifier
- the loopback problem needs to be solved.
- the receiving end device of the BUM packet forms a forwarding table according to the route, so as to prevent the receiving end device from forwarding the BUM packet to other devices under the same ES.
- the forwarding table The more label resources are consumed, and the forwarding tables need to be formed for different EVPN services, so a lot of forwarding table resources are occupied, which is not conducive to the effective use of forwarding table resources.
- the embodiments of the present application provide a data processing method, device and storage medium for an Ethernet virtual private network, which combine multiple routes originating from the same PE in the same ES to form a forwarding table, thereby reducing the occupation of forwarding table resources.
- an embodiment of the present application provides a data processing method for an Ethernet virtual private network, where the Ethernet virtual private network includes a first node and a second node that are adjacent nodes to each other, and the data processing method is applied to all The second node, including:
- routing advertisement sent by the first node and obtain routing information according to the routing advertisement, where the routing information includes an Ethernet segment identifier ESI and a label value corresponding to the ESI;
- each forwarding table entry of the forwarding table is composed of the network port identifier of the first node, the ESI and the label value;
- the forwarding table is searched with the network port identifier of the first node and the first ESI corresponding to the source port of the BUM message, determine the first tag value;
- the BUM-encapsulated message is forwarded to the first node, so that the first node decapsulates the BUM-encapsulated message and filters a local forwarding port according to the decapsulated first label value.
- an embodiment of the present application further provides a data processing method for an Ethernet virtual private network, where the Ethernet virtual private network includes a first node and a second node that are adjacent nodes to each other, and the data processing method is applied to The first node includes:
- the local forwarding port is filtered according to the first ESI.
- an embodiment of the present application further provides a device, comprising at least one processor and a memory for being communicatively connected to the at least one processor; the memory stores a memory that can be executed by the at least one processor Instructions, which are executed by the at least one processor, so that the at least one processor can execute the data processing method of the Ethernet virtual private network of the first aspect or the second aspect.
- embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the foregoing first aspect or the second A data processing method for an Ethernet virtual private network in the aspect.
- the data processing method for an Ethernet virtual private network has at least the following beneficial effects: when the local device dual-homes to the first node and the second node that are mutually adjacent nodes, and the local device sends a BUM report to the second node message, after the second node receives the BUM message, in order to avoid the formation of a message loop when forwarding the BUM message to the first node, according to the ESI corresponding to the first node and the label corresponding to the ESI stored in the second node value, encapsulate the label value in the BUM packet and forward it to the first node.
- the first node After receiving the encapsulated BUM packet, the first node decapsulates the packet, locates the field where the label value is located, and filters the local forwarding port according to the corresponding relationship between the ESI and the label value stored in the first node to prevent the packet from forming a loop.
- the embodiment of the present application does not need to distinguish the EVPN service instance of the BUM packet when forwarding the BUM packet, thereby reducing the size of the forwarding table and reducing the occupation of forwarding table resources.
- FIG. 1 is a flowchart of a data processing method for a second node provided by an embodiment of the present application
- FIG. 2 is a flowchart of establishing a forwarding table by a second node provided by an embodiment of the present application
- FIG. 3 is a flowchart of a data processing method of a first node provided by an embodiment of the present application
- FIG. 4 is a schematic diagram of information exchange under the multi-homed network structure provided by the example of this application.
- FIG. 5 is a schematic diagram of an apparatus structure of a device provided by an embodiment of the present application.
- the embodiments of the present application provide a data processing method, device, and storage medium for an Ethernet virtual private network.
- a forwarding table is constructed based on the correspondence between ESI and label value.
- a search is performed based on the ESI corresponding to the BUM message.
- the label value in the forwarding table, and the obtained label value is encapsulated in the BUM packet, so that when the device with the same ESI receives the BUM packet, the local forwarding port is filtered according to the label value in the BUM packet.
- the construction of the above-mentioned forwarding table can reduce the occupation of forwarding table resources because there is no need to distinguish the EVPN service instances of the BUM packets.
- an embodiment of the present application provides a data processing method for an Ethernet virtual private network.
- the Ethernet virtual private network includes a first node and a second node that are adjacent nodes to each other.
- the data processing method is applied to the second node, including But it is not limited to the following steps S100, S200, S300, S400 and S500.
- Step S100 receiving a routing advertisement sent by the first node and obtaining routing information according to the routing advertisement, where the routing information includes an Ethernet segment identifier ESI and a label value corresponding to the ESI;
- the CE device belongs to multiple PE devices. In this case, when the CE device reports BUM The PE device that receives the BUM packet will forward the BUM packet to other PE devices, and other PE devices will forward the BUM packet to the CE device after receiving the BUM packet, resulting in loopback of the BUM packet. .
- RFC (Request For Comments) 7432 proposes to use the ES filter table to solve the problem of packet loopback, and allocate MPLS (Multi-Protocol Label Switching, multi-protocol label switching, multi-protocol labels) based on each platform to PE devices in multi-homing scenarios.
- MPLS Multi-Protocol Label Switching, multi-protocol label switching, multi-protocol labels
- the BUM packet After the BUM packet is reported to the current PE device from the ES port, if the current PE device forwards the BUM packet to the neighboring PE device, the BUM packet carries the corresponding ESI label value. , after receiving the BUM packet with the label value, the neighboring PE device recognizes and obtains the ESI corresponding to the label value, so that it no longer forwards to the local port with the same ESI.
- the PE device that receives the BUM message forms a forwarding table according to the routing information corresponding to each advertised route of the adjacent PE device.
- the resulting forwarding table is huge and consumes a lot of tag resources.
- the embodiment of the present application uniformly manages the label values of BUM packets in the EVPN multi-homing scenario, and combines redundant routing information according to route advertisements to form a system that is suitable for multiple service scenarios at the same time.
- Forwarding tables such as:
- Step S200 combining routing information based on the same ESI to obtain a forwarding table, each forwarding table entry in the forwarding table is composed of the network port identifier, ESI and label value of the first node.
- the first node and the second node represent two adjacent PE devices.
- the first node sends a routing advertisement to the second node, and the routing information of the routing advertisement includes the corresponding local port of the first node.
- the second node obtains the route advertisement through the port between the first node and the first node, it forms a forwarding table in the second node according to the routing information.
- the content of the forwarding table It includes at least the above-mentioned ESI, the label value corresponding to the ESI, and the network port identifier of the first node.
- the route advertisement should also include the service information corresponding to the local port of the first node.
- the service information corresponding to the local port of the first node.
- each AC corresponds to a port
- the service instances of the port include MPLS and SRv6.
- EVPN1, EVPN2 and EVPN3 are respectively used to represent its EVPN instance information.
- each route sent by the first node to the second node The advertisements all contain ESI-label value-EVPN instance information.
- the second node preliminarily forms a preliminary filtering table of the network port identifier-ESI-label value-EVPN instance information of the first node. It is divided by specific service types under EVPN, so the preliminary filter table formed under the three AC lines will occupy a lot of resources, and this is the filter table formed according to the RFC7432 specification; the embodiment of the present application attributes the first node in the preliminary filter table to the first node. The routing information of the same ESI is merged, and the EVPN instance information is removed to simplify the preliminary filtering table and reduce the occupation of label resources. Since the EVPN identifier is removed, the second node does not need to consider the EVPN service instance when encapsulating and forwarding BUM packets, which improves the speed of table lookup and encapsulation.
- the forwarding table obtained by simplifying the above step S200 its entry is composed of the network port identifier of the first node-ESI-label value, different service instances under the same ESI share a label value, and is applicable to services such as MPLS and SRv6 at the same time.
- the traditional forwarding table can only be applied to the problem of MPLS EVPN. It should be understood that in the traditional forwarding table established for MPLS EVPN services, the first node needs to allocate a label value for each ES in the MPLS label space, so that the ESI and the label value form a corresponding relationship.
- MPLS labels are added, and when there are only SRv6 EVPN services in the Ethernet segment, the label value of the MPLS label space is also occupied, which is not conducive to EVPN label allocation. Since there is no need to distinguish service instances in this embodiment of the present application, the label value can be set according to needs when assigning it.
- the ESI assigns the label value, and the specific value range of the label value can also be defined as needed, as long as the label value and the ESI can form a one-to-one correspondence, which solves the problem of MPLS label occupation.
- Step S300 when forwarding the broadcast, unknown unicast, and multicast BUM messages to the first node, look up the forwarding table with the network port identifier of the first node and the first ESI corresponding to the source port of the BUM message, and determine the first label value .
- the second node After receiving the BUM message, the second node determines the broadcast members of the BUM message, determines that the first node is an adjacent node, and forwards the BUM message to the first node; assuming that the first node and the second node are in the same ES, then the first node and the second node have the same ESI, the BUM message needs to be specially processed, so that the first node can break the loop after receiving the BUM message; if the first node and the second node If they are not in the same ES, when the second node queries the forwarding table according to the first ESI corresponding to the BUM packet, the corresponding forwarding table entry cannot be found, so the second node does not need to encapsulate the BUM packet when forwarding the BUM packet to the first node. Label value.
- the forwarding table is searched based on the network port identifier of the first node and the first ESI corresponding to the source port of the BUM packet. , you can find the forwarding table entry of the network port identifier of the first node-first ESI-first label value, so as to obtain the first label value, and then encapsulate the obtained first label value in a BUM message, A BUM encapsulated packet is formed and sent to the first node.
- Step S400 Encapsulate the first label value in the BUM packet according to the encapsulation structure of the BUM packet to obtain a BUM encapsulated packet.
- Step S500 Forward the BUM-encapsulated message to the first node, so that the first node decapsulates the BUM-encapsulated message and filters the local forwarding port according to the decapsulated first label value.
- the encapsulated BUM packet carries the first label value.
- the first node receives the BUM encapsulated packet, it can locate the location of the first label value through decapsulation. According to the difference between the first label value and the first ESI Corresponding relationship, the first node can filter the local forwarding port, that is, as long as the port in the same ES will not forward the BUM packet, thereby avoiding the formation of packet loopback.
- the embodiment of the present application reduces the occupation of label resources by simplifying the forwarding table, and does not occupy MPLS label resources in the label space. On this basis, the BUM packet loopback problem of different service instances is solved; the solution of the embodiment of the present application is easy to The implementation has high practical value.
- the routing information obtained by the second node after receiving the route advertisement includes, in addition to the ESI and the label value, the network port identifier of the first node and the EVPN instance information published by the first node based on the Ethernet virtual private network EVPN instance.
- the network port identifier can be represented by an IP address, which is used to indicate the destination IP of sending, or can be set based on the MAC address, and can also be used to determine the next hop of the route.
- the route advertisement carries EVPN service instance information corresponding to the service type used by the local port in the first node, which is used to indicate the service type used by the local port.
- the second node needs to organize and simplify the above-mentioned original data to obtain the final forwarding table. Therefore, referring to FIG. 2 , in step S100, the routing information is merged to create a forwarding table.
- the forwarding table includes but is not limited to the following steps S110 and S120.
- Step S110 forming a preliminary filtering table according to the routing information, and each filtering table entry of the preliminary filtering table is composed of the network port identifier of the first node, the EVPN instance information, the ESI and the label value. ;
- Step S120 combining the filtering entries with the same ESI to remove the EVPN instance information to obtain a forwarding table.
- the preliminary filtering table directly formed by the routing information contains the network port identifier of the first node-ESI-label value-EVPN instance information, based on the simplification method of the embodiment of the present application, the same network port
- the information of different EVPN instances under one ESI is merged to form an entry of network port identifier-ESI, which is distinguished by label value, thereby finally forming a forwarding table whose forwarding table entry is network port identifier-ESI-label value.
- the second node After receiving the BUM packet, the second node determines to which network port identifier to forward the BUM packet, and determines the first ESI corresponding to the source port of the BUM packet.
- the text is packaged.
- first ESI and the first tag value are respectively used to represent one of the ESIs and one of the many tag values in the multiple forwarding tables, and There is no specific numerical limitation on the first ESI and the first tag value.
- BUM packets are encapsulated in different encapsulation locations according to different service types.
- the second node After the second node receives the BUM packet, it needs to determine whether the service type of the BUM packet is suitable for the service type applicable to the current label value encapsulation method.
- the service type of the BUM packet conforms to the preset service type, according to The packet encapsulation structure corresponding to the preset service type determines the encapsulation position of the label value.
- the BUM packet should be encapsulated and sent in other ways.
- the above-mentioned preset service types can be set as required, and are not limited here.
- the embodiments of the present application illustrate the encapsulation position of the label value in the BUM packet under two different service types by way of example.
- the first case is a first case:
- the service type of the BUM packet is multi-protocol label switching MPLS EVPN
- the first label value is placed in the field after VPN Label in the encapsulation structure.
- the packet structure of the MPLS EVPN service has a label stack, including a top label (or outer label) and a bottom label (or inner label, stack bottom label). It is transmitted to the adjacent PE device, and the bottom label is used to instruct the CE device to which the PE device sends the packet data. Therefore, in order to filter the local forwarding port in the first node, the first label value should be added in the bottom label. Specifically, the first label value can be placed in the field behind the VPN Label. When the first node receives the BUM-encapsulated packet, it decapsulates the BUM-encapsulated packet and matches it to the VPN Label. If the VPN Label is not at the bottom of the stack, then the following field is the value of the first label, which is used to find the ESI to achieve The message is broken.
- the BUM packet is an IPv6 segment routing SRv6 EVPN service packet
- the first label value is filled in the Argument field of the SRv6 SID in the encapsulation structure.
- the packet structure of the SRv6 EVPN service is represented by Segment id (SID for short) to represent the IPv6 address format.
- SID is divided into two fields, Locator and Function. Locator is used for label routing, and Function is used to define the received device. Action after this tag. Therefore, in order to filter the local forwarding port in the first node, the first label value should be added in the Function field. Specifically, the label can be placed in the Argument field in the Function field.
- the first node receives the BUM-encapsulated packet, it decapsulates the BUM-encapsulated packet and matches the Function field, and obtains the first label value by taking the part of the Argument field, which is used to find the ESI to break the packet.
- an embodiment of the present application also provides a data processing method for an Ethernet virtual private network, where the Ethernet virtual private network includes a first node and a second node that are mutually adjacent nodes, and the data processing method is applied to the first node, Including but not limited to the following steps S600, S700, S800 and S900.
- Step S600 obtaining the ESI corresponding to the local port and assigning a label value to the ESI, and constructing a local lookup table whose entry is the ESI and the label value;
- Step S700 when receiving the BUM encapsulated message forwarded by the second node, decapsulate the BUM encapsulated message and determine a first label value in the BUM encapsulated message;
- Step S800 look up the local lookup table according to the first tag value, and determine the first ESI;
- Step S900 filtering the local forwarding port according to the first ESI.
- the embodiment of the present application is applied to the first node, and the work to be performed by the first node includes decapsulating the BUM encapsulation message sent by the second node, and locating the BUM encapsulation packet.
- the position of the label value in the packet is searched according to the first label value to obtain the ESI, so as to filter the local forwarding port, that is, when the ES corresponding to the ESI and the ES where the local forwarding port is located are the same, the local forwarding port will not be forwarded.
- BUM message is, when the ES corresponding to the ESI and the ES where the local forwarding port is located are the same, the local forwarding port will not be forwarded.
- the first node should also obtain the ES where the local forwarding port is located, and assign a label value to the ESI corresponding to the ES.
- the routing advertisement sent by the first node to the second node send the ESI and ESI to the second node.
- the label value corresponding to the ESI so that the second node establishes the forwarding table required by the embodiment of the present application.
- the label value allocated for the ESI in the first node is not allocated in the traditional label space (such as MPLS label space), it is not defined according to the range of the traditional label value, because the label value in this embodiment of the present application needs to be located after the service label Therefore, it is a context label for assigning ES entities.
- the context label needs to rely on each platform label to determine its behavior. This feature corresponds to the behavior of locating the first label value in the BUM encapsulation message.
- the first node needs to determine the corresponding service type after decapsulating the BUM-encapsulated packets, in order to locate the label value in it, which can be implemented in the following ways:
- the service type of the BUM-encapsulated packet is multi-protocol label switching MPLS EVPN
- it matches the VPN Label in the BUM-encapsulated packet confirms that the VPN Label field is not the bottom of the label stack, and determines that the label at the bottom of the stack is the first label value
- the service type of the BUM encapsulated packet is an IPv6 segment routing SRv6 EVPN service packet
- locate the Function field of the SRv6 SID and determine that the Argument field in the Function field is the first label value.
- the above judgment process corresponds to the process of encapsulating the BUM packet by the second node.
- the service type is MPLS EVPN
- the VPN Label is matched, and it is judged whether the VPN Label is a stack bottom label, and if not, then The field after VPN Label is the first label value.
- the service type is SRv6 EVPN
- locate the Function field of the SRv6 SID and find the Argument field from the Function field, thereby determining the first tag value.
- the embodiment of the present application is applied to an EVPN multi-homing scenario.
- the first node and the second node are connected to the same CE device as two adjacent PE devices.
- the network port identifier of the node constructs the forwarding table, which does not distinguish EVPN service instances, thereby reducing the occupation of label resources in the forwarding table.
- this example is provided with three PE devices, which are represented by A device, B device, and C device respectively.
- the three PE devices are adjacent to each other, where A device and B device belong to the same ES, and C device and B device. They do not belong to the same ES.
- the ACs under the same ES have the same names, namely AC1 (the service type is MPLS-EVPN1) and AC2 (the service type is MPLS) -EVPN2) and AC3 (service type is SRv6-EVPN3).
- device A assigns a tag value of 1 to ES1 in an independent space (for the sake of illustration, the networking in the example only divides one ES, which is represented by ES1. If there are multiple ESs, then It can be represented by ES2, ES3, ..., ESn in turn), since each ES has a unique ESI, the corresponding relationship between ESI1 and label value 1 is formed in the A device (ES2, ES3, ..., ESn respectively correspond to the unique identifier ESI2 , ESI3, ..., ESIn).
- Device A sends a route advertisement to device B, and device B learns the IP port of device A (represented by IP-a), ESI1, label value 1, and the EVPN instance information corresponding to the three ACs.
- Device B obtains the information by sorting out the above information.
- the preliminary filter table has a total of three entries, see Figure 4, which are:
- IP-a+ESI1+EVPN1 label value 1
- IP-a+ESI1+EVPN2 label value 1
- IP-a+ESI1+EVPN3 label value 1
- the above preliminary filter table is simplified, and the EVPN service type information is removed after merging, and the entries that constitute the forwarding table are obtained:
- IP-a+ESI1 tag value 1
- the data packets forwarded to device A need to be labeled An encapsulation of value 1.
- the BUM packet corresponding to ESI1 sent to IP-a can be determined to be the label value 1, so that the label value 1 is encapsulated in the BUM packet; when the service type of the BUM packet is MPLS For EVPN, the label value 1 is pushed to the bottom of the label stack.
- the label value 1 is filled in the Argument field of the SID, and the BUM encapsulated packet is finally obtained and sent to device A.
- device C and device B do not belong to the same ES, they send packets to device C according to the conventional BUM packet forwarding method without carrying the label value.
- device A After receiving the BUM-encapsulated packet, device A decapsulates the packet to determine the label value. For the BUM-encapsulated packet of MPLS EVPN type, if the VPN Label is not the bottom of the stack, the label at the bottom of the stack is the label value of 1. For the BUM of SRv6 EVPN type After encapsulating the packet, after determining the service through the Function field, take the Argument field to obtain the label value 1; device A filters out the three AC lines belonging to ES1 according to the corresponding relationship between the label value 1 obtained through decapsulation and ESI1.
- An embodiment of the present application further provides a device, comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor , so that at least one processor can execute the aforementioned data processing method of the Ethernet virtual private network.
- control processor 1001 and the memory 1002 in the device 1000 may be connected through a bus.
- the memory 1002 can be used to store non-transitory software programs and non-transitory computer-executable programs.
- memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk memory, flash memory device, or other non-transitory solid state storage device.
- memory 1002 may optionally include memory located remotely from control processor 1001, which may be connected to device 1000 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the device structure shown in FIG. 5 does not constitute a limitation on the device 1000, and may include more or less components than the one shown, or combine some components, or arrange different components.
- Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are executed by one or more control processors, for example, as shown in FIG. 5 .
- the execution of one control processor 1001 of the above-mentioned one or more control processors can cause the above-mentioned one or more control processors to execute the data processing method of the Ethernet virtual private network in the above-mentioned method embodiments, for example, to perform the above-described method steps S100 to S500 in FIG. 1 . , the method steps S110 to S120 in FIG. 2 and the method steps S600 to S900 in FIG. 3 .
- the data processing method for an Ethernet virtual private network has at least the following beneficial effects: when the local device is dual-homed to the first node and the second node that are mutually adjacent nodes, and the local device sends a BUM message to the second node message, after the second node receives the BUM message, in order to avoid the formation of a message loop when forwarding the BUM message to the first node, according to the ESI corresponding to the first node and the label corresponding to the ESI stored in the second node value, encapsulate the label value in the BUM packet and forward it to the first node.
- the first node After receiving the encapsulated BUM packet, the first node decapsulates the packet, locates the field where the label value is located, and filters the local forwarding port according to the corresponding relationship between the ESI and the label value stored in the first node to prevent the packet from forming a loop.
- the embodiment of the present application does not need to distinguish the EVPN service instance of the BUM packet when forwarding the BUM packet, thereby reducing the size of the forwarding table and reducing the occupation of forwarding table resources.
- Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention concerne un procédé et un dispositif de traitement de données pour un réseau privé virtuel Ethernet, ainsi qu'un support de stockage. Le procédé de traitement de données consiste à : recevoir une annonce de routage envoyée par un premier nœud, puis obtenir des informations de routage en fonction de l'annonce de routage (S100) ; fusionner les informations de routage sur la base du même ESI afin d'obtenir une table de transfert, chaque entrée de transfert dans la table de transfert étant constituée d'un identifiant de port de réseau, d'un ESI et d'une valeur d'identifiant du premier nœud (S200) ; lorsqu'un paquet BUM est transmis au premier nœud, rechercher une première valeur d'identifiant dans la table de transfert (S300) ; encapsuler la première valeur d'identifiant dans le paquet BUM selon une structure d'encapsulation du paquet BUM (S400) ; et transmettre le paquet BUM au premier nœud de façon à ce que le premier nœud désencapsule le paquet BUM et filtre les ports d'acheminement locaux en fonction de la première valeur d'identifiant obtenue par désencapsulation (S500).
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011417069.6 | 2020-12-07 | ||
CN202011417069.6A CN114666267A (zh) | 2020-12-07 | 2020-12-07 | 以太虚拟专用网的数据处理方法、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022121466A1 true WO2022121466A1 (fr) | 2022-06-16 |
Family
ID=81974042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/121710 WO2022121466A1 (fr) | 2020-12-07 | 2021-09-29 | Procédé et dispositif de traitement de données pour un réseau privé virtuel ethernet, et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114666267A (fr) |
WO (1) | WO2022121466A1 (fr) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115037690A (zh) * | 2022-06-21 | 2022-09-09 | 阿里巴巴(中国)有限公司 | 一种流量调度方法、装置、电子设备及存储介质 |
CN115277309A (zh) * | 2022-07-26 | 2022-11-01 | 中国电信股份有限公司 | 报文转发方法、装置、存储介质与电子设备 |
WO2024082462A1 (fr) * | 2022-10-21 | 2024-04-25 | 锐捷网络股份有限公司 | Procédé et appareil de transfert de service et dispositif électronique |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117640505A (zh) * | 2022-08-09 | 2024-03-01 | 中兴通讯股份有限公司 | 一种数据报文处理方法、装置、存储介质及电子装置 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135420A (zh) * | 2014-07-31 | 2014-11-05 | 华为技术有限公司 | 一种报文转发的方法、设备及系统 |
CN105099846A (zh) * | 2014-04-30 | 2015-11-25 | 华为技术有限公司 | 传输数据报文的方法和供应商边缘设备 |
CN106254244A (zh) * | 2016-07-28 | 2016-12-21 | 上海斐讯数据通信技术有限公司 | 一种基于sdn网络的合并流表项方法 |
CN108259291A (zh) * | 2016-12-29 | 2018-07-06 | 华为技术有限公司 | Vxlan报文处理方法、设备及系统 |
CN108809847A (zh) * | 2017-05-05 | 2018-11-13 | 华为技术有限公司 | 实现负载均衡的方法、装置和网络系统 |
WO2019119220A1 (fr) * | 2017-12-18 | 2019-06-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Dispositif périphérique connecté de fournisseur et procédé mis en œuvre sur ce dernier pour un réseau privé virtuel ethernet |
US10841216B1 (en) * | 2017-03-29 | 2020-11-17 | Juniper Networks, Inc. | Local-bias forwarding of L2 multicast, unknown unicast, and broadcast traffic for an ethernet VPN |
-
2020
- 2020-12-07 CN CN202011417069.6A patent/CN114666267A/zh active Pending
-
2021
- 2021-09-29 WO PCT/CN2021/121710 patent/WO2022121466A1/fr active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105099846A (zh) * | 2014-04-30 | 2015-11-25 | 华为技术有限公司 | 传输数据报文的方法和供应商边缘设备 |
CN104135420A (zh) * | 2014-07-31 | 2014-11-05 | 华为技术有限公司 | 一种报文转发的方法、设备及系统 |
CN106254244A (zh) * | 2016-07-28 | 2016-12-21 | 上海斐讯数据通信技术有限公司 | 一种基于sdn网络的合并流表项方法 |
CN108259291A (zh) * | 2016-12-29 | 2018-07-06 | 华为技术有限公司 | Vxlan报文处理方法、设备及系统 |
US10841216B1 (en) * | 2017-03-29 | 2020-11-17 | Juniper Networks, Inc. | Local-bias forwarding of L2 multicast, unknown unicast, and broadcast traffic for an ethernet VPN |
CN108809847A (zh) * | 2017-05-05 | 2018-11-13 | 华为技术有限公司 | 实现负载均衡的方法、装置和网络系统 |
WO2019119220A1 (fr) * | 2017-12-18 | 2019-06-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Dispositif périphérique connecté de fournisseur et procédé mis en œuvre sur ce dernier pour un réseau privé virtuel ethernet |
Non-Patent Citations (1)
Title |
---|
P. BRISSETTE, ED. A. SAJASSI L. BURDET CISCO SYSTEMS D. VOYER BELL CANADA: "EVPN Multi-Homing Mechanism for Layer-2 Gateway Protocols; draft-brissette-bess-evpn-l2gw-proto-05.txt", EVPN MULTI-HOMING MECHANISM FOR LAYER-2 GATEWAY PROTOCOLS; DRAFT-BRISSETTE-BESS-EVPN-L2GW-PROTO-05.TXT; INTERNET-DRAFT: BESS WORKING GROUP, INTERNET ENGINEERING TASK FORCE, IETF; STANDARDWORKINGDRAFT, INTERNET SOCIETY (ISOC) 4, RUE DES FALAISES CH- 1, no. 05, 4 November 2019 (2019-11-04), Internet Society (ISOC) 4, rue des Falaises CH- 1205 Geneva, Switzerland , pages 1 - 12, XP015136093 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115037690A (zh) * | 2022-06-21 | 2022-09-09 | 阿里巴巴(中国)有限公司 | 一种流量调度方法、装置、电子设备及存储介质 |
CN115277309A (zh) * | 2022-07-26 | 2022-11-01 | 中国电信股份有限公司 | 报文转发方法、装置、存储介质与电子设备 |
WO2024082462A1 (fr) * | 2022-10-21 | 2024-04-25 | 锐捷网络股份有限公司 | Procédé et appareil de transfert de service et dispositif électronique |
Also Published As
Publication number | Publication date |
---|---|
CN114666267A (zh) | 2022-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022121466A1 (fr) | Procédé et dispositif de traitement de données pour un réseau privé virtuel ethernet, et support de stockage | |
CN109995634B (zh) | 一种组播虚拟专用网络的承载方法和设备 | |
US8898334B2 (en) | System for network deployment and method for mapping and data forwarding thereof | |
US20230300070A1 (en) | Packet Sending Method, Device, and System | |
WO2016101646A1 (fr) | Procédé et appareil d'accès destinés à un réseau virtuel ethernet | |
US11792044B2 (en) | Offset label for aggregating multicasts from multiple virtual private networks on a single multicast distribution tree | |
US20160036773A1 (en) | Internet protocol address resolution | |
CN104660508A (zh) | 一种报文转发方法及装置 | |
US10148458B2 (en) | Method to support multi-protocol for virtualization | |
CN110798403B (zh) | 通信方法、通信设备和通信系统 | |
WO2015165311A1 (fr) | Procédé permettant de transmettre un paquet de données et dispositif côté fournisseur | |
US10187293B2 (en) | Apparatus and method for multicast data packet forwarding | |
CN108964940B (zh) | 消息发送方法及装置、存储介质 | |
CN112511444A (zh) | 一种组播流量传输方法、装置、通信节点及存储介质 | |
CN106453025A (zh) | 一种隧道创建方法及装置 | |
US20240323115A1 (en) | Loop Avoidance Communications Method, Device, and System | |
US11962491B2 (en) | Source routing tunnel ingress protection | |
CN110417655B (zh) | 一种数据报文转发的方法及装置 | |
CN108156067B (zh) | 一种实现基于以太网虚拟专用网络的方法和系统 | |
CN112491706B (zh) | 数据报文的处理方法及装置、存储介质、电子装置 | |
WO2021052381A1 (fr) | Procédé et appareil d'envoi de messages | |
WO2013139270A1 (fr) | Procédé, dispositif et système pour implémenter un réseau privé virtuel en couche 3 | |
CN108494686A (zh) | 路由处理方法及装置 | |
WO2023274083A1 (fr) | Procédé et appareil de publication de route, procédé et appareil de réacheminement de paquets, dispositif, et support de stockage | |
CN110620715B (zh) | 虚拟扩展局域网通信方法、隧道端点和控制器 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 03/11/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21902174 Country of ref document: EP Kind code of ref document: A1 |