CN111698156B - Data message forwarding method and device - Google Patents

Data message forwarding method and device Download PDF

Info

Publication number
CN111698156B
CN111698156B CN202010361080.9A CN202010361080A CN111698156B CN 111698156 B CN111698156 B CN 111698156B CN 202010361080 A CN202010361080 A CN 202010361080A CN 111698156 B CN111698156 B CN 111698156B
Authority
CN
China
Prior art keywords
interface
tunnel
data message
encapsulation information
aggregation
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.)
Active
Application number
CN202010361080.9A
Other languages
Chinese (zh)
Other versions
CN111698156A (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 CN202010361080.9A priority Critical patent/CN111698156B/en
Publication of CN111698156A publication Critical patent/CN111698156A/en
Application granted granted Critical
Publication of CN111698156B publication Critical patent/CN111698156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/22Alternate 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
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

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

A data message forwarding method and device. The service provider PE and opposite end edge equipment connected with the same user edge equipment establish a bypass tunnel; binding an AC interface of a local access circuit AC connected with the user edge equipment and a bypass tunnel interface of a bypass tunnel into an aggregation interface; setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface; receiving a first encapsulated data message; searching an output interface of the first data message after the first encapsulated data message is de-encapsulated as an aggregation interface, and re-encapsulating the first data message according to output direction encapsulation information of the AC interface; and sending the repackaged first data message through an output port of the AC interface.

Description

Data message forwarding method and device
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for forwarding a data packet.
Background
EVPN (ethernet Virtual Private network) is a two-layer vpn (Virtual Private network) technology, in EVPN networking, a head-end device of a tunnel encapsulates two-layer data (such as ethernet data packets, ATM cells, etc.) of a user by IP (internet protocol) or MPLS, transmits the encapsulated data packets to a tunnel tail-end through an IP path or an MPLS tunnel, decapsulates the received encapsulated data packets into two-layer data, and transmits the two-layer data to a destination device according to a destination address of the two-layer data, thereby realizing transparent transmission of the two-layer data across MPLS or IP networks between different sites.
In order to improve the high reliability of the access side, the EVPN protocol specifies a dual-homing network architecture, and a ce (customer edge) dual-homing device connected with a terminal device is connected to two pe (provider edge) devices. However, in this architecture, when one of the PE links the dual-homed CE to the AC (attached circuit) link is disconnected, the PE device that disconnects the AC link as the tunnel tail end cannot send the received encapsulated data packet to the CE device, resulting in packet loss.
Disclosure of Invention
The present application aims to provide a data message forwarding method and apparatus, which perform backup on an access circuit accessing a user edge device.
To achieve the above object, the present application provides a data message forwarding method, which includes: establishing a bypass tunnel with opposite end edge equipment connected with the same user edge equipment; binding an AC interface of a local access circuit AC connected with a user edge device and a bypass tunnel interface of a bypass tunnel into an aggregation interface; setting the encapsulation information of the output port and the output direction of the aggregation interface according to the encapsulation information of the output port and the output direction of the AC interface; receiving a first encapsulated data message; searching an output interface of the first data message after the first encapsulated data message is de-encapsulated as an aggregation interface, and re-encapsulating the first data message according to output direction encapsulation information of the AC interface; and sending the repackaged first data message through an output port of the AC interface.
In order to achieve the above object, the present application further provides a data packet forwarding apparatus, including: the tunnel module is used for establishing a bypass tunnel with opposite end edge equipment connected with the same user edge equipment; binding an AC interface of a local access circuit AC connected with a user edge device and a bypass tunnel interface of a bypass tunnel into an aggregation interface; setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface; the receiving module is used for receiving the first encapsulation data message; the forwarding module is used for searching an outgoing interface of the first data message after the first encapsulated data message is de-encapsulated as an aggregation interface, and re-encapsulating the first data message according to outgoing direction encapsulation information of the AC interface; and sending the repackaged first data message through an output port of the AC interface.
The method has the advantages that in the EVPN CE dual-home network architecture, the PEs respectively bind the data messages of the access circuit and the data messages of the CE through the aggregation logic ports of the bypass tunnels, and each PE can back up the AC accessed to the CE, so that when the AC accessed to the CE is in failure, the data messages are bypassed to another PE through the bypass tunnel bound by the aggregation logic ports to be sent to the CE, and packet loss is avoided.
Drawings
Fig. 1 is a schematic flowchart illustrating an embodiment of a data packet forwarding method provided in the present application;
fig. 2 is a schematic diagram illustrating an embodiment of dual-homed network architecture forwarding provided in the present application;
FIG. 3 is a schematic diagram illustrating an embodiment of a switch to a bypass tunnel provided by the present application;
fig. 4 is a schematic diagram illustrating an embodiment of a message forwarding apparatus according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
The embodiment of the data packet forwarding method provided by the present application shown in fig. 1 includes:
step 101, establishing a bypass tunnel with an opposite end edge device connected with the same user edge device;
step 102, binding an AC interface of a local access circuit AC connected with a user edge device and a bypass tunnel interface of a bypass tunnel into an aggregation interface;
103, setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface;
step 104, receiving a first encapsulated data message;
step 105, finding an outgoing interface of the first data message after the first encapsulated data message is de-encapsulated as an aggregation interface, and re-encapsulating the first data message according to outgoing direction encapsulation information of the AC interface;
and step 106, sending the re-encapsulated first data message through an output port of the AC interface.
The message forwarding method shown in fig. 1 has the beneficial effects that under the dual-homing architecture of the EVPN network, the PE device backs up the access circuit of the access user edge device, thereby avoiding packet loss.
Fig. 2 is a schematic diagram illustrating an embodiment of forwarding in a dual-home network architecture provided in the present application. In the architecture, the CE23 accesses the PE21 and the PE22 through the AC211 and the AC221, respectively; CE25 accesses PE24 through an access circuit. The ESI (Ethernet Segment Identifier) of the AC211 provided on PE21 is the same as the ESI of the AC221 provided on PE 22. The access circuit configuration ESI on PE24 for access CE25 is also used to uniquely identify the site where CE25 resides within the VSI.
PE21, PE22 and PE24 respectively send messages for establishing EVPN tunnel routing protocol. PE21 and PE22 receive the routing protocol message of CE23 respectively, and establish the EVPN tunnel connected to CE23 in VSI, and CE23 receives the routing protocol message of PE21 and PE22 respectively, and establishes the EVPN tunnel connected to PE21 and PE22 respectively in VSI, which is not limited in this application.
In the present application, PE21 receives the routing protocol packet from PE22, determines that the VSI identifier and ESI identifier carried in the received routing protocol packet are the same as the ESI identifier of AC211 in the same VSI of the present device, and determines that PE22 is connected to the same user edge device, that is, CE 23. The PE21 establishes a bypass tunnel PW (pseudo wire) 212 connected to the PE22 according to the source IP address of the routing protocol packet and the IP address of the device, where the source IP address of the PW212 is the IP address of the PE21, and the destination IP address is the source IP address in the received routing protocol packet of the PE 22.
PE22 receives the routing protocol message of PE21, determines that the VSI identifier and the ESI identifier carried in the received routing protocol message are the same as the ESI identifier of AC221 in the same VSI of the device, and determines that PE21 is connected to the same user edge device. The PE22 establishes the PW222 connected to the PE21 according to the source IP address of the received routing protocol packet and the IP address of the device, where the source IP address of the PW222 is the IP address of the PE22, and the destination IP address is the source IP address of the received routing protocol packet from the PE 21.
As shown in fig. 2, PE21 and PE22, which connect the same CE23, establish a pair of bypass tunnels PW212 and PW 222. PE21 binds the AC interface of AC211 and the PW interface of PW212 to be aggregate interface L1, and PE22 binds the AC interface of AC221 and the PW interface of PW222 to be aggregate interface L2.
The PE21 sets the egress port and egress direction encapsulation information of the AC interface of the AC211 as aggregation interface egress port and aggregation interface egress direction encapsulation information of the aggregation interface L1.
The PE22 sets the egress port and egress direction encapsulation information of the AC interface of the AC221 as aggregation interface egress port and aggregation interface egress direction encapsulation information of the aggregation interface L2.
CE23 receives a two-layer data packet (ethernet data packet, ATM data packet) of a terminal device of a local site, calculates a hash value of characteristic information (triplet, quintet, or heptatuple) of the two-layer data packet according to a load sharing algorithm, selects an output port matched with the hash value to transmit the received two-layer data packet, and shares the two-layer data packet that the local site needs to transmit through the EVPN network uniformly to PE21 and PE22, which is not described in detail herein for a load sharing algorithm familiar to those skilled in the art.
When the two-layer data packet is an ethernet data packet, the PE21 recognizes that the forwarding table entry of the EVPN forwarding embodiment is learned through the AC211 according to the received data packet (for example, according to a port receiving the packet or a VLAN and a port receiving the packet, which is not limited in this application), receives the source MAC address, and the aggregation interface L1 bound to the AC211 interface.
Similarly, when the PE22 receives the ethernet data packet, it identifies that the source MAC address and the aggregation interface L2 bound to the AC221 interface are learned to forward the forwarding table entry of the EVPN forwarding embodiment through the AC221 according to the received data packet.
And the PE21 and the PE22 respectively search matched forwarding table items according to the destination MAC address of the received Ethernet message data message and forward the forwarding table items.
The CE25 receives the end-point ethernet datagram 30 from the local site and sends it to the PE 24. The PE24 calculates a hash value of the feature information (triplet, quintuple, or heptatuple) of the packet 30 according to the load sharing algorithm, selects an EVPN tunnel with a matching hash value, encapsulates the ethernet packet 30 into an EVPN data packet 31, and sends the encapsulated EVPN data packet 31 to the PE21 or PE22 connected to the selected EVPN tunnel.
The PE21 receives the EVPN data packet 31, decapsulates the EVPN data packet into an ethernet data packet 30, finds that the egress interface is the aggregation interface L1 in the forwarding table of the VSI according to the destination MAC address of the ethernet data packet, encapsulates the ethernet data packet 30 into the ethernet data packet 32 according to the VLAN information of the AC211 set in the egress direction encapsulation information of the aggregation interface L1, and then sends the ethernet data packet 32 according to the egress port of the AC interface of the AC211 set in the egress port information of the aggregation port L1.
When receiving the EVPN data packet from PE24, PE22 executes forwarding processing of the same principle, so as to repackage the decapsulated ethernet data packet according to the encapsulation information VLAN information of AC221 set in the egress direction encapsulation information of aggregation interface L2, and then sends the repackaged ethernet data packet according to the egress port of the AC interface of AC221 set in the egress port information of aggregation port L2.
Under the dual-homing architecture of the EVPN network shown in fig. 2, the AC211 and the AC221 of the CE23 accessed by the PE21 and the PE22 back up each other.
Fig. 3 shows an embodiment of switching to a bypass tunnel according to the present application, where a protocol packet between PE21 and PE22 that detects a link state through BFD (Bidirectional Forwarding Detection) and the like may respectively detect AC211 and AC221 of CE 23.
When PE21 detects AC211 fault, the output port and output direction encapsulation information of PW211 interface is set as the aggregation interface output port and aggregation interface output direction encapsulation information of aggregation interface L1.
The PE21 receives the EVPN data packet 31 again, decapsulates the EVPN data packet into an ethernet data packet 30, finds out that the egress interface is the aggregation interface L1 in the forwarding table of the VSI according to the destination MAC address of the ethernet data packet, encapsulates the ethernet data packet 30 into a three-layer VPN data packet 34 according to the encapsulation information of the PW211 set in the encapsulation information of the egress direction of the aggregation interface L1, and then sends the two-layer VPN data packet 34 to the PE22 according to the egress port of the PW interface of the PW212 set in the egress port information of the aggregation port L1.
The PE22 receives the two-layer VPN data packet 34, decapsulates the packet into the ethernet data packet 30, finds out that the egress interface is the aggregation interface L2 in the forwarding table of the VSI according to the destination MAC address of the ethernet data packet, encapsulates the ethernet data packet 30 into the ethernet data packet 35 according to the VLAN information of the AC221 set in the egress direction encapsulation information of the aggregation interface L2, and then sends the ethernet data packet 35 according to the egress port of the AC interface of the AC221 set in the egress port information of the aggregation port L2.
The PE21 and the PE22 access the AC211 and the AC221 of the CE23 to back up each other, even if the AC211 of the PE21 connected with the dual-homing CE23 is disconnected, the PE21 re-encapsulates the message and then sends the message to the PE22 through a bypass tunnel, and the PE22 forwards the data message to the CE23, so that packet loss is avoided.
When PE21 detects that AC211 is restored, PE21 sets the egress port of the aggregate interface and the egress direction encapsulation information of the aggregate interface L1 according to the egress port and the egress direction encapsulation information of the AC211 interface. Thus, the subsequent PE21 receives the EVPN data packet 31 of the second layer, and forwards the EVPN data packet in the forwarding manner shown in fig. 2.
Fig. 4 is a schematic diagram illustrating an embodiment of a data packet forwarding apparatus according to the present application. The forwarding apparatus 400 includes: a tunnel module 61, a receiving module 62, a forwarding module 63 and a detection module 64. A tunnel module 61, configured to establish a bypass tunnel with an opposite-end edge device connected to the same user edge device; binding an AC interface of a local access circuit AC connected with a user edge device and a bypass tunnel interface of a bypass tunnel into an aggregation interface; and setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface. The receiving module 62 is configured to receive the first encapsulated data packet. A forwarding module 63, configured to find an outgoing interface of the first data packet after decapsulation of the first encapsulated data packet as an aggregation interface, and encapsulate the first data packet again according to outgoing direction encapsulation information of the AC interface; and sending the repackaged first data message through an output port of the AC interface.
The tunnel module 61 sends a tunnel to establish a route; receiving a tunnel and establishing a route; determining that the Ethernet link network segment identifier and the virtual exchange instance identifier carried by the received far-end tunnel establishment route are the same as the Ethernet link network segment identifier and the virtual exchange instance identifier of the sent local tunnel establishment route; establishing a route according to the received far-end tunnel to acquire a three-layer address of opposite-end edge equipment; and establishing the bypass tunnel by taking the local three-layer address as a three-layer source address and the obtained three-layer address of the opposite end edge device as a three-layer destination address.
The receiving module 61 is further configured to receive a second data packet through the local AC; the forwarding module 62 is further configured to learn a forwarding entry according to the source address information of the second data message and the aggregation interface bound to the AC interface; and packaging the second data message according to the far-end tunnel interface outgoing direction packaging information of the far-end tunnel corresponding to the destination address information of the second data message, and sending the packaged second data message through the outgoing port of the far-end tunnel interface.
A receiving module 62, further configured to receive the first encapsulated data packet through the bypass tunnel; or for receiving the first encapsulated data packet through the remote tunnel.
A detection module 64 for detecting an AC fault. The tunnel module 61 is further configured to set the egress port of the aggregation interface and the egress direction encapsulation information of the aggregation interface as egress port and egress direction encapsulation information of the aggregation interface according to the egress port and egress direction encapsulation information of the bypass tunnel interface. The receiving module 62 is further configured to receive a third encapsulated data packet through the far-end tunnel. The forwarding module 64 is further configured to find that the outgoing interface of the third data packet after decapsulation of the third encapsulated data packet is an aggregation interface, and encapsulate the third data packet again according to the outgoing direction encapsulation information of the bypass tunnel interface; and sending the repackaged third data message through an output port of the bypass tunnel interface.
The detection module 64 is further configured to detect AC restoration. The tunnel module 61 is further configured to set an egress port of the aggregation interface and egress direction encapsulation information of the aggregation interface according to the egress port and egress direction encapsulation information of the AC interface. The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method for forwarding data messages, the method comprising:
establishing a bypass tunnel with opposite end edge equipment connected with the same user edge equipment;
binding an AC interface of a local Access Circuit (AC) connected with the user edge equipment and a bypass tunnel interface of the bypass tunnel into an aggregation interface;
setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface;
receiving a first encapsulated data message;
searching an output interface of the first data message after the first encapsulated data message is de-encapsulated as the aggregation interface, and re-encapsulating the first data message according to output direction encapsulation information of the AC interface; and sending the re-encapsulated first data message through an output port of the AC interface.
2. The method of claim 1, further comprising:
receiving a second data message through the local AC;
learning forwarding table items according to the source address information of the second data message and the aggregation interface bound with the AC interface;
and encapsulating the second data message according to the far-end tunnel interface outgoing direction encapsulation information of the far-end tunnel corresponding to the destination address information of the second data message, and sending the encapsulated second data message through the outgoing port of the far-end tunnel interface.
3. The method of claim 2,
receiving the first encapsulated data packet through the bypass tunnel; or
And receiving the first encapsulated data message through the far-end tunnel.
4. The method of claim 2, further comprising:
detecting the AC fault;
setting the encapsulation information of the output port and the output direction of the aggregation interface according to the encapsulation information of the output port and the output direction of the bypass tunnel interface;
receiving a third encapsulated data message through the remote tunnel;
finding an outlet interface of the third data message after the third encapsulated data message is decapsulated as the aggregation interface, and re-encapsulating the third data message according to outlet direction encapsulation information of the bypass tunnel interface; and sending the re-encapsulated third data message through the output port of the bypass tunnel interface.
5. The method of claim 4, further comprising:
detecting the AC restoration;
and setting the output port and the output direction encapsulation information of the aggregation interface as the output port and the output direction encapsulation information of the aggregation interface according to the output port and the output direction encapsulation information of the AC interface.
6. The method of claim 1, wherein establishing a bypass tunnel with a peer edge device connected to the same customer edge device comprises:
sending a local tunnel to establish a route;
receiving a far-end tunnel and establishing a route;
determining that the Ethernet link network segment identifier and the virtual exchange instance identifier carried by the received far-end tunnel establishment route are the same as the Ethernet link network segment identifier and the virtual exchange instance identifier of the sent local tunnel establishment route;
establishing a route according to the received far-end tunnel to obtain a three-layer address of the opposite-end edge equipment;
and establishing the bypass tunnel by taking the local three-layer address as a three-layer source address and the obtained three-layer address of the opposite end edge device as a three-layer destination address.
7. An apparatus for forwarding data messages, the apparatus comprising:
the tunnel module is used for establishing a bypass tunnel with opposite-end edge equipment connected with the same user edge equipment; binding an AC interface of a local Access Circuit (AC) connected with the user edge equipment and a bypass tunnel interface of the bypass tunnel into an aggregation interface; setting the encapsulation information of the output port and the output direction of the aggregation interface according to the encapsulation information of the output port and the output direction of the AC interface;
the receiving module is used for receiving the first encapsulation data message;
a forwarding module, configured to find an outgoing interface of the first data packet after decapsulation of the first encapsulated data packet as the aggregation interface, and encapsulate the first data packet again according to outgoing direction encapsulation information of the AC interface; and sending the repackaged first data message through the output port of the AC interface.
8. The apparatus of claim 7, wherein the apparatus is a portable electronic device
The receiving module is further configured to receive a second data packet through the local AC;
the forwarding module is further configured to learn a forwarding table entry according to the source address information of the second data packet and the aggregation interface bound to the AC interface; and encapsulating the second data message according to the far-end tunnel interface outgoing direction encapsulation information of the far-end tunnel corresponding to the destination address information of the second data message, and sending the encapsulated second data message through the outgoing port of the far-end tunnel interface.
9. The apparatus of claim 8,
the receiving module is further configured to receive the first encapsulated data packet through the bypass tunnel; or for receiving the first encapsulated data packet through the remote tunnel.
10. The apparatus of claim 8, further comprising: a detection module;
the detection module is used for detecting the AC fault;
the tunnel module is further configured to set, according to the egress port and egress direction encapsulation information of the bypass tunnel interface, aggregation interface egress port and aggregation interface egress direction encapsulation information of the aggregation interface;
the receiving module is further configured to receive a third encapsulated data packet through the remote tunnel;
the forwarding module is further configured to find that an outgoing interface of the third data packet after decapsulation of the third encapsulated data packet is the aggregation interface, and encapsulate the third data packet again according to outgoing direction encapsulation information of the bypass tunnel interface; and sending the repackaged third data message through the output port of the bypass tunnel interface.
11. The apparatus of claim 10,
the detection module is further configured to detect that the AC is restored;
the tunnel module is further configured to set the aggregation interface egress port and aggregation interface egress direction encapsulation information of the aggregation interface according to the egress port and egress direction encapsulation information of the AC interface.
12. The apparatus of claim 7,
the tunnel module and the opposite end edge device connected with the same user edge device establish a bypass tunnel comprises the following steps: sending a local tunnel to establish a route; receiving a far-end tunnel and establishing a route; determining that the Ethernet link network segment identifier and the virtual exchange instance identifier carried by the received far-end tunnel establishment route are the same as the Ethernet link network segment identifier and the virtual exchange instance identifier of the sent local tunnel establishment route; establishing a route according to the received far-end tunnel to obtain a three-layer address of the opposite-end edge equipment; and establishing the bypass tunnel by taking the local three-layer address as a three-layer source address and the obtained three-layer address of the opposite end edge device as a three-layer destination address.
CN202010361080.9A 2020-04-30 2020-04-30 Data message forwarding method and device Active CN111698156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010361080.9A CN111698156B (en) 2020-04-30 2020-04-30 Data message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010361080.9A CN111698156B (en) 2020-04-30 2020-04-30 Data message forwarding method and device

Publications (2)

Publication Number Publication Date
CN111698156A CN111698156A (en) 2020-09-22
CN111698156B true CN111698156B (en) 2022-08-30

Family

ID=72476867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010361080.9A Active CN111698156B (en) 2020-04-30 2020-04-30 Data message forwarding method and device

Country Status (1)

Country Link
CN (1) CN111698156B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472665B (en) * 2021-06-17 2022-11-18 新华三信息安全技术有限公司 Method and device for realizing butt joint of different networks under EVPN

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008092357A1 (en) * 2007-01-25 2008-08-07 Huawei Technologies Co., Ltd. A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN105591868A (en) * 2015-07-15 2016-05-18 杭州华三通信技术有限公司 Virtual private network VPN access method and device
CN107819677A (en) * 2017-10-26 2018-03-20 新华三技术有限公司 A kind of message forwarding method and device
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN108306806A (en) * 2018-02-06 2018-07-20 新华三技术有限公司 A kind of message forwarding method and device
CN109639552A (en) * 2018-12-24 2019-04-16 新华三技术有限公司 A kind of three-layer forwarding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008092357A1 (en) * 2007-01-25 2008-08-07 Huawei Technologies Co., Ltd. A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN105591868A (en) * 2015-07-15 2016-05-18 杭州华三通信技术有限公司 Virtual private network VPN access method and device
CN108243114A (en) * 2016-12-26 2018-07-03 华为技术有限公司 A kind of method to E-Packet, equipment and system
CN107819677A (en) * 2017-10-26 2018-03-20 新华三技术有限公司 A kind of message forwarding method and device
CN108306806A (en) * 2018-02-06 2018-07-20 新华三技术有限公司 A kind of message forwarding method and device
CN109639552A (en) * 2018-12-24 2019-04-16 新华三技术有限公司 A kind of three-layer forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
自建立虚拟专用网络技术的设计与实现;胡法红;《兰州交通大学学报》;20141215(第06期);全文 *

Also Published As

Publication number Publication date
CN111698156A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN109873760B (en) Method and device for processing route, and method and device for data transmission
CN107819677B (en) Message forwarding method and device
CN107547402B (en) Forwarding table generation method and device
US9444642B2 (en) LAN multiplexing apparatus
EP2803173B1 (en) Expanding network functionalities for openflow based split-architecture networks
US8565230B2 (en) Shared virtual tunnels supporting Mac learning in communication networks
CN102571426B (en) Double-homing protection method and device
CN109995654B (en) Method and device for transmitting data based on tunnel
CN101110745A (en) Method, device and system for engaging second layer network and third layer network
CN105706393A (en) Method and system of supporting operator commands in link aggregation group
CN112887188B (en) Message forwarding method and device
US8503290B2 (en) Communicating data units in a communications network that provides failure protection
CN109617803B (en) Forwarding table item generation method, device and equipment
WO2014205784A1 (en) Method and device for processing multicast message in nvo3 network, and nvo3 network
CN107547340B (en) Message forwarding method and device
US20090225660A1 (en) Communication device and operation management method
US20150341263A1 (en) Associating internet protocol (ip) addresses with ethernet virtualisation interconnection (evi) links
CN115314467B (en) Data communication system and method based on distribution network differential protection
WO2016197950A1 (en) Route detection method, router device and system
CN111698156B (en) Data message forwarding method and device
WO2015096512A1 (en) Packet transmission method and device based on trill network
CN113452606B (en) Communication method and device
CN113794615B (en) Message forwarding method and device
CN112910790B (en) Diversion system and method thereof
CN115174438B (en) Method for identifying service connectivity of VPWS dual-activity dual-homing

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