CN113438174A - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN113438174A
CN113438174A CN202110661428.0A CN202110661428A CN113438174A CN 113438174 A CN113438174 A CN 113438174A CN 202110661428 A CN202110661428 A CN 202110661428A CN 113438174 A CN113438174 A CN 113438174A
Authority
CN
China
Prior art keywords
target
port
broadcast
equipment
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110661428.0A
Other languages
Chinese (zh)
Other versions
CN113438174B (en
Inventor
文闻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202110661428.0A priority Critical patent/CN113438174B/en
Publication of CN113438174A publication Critical patent/CN113438174A/en
Application granted granted Critical
Publication of CN113438174B publication Critical patent/CN113438174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Abstract

The invention provides a message forwarding method and a device, wherein the method comprises the following steps: when receiving broadcast messages sent by other PE equipment in the redundancy backup group, refusing to send the broadcast messages through the target port according to a target ACL table item issued by the target port; the target port is a port connected with a multi-homing CE device on the PE device, and the target ACL table entry is used for indicating the PE device to reject to transmit the broadcast message sent by other PE devices in the redundant backup group through the target port; and when receiving the broadcast message of the non-multi-homing CE equipment, broadcasting the broadcast message through the CPU. The embodiment of the invention can avoid the broadcast message of the multi-homing CE equipment from forming a loop, ensure the normal forwarding of the message and reduce the consumption of ACL resources.

Description

Message forwarding method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
Virtual Private Local area Network Service (VPLS) is a two-layer Virtual Private Network (VPN) technology based on a Multi-Protocol Label Switching (MPLS) Network.
The VPLS supports multi-active multi-homing of an Ethernet Virtual Private Network (EVPN for short), namely one user Network Edge (CE) device can be connected to a plurality of service Provider Edge (PE) devices through different links, and the connected PE devices form a redundancy backup group, so that the influence of single point failure of the PE devices on the Network can be avoided, and the reliability of the Network is improved.
In order to avoid that the PE devices in the redundant backup group all send the flooding traffic to the multi-homed CE device, it is necessary to select one PE device as a Designated Forwarder (DF) for each Access Circuit (AC) port in the redundant backup group, and it is responsible for forwarding the flooding traffic to the AC. The other PE devices serve as Backup DFs (Backup DFs, BDFs for short) of the AC, and do not forward the flooding traffic to the local CE device.
Traffic received by a PE device in the redundant backup group through a pseudowire (PW for short) may be forwarded through the DF, but may not be forwarded through the BDF.
At present, in an EVPN VPLS networking of multi-active multi-homing, in order to avoid that broadcast traffic of a multi-homing CE device is forwarded to a DF through a BDF and then retransmitted to the multi-homing CE device to form a loop, an Ethernet Segment Identifier (ESI) rule needs to be configured on a port of a PE device connected to the multi-homing CE device, and when a PE device in a redundant backup group receives a broadcast packet from an AC port connected to the multi-homing CE device, the PE device needs to encapsulate an ESI tag (Label) at an innermost layer of the broadcast packet and then send the packet; when other PE equipment in the redundant backup group receives the broadcast message carrying the ESI label, the ESI label can be popped up, the broadcast message is refused to be forwarded through an AC port connected with the multi-homing CE equipment, and the broadcast message is prevented from forming a loop.
However, in the broadcast message forwarding scheme in the multi-active multi-homed EVPN VPLS networking, the PE device needs to identify the broadcast message received by the AC port connected to the multi-homed CE device through the ESI tag, and other PE devices in the redundant backup group need to identify the broadcast message through the ESI tag, perform operation of popping up the ESI tag and implement AC isolation, which is complex to implement and consumes a lot of resources in an Access Control List (ACL).
Disclosure of Invention
The invention provides a message forwarding method and a message forwarding device, which are used for solving the problems that the scheme for avoiding the broadcast message forming a loop in the traditional multi-active multi-homing EVPN VPLS networking is complex to realize and the ACL resources are consumed too much.
According to a first aspect of the embodiments of the present invention, a packet forwarding method is provided, which is applied to a PE device in a redundant backup group of a multi-active multi-homed EVPN VPLS networking, and the method includes:
when receiving broadcast messages sent by other PE equipment in the redundancy backup group, refusing to send the broadcast messages through the target port according to target ACL table items issued by the target port; the target port is a port connected with the multi-homing CE equipment on the PE equipment, and the target ACL table entry is used for indicating the PE equipment to refuse to pass through the target port and forwarding the broadcast message sent by other PE equipment in the redundant backup group;
and when receiving the broadcast message of the non-multi-homing CE equipment, broadcasting the broadcast message through the CPU.
According to a second aspect of the embodiments of the present invention, there is provided a packet forwarding apparatus, applied to a PE device in a redundant backup group of a multi-active multi-homed EVPN VPLS networking, the apparatus including:
a receiving unit, configured to receive a packet;
the sending unit is used for refusing to send the broadcast message through the target port according to a target ACL table item issued by the target port when the receiving unit receives the broadcast message sent by other PE equipment in the redundant backup group; the target port is a port connected with the multi-homing CE equipment on the PE equipment, and the target ACL table entry is used for indicating the PE equipment to refuse to pass through the target port and forwarding the broadcast message sent by other PE equipment in the redundant backup group;
and the sending unit is also used for broadcasting the broadcast message through the CPU when the receiving unit receives the broadcast message of the non-multihomed CE equipment.
By applying the technical scheme disclosed by the invention, when PE equipment in a redundant backup group of a multi-active multi-homing EVPN VPLS network receives a broadcast message sent by other PE equipment in the redundant backup group, the broadcast message is refused to be sent through a target port according to a target ACL table item issued by the target port; when a broadcast message of non-multi-homing CE equipment is received, the broadcast message is broadcasted through a CPU, a target ACL table item is issued on the PE of the redundant backup group aiming at a target port, and the broadcast message of the multi-homing CE equipment can be prevented from forming a loop under the condition that ESI label insertion and ejection do not need to be carried out on the broadcast message; for the broadcast message of the non-multi-homing CE equipment, the normal forwarding of the message is ensured in a CPU broadcast mode; in addition, by issuing the ACL table items aiming at the target port, the ACL table items do not need to be issued respectively aiming at each AC port, and the consumption of ACL resources is reduced.
Drawings
Fig. 1 is a schematic flowchart of a message forwarding method according to an embodiment of the present invention;
fig. 2 is a schematic architecture diagram of a multi-active multi-homed EVPN VPLS networking provided by an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an implementation flow of a message forwarding scheme according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a message forwarding apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions in the embodiments of the present invention better understood and make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic flow diagram of a message forwarding method provided in an embodiment of the present invention is shown, where the message forwarding method may be applied to PE devices in a redundant backup group of a multi-active multi-homed EVPN VPLS networking, and as shown in fig. 1, the message forwarding method may include the following steps:
it should be noted that, the sequence numbers of the steps in the embodiment of the present invention do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the internal logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
Step 101, when receiving a broadcast message sent by other PE equipment in a redundant backup group, refusing to send the broadcast message through a target port according to a target ACL table item issued by the target port; the target port is a port connected with the multi-homing CE device on the PE device, and the target ACL table entry is used for indicating the PE device to reject to pass through the target port and forwarding the broadcast message sent by other PE devices in the redundant backup group.
In the embodiment of the present invention, in order to avoid that the broadcast message forms a loop due to the fact that the multi-homed CE device is retransmitted to the multi-homed CE device by the PE device serving as the DF after the multi-homed CE device is transmitted to the PE device serving as the BDF, a target ACL entry may be issued for a port (referred to as a target port herein) of the redundant backup group, where the port is connected to the multi-homed CE device on the PE device, and the target ACL entry may be used to instruct the PE device to reject forwarding the broadcast message transmitted by other PE devices in the redundant backup group through the target port.
Correspondingly, when the PE device in the redundant backup group receives the broadcast message sent by other PE devices in the redundant backup group, the PE device can refuse to send the broadcast message through the target port according to the target ACL entry issued by the target port, thereby preventing the broadcast message sent by the multi-homed CE device from forming a loop.
And 102, broadcasting the broadcast message through the CPU when receiving the broadcast message of the non-multi-homing CE equipment.
In the embodiment of the present invention, it is considered that, in addition to connecting a multi-homing CE device, a PE device in a redundant backup group may also connect a non-multi-homing CE device (that is, the CE device is connected to one of the PE devices in the redundant backup group, and the CE device may also be referred to as a single-hanging CE device).
The target ACL entry may also cause that the broadcast packet of the single-hanging CE device connected to the PE device in the redundant backup group cannot be transmitted to the multi-homed CE device while preventing the broadcast packet of the multi-homed CE device from forming a loop, resulting in abnormal packet forwarding.
For example, assuming that an AC port 11 connected to a single-hanging CE device on PE1 in a redundant backup group belongs to a Virtual Switch Instance (VSI) 1, an AC port connected to a multi-homed CE device in VSI1 on PE1 is an AC port 12, and PE1 is a BDF of the AC port 12, when PE1 receives a broadcast message from the AC port 11, the broadcast message cannot be sent to the multi-homed CE device through the AC port 12, but needs to be sent to PE2 in the redundant backup group through a PW, and PE2 sends to the multi-homed CE device through an AC port (e.g., AC port 21) in VSI 1. However, since the target ACL indicates that the PE device rejects forwarding the broadcast packet sent by other PE devices in the redundant backup group through the target port, the broadcast packet cannot be sent to the multi-homed CE device.
In view of the above problems, in order to ensure that the broadcast packet of the single-hanging CE device can be normally forwarded, when the PE device in the redundant backup group receives the broadcast packet of the non-multihomed CE device, the PE device may broadcast the broadcast packet through the CPU, so that when the PE device is used as a BDF of a certain AC port, the PE device may also forward the broadcast packet through a corresponding port, thereby ensuring normal forwarding of the broadcast packet.
For example, the broadcast message uploading function for a single-drop port (i.e., a port to which a non-multihomed CE device is connected) may be enabled for each PE device in the redundant backup group, so that, when a PE device receives a broadcast message from the single-drop port, the PE device may upload the broadcast message to the CPU and broadcast the broadcast message by the CPU.
It can be seen that, in the method flow shown in fig. 1, by issuing a target ACL entry for a target port on a PE of a redundant backup group, a broadcast message of a multi-homed CE device can be prevented from forming a loop without performing ESI tag insertion and ejection for the broadcast message; for the broadcast message of the non-multi-homing CE equipment, the normal forwarding of the message is ensured in a CPU broadcast mode; in addition, by issuing the ACL table items aiming at the target port (physical port), the ACL table items do not need to be issued respectively aiming at each AC port (virtual interface), and the consumption of ACL resources is reduced.
In some embodiments, PE devices in the redundant backup group perform DF and BDF elections based on the port;
and target ACL table items are issued by a target port of the target PE equipment in the redundant backup group, and the target PE equipment is DF determined by election based on the target port in the redundant backup group.
In this embodiment, in order to further reduce the consumption of ACL resources, when PE devices in the redundant backup group perform DF and BDF elections, the PE devices may perform elections based on ports (physical ports), and do not perform elections based on virtual ports under the same port, so that it is ensured that the roles of the virtual ports under the same physical port are the same. For the target ports of the PE devices in the redundant backup group, one of the PE devices is the DF of the target port, and the other PE devices are the BDFs of the target port.
In addition, considering the PE device in the redundant backup group, for the broadcast message received through the PW, the PE device serving as the DF may forward the broadcast message to the multi-homed CE device, and the PE device serving as the BDF may not forward the broadcast message to the multi-homed CE device, so that, under the condition that the PE device in the redundant backup group performs DF and BDF elections based on the port, the PE device elected as the BDF may not need to issue the target ACL entry, thereby further reducing ACL resource consumption under the condition that the broadcast message of the multi-homed CE device is prevented from forming a loop.
In one example, in step 102, when a broadcast packet of a non-multihomed CE device is received, broadcasting the broadcast packet by a CPU may include:
and when a broadcast message of the non-multi-homing CE equipment is received and the equipment is a BDF (BDF) for election determination based on the target port, broadcasting the broadcast message through the CPU.
In this example, since the target ACL entry is not issued to the target port on the DF determined by election based on the target port, it may send the broadcast packet to the multihomed CE device through the target port, and therefore, for the broadcast packet of the non-homed CE device, the PE device may send the broadcast packet to the multihomed CE device through the target port.
Correspondingly, when the PE device receives a broadcast packet of a non-multihomed CE device, if it is determined that the device is a BDF that is determined by election based on a target port, the BDF in the redundant backup group can be enabled to upload a broadcast packet for a single-drop port to the CPU.
If the equipment is determined to be the DF determined by election based on the target port, broadcasting can be carried out without a CPU, and the broadcasting messages needing to be processed by the CPU are reduced.
In one example, the BDFs in the redundant backup set enable ARP replies for single-hanging ports;
in step 102, when receiving a broadcast packet of a non-home CE device, broadcasting the broadcast packet by using a CPU may include:
when an ARP request message of non-multi-homing CE equipment is received through a single hanging port and the equipment is a BDF determined by election based on a target port, determining whether ARP information matched with a target IP address of the ARP request message exists locally;
and when the ARP information matched with the target IP address of the ARP request message does not exist locally, broadcasting the ARP request message through the CPU.
In this example, to further reduce the message processing amount of the CPU of the BDF in the redundant backup set, the BDF in the redundant backup set may enable an Address Resolution Protocol (ARP) proxy for the single-hanging port.
When a PE device receives an ARP request message of a non-multihomed CE device, if it is determined that the device is a BDF that performs election determination based on a target port, it may be determined whether ARP information matching a destination IP address of the ARP request message exists locally. If not, the CPU broadcasts the ARP request message.
It should be noted that, if the PE device determines that there is locally ARP information that matches the destination IP address of the ARP request packet, the PE device may respond to the ARP request packet according to the ARP information without broadcasting the ARP request packet.
In addition, when the PE device receives an ARP request packet of a non-multihomed CE device through a single drop port and determines that the device is a BDF determined by election based on a target port, the PE device may further generate ARP information corresponding to a source IP address of the ARP request packet, for example, record information such as the source IP address, the source MAC address, and an interface of the packet of the ARP request packet in a local ARP Snooping entry, as a basis for subsequent ARP reply.
In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, the technical solution provided by the embodiment of the present invention is described below with reference to a specific application scenario.
Please refer to fig. 2, which is a schematic diagram of an architecture of a multi-homed EVPN VPLS networking, as shown in fig. 2, the multi-homed EVPN VPLS networking includes PE device 210 (denoted as PE1), PE device 220 (denoted as PE2), PE device 230 (denoted as PE3), CE device 310 (denoted as CE1), CE device 320 (denoted as CE2), and CE device 330 (denoted as CE 3).
PE1 and PE2 form a redundant backup group, and CE1 is a multi-homed CE device, and belongs to PE1 and PE2, respectively.
PE1 is connected to CE1 via port 211, and PE2 is connected to CE1 via port 221.
CE2 is solely hung on PE1, and PE1 is connected to CE2 through port 212.
CE3 is solely hung from PE2, and PE2 is connected to CE3 through port 222.
PE1 has PW12 established through port 213 and port 223 of PE 2.
In this embodiment, for the application scenario shown in fig. 2, PE1 and PE2 may perform DF and BDF elections based on the ports (i.e., the above-mentioned destination ports, including port 211 and port 221) connecting the multihomed CE device (i.e., CE 1).
Hereinafter, PE1 is DF and PE2 is BDF.
It should be noted that a plurality of AC ports (virtual ports, not shown in the figure) may be created on the ports 211 and 221, and since the PEs 1 and 2 perform DF and BDF elections based on the ports (physical ports), the roles of the PEs 1 and 2 for the AC ports are unified.
That is, in this embodiment, PE1 is DF and PE2 is BDF for each AC port of ports 211 and 221.
In this embodiment, considering that after the broadcast packet sent by CE1 is sent to PE2, PE2 sends it to PE1 through PW12, and when PE1 receives the broadcast packet, because it is the DF of the target port, PE1 sends the broadcast packet to CE1 again through the target port (i.e., port 211), resulting in the broadcast packet forming a loop.
To solve the above problem, in order to avoid the broadcast packet forming a loop, the ACL entry (i.e. the above target ACL entry) shown in table 1 may be issued to the port 211 on PE 1:
TABLE 1
When a broadcast message of CE1 reaches PE2 and is forwarded to PE1 by PE2 through PW12, PE1 determines that the broadcast message matches with a target ACL entry issued by port 211 before forwarding the broadcast message through port 211, so that PE1 may refuse to forward the broadcast message through port 211, thereby preventing the broadcast message of CE1 equipment from forming a loop.
In addition, it is considered that after the port 211 of the PE1 sends the target ACL entry up and down, when the PE2 sends the broadcast message of the single-hanging CE device of the PE2 (such as the CE3 in fig. 2) to the PE1 through the PW12, the PE1 determines that the broadcast message matches the target ACL entry issued by the port 211 before forwarding the broadcast message through the port 211, so that the PE1 refuses to forward the broadcast message through the port 211, and the broadcast message of the CE3 cannot be forwarded to the CE 1.
To solve the above problem, in order to ensure normal forwarding of a packet, an ARP reply may be configured for PE2 for a single-drop port of PE2, that is, a port (i.e., port 222) of PE2 connected to a single-drop CE device (i.e., CE3), so that, for a broadcast packet sent by CE3, PE2 may forward the broadcast packet in a CPU broadcast manner, so as to ensure that CE1 may receive the broadcast packet of CE 3.
As shown in fig. 3, based on the above setting, for the application scenario shown in fig. 2, the implementation flow of the message forwarding scheme provided in the embodiment of the present application is as follows:
in step 301, PE2 receives the broadcast packet sent by CE1, and sends the broadcast packet to PE1 through PW 12.
It should be noted that, when receiving the broadcast message sent by the CE1, the PE2 may also send the broadcast message to the CE1 and the PE3, which is not described herein in detail.
Step 302, PE1 receives the broadcast message sent by PE2 through port 213.
Step 303, when PE1 forwards the broadcast message through port 211, determining that port 211 issues a target ACL entry matching the broadcast message, and rejecting forwarding the broadcast message through port 211.
It should be noted that, when receiving the broadcast message sent by PE2 through port 213, PE1 may also send the broadcast message to CE2, which is not described herein in detail.
Therefore, in this embodiment, by the above setting, a target ACL entry is issued to a target port of a DF determined based on target port election, so that a loop of a broadcast message of a multi-homed CE device can be avoided, operations such as label insertion and pop-up do not need to be performed on the broadcast message, complexity of message forwarding operation is reduced, and ACL resource consumption is reduced.
Step 304, when PE2 receives the ARP request message sent by CE3, it is determined whether there is ARP information matching the destination IP address of the ARP request message locally. If yes, go to step 305; otherwise, go to step 306.
And 305, responding the ARP request message according to the local ARP information matched with the destination IP address of the ARP request message.
Step 306, broadcasting the ARP request message through the CPU.
As can be seen, in this embodiment, for a BDF determined based on target port election, by setting an ARP reply for a single-drop port, when a broadcast packet of a single-drop CE device received through the single-drop port needs to be forwarded, the broadcast packet is uploaded to a CPU, and is broadcasted by the CPU, so that normal forwarding of the packet is ensured.
As can be seen from the above description, in the technical solution provided in the embodiment of the present invention, when a PE device in a redundant backup group of a multi-active multi-homed EVPN VPLS networking receives a broadcast message sent by other PE devices in the redundant backup group, the PE device rejects sending the broadcast message through a target port according to a target ACL entry issued by the target port; when a broadcast message of non-multi-homing CE equipment is received, the broadcast message is broadcasted through a CPU, a target ACL table item is issued on the PE of the redundant backup group aiming at a target port, and the broadcast message of the multi-homing CE equipment can be prevented from forming a loop under the condition that ESI label insertion and ejection do not need to be carried out on the broadcast message; for the broadcast message of the non-multi-homing CE equipment, the normal forwarding of the message is ensured in a CPU broadcast mode; in addition, by issuing the ACL table items aiming at the target port, the ACL table items do not need to be issued respectively aiming at each AC port, and the consumption of ACL resources is reduced.
Referring to fig. 4, a schematic structural diagram of a message forwarding apparatus according to an embodiment of the present invention is provided, where the message forwarding apparatus may be applied to a PE device in a redundancy backup group in the foregoing method embodiment, and as shown in fig. 4, the message forwarding apparatus may include:
a receiving unit 410, configured to receive a message;
a sending unit 420, configured to, when the receiving unit 410 receives a broadcast packet sent by other PE devices in the redundant backup group, refuse to send the broadcast packet through the target port according to a target ACL entry issued by the target port; the target port is a port connected with the multi-homing CE equipment on the PE equipment, and the target ACL table entry is used for indicating the PE equipment to refuse to pass through the target port and forwarding the broadcast message sent by other PE equipment in the redundant backup group;
the sending unit 420 is further configured to broadcast, by the CPU, the broadcast packet when the receiving unit 410 receives the broadcast packet of the non-multihomed CE device.
In some embodiments, PE devices in the redundant backup group perform DF and BDF elections based on the port;
and target ACL table items are issued by a target port of the target PE equipment in the redundant backup group, and the target PE equipment is DF determined by election based on the target port in the redundant backup group.
In some embodiments, the sending unit 420 is specifically configured to broadcast, by the CPU, the broadcast packet when the receiving unit 410 receives the broadcast packet of the non-multihomed CE device and the PE device is a BDF determined by election based on the target port.
In some embodiments, the BDFs in the redundant backup set enable ARP replies for single-hanging ports;
a sending unit 420, configured to specifically determine whether there is ARP information matching a destination IP address of the ARP request packet locally when the receiving unit 410 receives, through the single-hanging port, an ARP request packet of the non-multihomed CE device and determines that the device is a BDF that is determined by election based on the target port; and when the ARP information matched with the target IP address of the ARP request message does not exist locally, broadcasting the ARP request message through the CPU.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
It can be seen from the above embodiments that, when a PE device in a redundant backup group of a multi-active multi-homed EVPN VPLS networking receives a broadcast message sent by another PE device in the redundant backup group, the PE device refuses to send the broadcast message through a target port according to a target ACL entry issued by the target port; when a broadcast message of non-multi-homing CE equipment is received, the broadcast message is broadcasted through a CPU, a target ACL table item is issued on the PE of the redundant backup group aiming at a target port, and the broadcast message of the multi-homing CE equipment can be prevented from forming a loop under the condition that ESI label insertion and ejection do not need to be carried out on the broadcast message; for the broadcast message of the non-multi-homing CE equipment, the normal forwarding of the message is ensured in a CPU broadcast mode; in addition, by issuing the ACL table items aiming at the target port, the ACL table items do not need to be issued respectively aiming at each AC port, and the consumption of ACL resources is reduced.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A message forwarding method is characterized in that the method is applied to service provider network edge (PE) equipment in a redundancy backup group of a multi-active multi-homing Ethernet Virtual Private Network (EVPN) virtual private local area network service (VPLS) networking, and the method comprises the following steps:
when receiving broadcast messages sent by other PE equipment in the redundancy backup group, refusing to send the broadcast messages through the target port according to a target Access Control List (ACL) item issued by the target port; the target port is a port connected with a multi-homing user network edge (CE) device on the PE device, and the target ACL table entry is used for indicating the PE device to refuse to pass through the target port and forwarding the broadcast message sent by other PE devices in the redundant backup group;
and when receiving the broadcast message of the non-multi-homing CE equipment, broadcasting the broadcast message through the CPU.
2. The method of claim 1, wherein PE devices in the redundant backup group conduct designated forwarder DF and backup designated forwarder BDF elections based on port;
and the target port of the target PE equipment in the redundant backup group issues the target ACL table item, and the target PE equipment is DF determined by election based on the target port in the redundant backup group.
3. The method according to claim 2, wherein the broadcasting the broadcast packet by the CPU when receiving the broadcast packet of the non-multihomed CE device comprises:
and when a broadcast message of the non-multi-homing CE equipment is received and the equipment is a BDF (BDF) for election determination based on the target port, broadcasting the broadcast message through the CPU.
4. The method of claim 2, wherein the BDFs in the redundant backup set enable address resolution protocol, ARP, replies for single-hanging ports;
when receiving a broadcast message of a non-home CE device, broadcasting the broadcast message through a CPU, including:
when an ARP request message of non-multi-homing CE equipment is received through a single hanging port and the equipment is determined to be BDF determined by election based on a target port, determining whether ARP information matched with a target IP address of the ARP request message exists locally;
and when the ARP information matched with the target IP address of the ARP request message does not exist locally, broadcasting the ARP request message through the CPU.
5. A message forwarding apparatus is applied to a service provider network edge PE device in a redundancy backup group of a multi-active multi-homing Ethernet virtual private network EVPN virtual private local area network service VPLS networking, and the apparatus comprises:
a receiving unit, configured to receive a packet;
a sending unit, configured to, when the receiving unit receives a broadcast packet sent by another PE device in the redundant backup group, refuse to send the broadcast packet through a target port according to a target access control list ACL entry issued by the target port; the target port is a port connected with a multi-homing user network edge (CE) device on the PE device, and the target ACL table entry is used for indicating the PE device to refuse to pass through the target port and forwarding the broadcast message sent by other PE devices in the redundant backup group;
the sending unit is further configured to broadcast, when the receiving unit receives a broadcast packet of the non-multihomed CE device, the broadcast packet through the CPU.
6. The apparatus of claim 5, wherein the PE devices in the redundant backup group conduct Port-based elections of designated forwarder DF and backup designated forwarder BDF;
and the target port of the target PE equipment in the redundant backup group issues the target ACL table item, and the target PE equipment is DF determined by election based on the target port in the redundant backup group.
7. The apparatus of claim 6,
the sending unit is specifically configured to broadcast, by the CPU, the broadcast packet when the receiving unit receives the broadcast packet of the non-multihomed CE device and the PE device is a BDF that is determined by election based on the target port.
8. The apparatus of claim 6, wherein the BDFs in the redundant backup set enable ARP (Address resolution protocol) replies for single hanging ports;
the sending unit is specifically configured to determine whether ARP information matching a destination IP address of the ARP request packet exists locally when the receiving unit receives an ARP request packet of a non-multihomed CE device through a single-hanging port and determines that the device is a BDF that is determined to elect based on a target port; and when the ARP information matched with the target IP address of the ARP request message does not exist locally, broadcasting the ARP request message through the CPU.
CN202110661428.0A 2021-06-15 2021-06-15 Message forwarding method and device Active CN113438174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661428.0A CN113438174B (en) 2021-06-15 2021-06-15 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661428.0A CN113438174B (en) 2021-06-15 2021-06-15 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN113438174A true CN113438174A (en) 2021-09-24
CN113438174B CN113438174B (en) 2022-07-01

Family

ID=77755848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661428.0A Active CN113438174B (en) 2021-06-15 2021-06-15 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN113438174B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909494A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Method and system for realizing dual attachment or multiple attachment of user network boundary device
US20130058349A1 (en) * 2011-09-01 2013-03-07 Ahmad Najib Khalil Systems and Methods for Routing Data in a Network
CN104601461A (en) * 2013-10-30 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in vertical intelligent resilient framework system
CN107948042A (en) * 2017-11-30 2018-04-20 新华三技术有限公司 A kind of message forwarding method and device
CN108696414A (en) * 2017-04-05 2018-10-23 中兴通讯股份有限公司 Return cut-in method, device and more home nodes more
CN110086714A (en) * 2018-01-25 2019-08-02 丛林网络公司 Multicast connection message is handled by more home devices in Ethernet VPN
CN112104547A (en) * 2020-08-05 2020-12-18 新华三技术有限公司 Method and device for avoiding loop in EVPN multi-homing networking
CN112235202A (en) * 2020-10-21 2021-01-15 新华三信息安全技术有限公司 Load sharing method, device, equipment and machine readable storage medium
CN112367238A (en) * 2020-09-29 2021-02-12 新华三大数据技术有限公司 Message processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909494A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Method and system for realizing dual attachment or multiple attachment of user network boundary device
US20130058349A1 (en) * 2011-09-01 2013-03-07 Ahmad Najib Khalil Systems and Methods for Routing Data in a Network
CN104601461A (en) * 2013-10-30 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in vertical intelligent resilient framework system
CN108696414A (en) * 2017-04-05 2018-10-23 中兴通讯股份有限公司 Return cut-in method, device and more home nodes more
CN107948042A (en) * 2017-11-30 2018-04-20 新华三技术有限公司 A kind of message forwarding method and device
CN110086714A (en) * 2018-01-25 2019-08-02 丛林网络公司 Multicast connection message is handled by more home devices in Ethernet VPN
CN112104547A (en) * 2020-08-05 2020-12-18 新华三技术有限公司 Method and device for avoiding loop in EVPN multi-homing networking
CN112367238A (en) * 2020-09-29 2021-02-12 新华三大数据技术有限公司 Message processing method and device
CN112235202A (en) * 2020-10-21 2021-01-15 新华三信息安全技术有限公司 Load sharing method, device, equipment and machine readable storage medium

Also Published As

Publication number Publication date
CN113438174B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US20180287990A1 (en) Layer 3 convergence for evpn link failure
EP3065342B1 (en) Update of mac routes in evpn single-active topology
US9860150B2 (en) Fast convergence of EVPN networks for multi homing topologies
US10193812B2 (en) Multicast load balancing in multihoming EVPN networks
US9755958B2 (en) Fast convergence in VRRP with multipoint bidirectional forwarding detection
EP3151485A1 (en) Egress node protection in evpn all-active topology
EP3148127A1 (en) Egress protection for bum traffic with link failures in evpn
EP3188415A1 (en) Static route advertisement
US10142239B2 (en) Synchronizing multicast state between multi-homed routers in an Ethernet virtual private network
US8787149B1 (en) MAC address synchronization for multi-homing with multichassis link aggregation
US9858163B2 (en) Dual adjacency between edge devices at a network site
US9143396B2 (en) VPLS fast rerouting method and device
EP3322136B1 (en) Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
US10033539B1 (en) Replicating multicast state information between multi-homed EVPN routing devices
US9860169B1 (en) Neighbor resolution for remote EVPN hosts in IPV6 EVPN environment
US9954694B2 (en) Traffic black holing avoidance and fast convergence for active-active PBB-EVPN redundancy
EP3276895A1 (en) Communicating igmp leave requests between load-balanced, multi-homed provider-edge routers in an ethernet virtual private network
CN113438174B (en) Message forwarding method and device
CN111064596A (en) Node protection for BUM traffic for multi-homed node failures
EP3151486A1 (en) Fast convergence of evpn networks for multi homing topologies
CN111565141B (en) Data transmission method, first PE and second PE
EP3396897B1 (en) Multicast load balancing in multihoming evpn networks
CN114615185A (en) Information processing method, apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant