CN110365578B - Network interface control and link switching method, device, network equipment and medium - Google Patents

Network interface control and link switching method, device, network equipment and medium Download PDF

Info

Publication number
CN110365578B
CN110365578B CN201910706151.1A CN201910706151A CN110365578B CN 110365578 B CN110365578 B CN 110365578B CN 201910706151 A CN201910706151 A CN 201910706151A CN 110365578 B CN110365578 B CN 110365578B
Authority
CN
China
Prior art keywords
layer
forwarding
interface
forwarding interface
layer forwarding
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
CN201910706151.1A
Other languages
Chinese (zh)
Other versions
CN110365578A (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 Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201910706151.1A priority Critical patent/CN110365578B/en
Publication of CN110365578A publication Critical patent/CN110365578A/en
Application granted granted Critical
Publication of CN110365578B publication Critical patent/CN110365578B/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
    • 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/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/08Learning-based routing, e.g. using neural networks or artificial intelligence
    • 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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a network interface control and link switching method, a network interface control and link switching device, network equipment and a medium, which are used for reducing packet loss of aggregated network equipment and improving the reliability of data forwarding. The network interface control method comprises the following steps: a three-layer forwarding interface of the aggregation network equipment receives a data message from a two-layer network interface of the aggregation network equipment; if the aggregation network device detects that the next hop route of the data message forwarded by the three-layer forwarding interface is unreachable, searching the two-layer forwarding interface identifier corresponding to the next hop route information from the established corresponding relationship between the route information and the two-layer forwarding interface identifier, and closing the corresponding two-layer forwarding interface according to the searched two-layer forwarding interface identifier.

Description

Network interface control and link switching method, device, network equipment and medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method, an apparatus, and a medium for network interface control and link switching.
Background
MPLS (Multi-Protocol Label Switching) L2VPN (Link 2 Virtual Private Network, two-layer Virtual Private Network) can be used as an access Network to access a user to an MPLS L3VPN or an IP backbone. Both MPLS L2VPN technology providing point-to-point connections and VPLS technology providing inter-multipoint connections support the functionality of L2VPN access to L3VPN or IP backbone.
The networking mode of accessing the L2VPN to the L3VPN or the IP backbone is as shown in fig. 1, and a device is deployed at the connection between the MPLS L2VPN and the MPLS L3VPN (or the IP backbone) to implement the MPLS L2VPN termination and the MPLS L3VPN access function. As shown in fig. 1, a PE-agg (Aggregation VPN access router) connecting an MPLS L2VPN and an MPLS L3VPN (or IP backbone) may be used to terminate the MPLS L2VPN, or may be used to access the MPLS L3VPN or the IP backbone. The PE-agg realizes the functions by the following methods:
a VE (Virtual Ethernet) interface, i.e. a VE-L2VPN (L2VE for short), for terminating the MPLS L2VPN packet is created on the PE-agg. A VE interface, namely a VE-L3VPN (L3VE for short), for accessing the message to the backbone network is created on the PE-agg. The IP address of the interface needs to be on the same network segment as the IP address of CE (customer edge router) 1. When the MPLS L3VPN is used as a backbone Network, a Virtual Private Network (VPN) needs to be bound to an L3VE interface, so as to forward a user packet through a Private Network route. When transmitting data messages, the L2VE interface directly transfers the restored original two-layer messages to the L3VE interface with the same interface number, wherein the L2VE interface and the L3VE interface with the same interface number are as if the interfaces are directly connected through a physical line. For the situation that a CE accessed by the L2VPN has a plurality of vlan sub-interfaces, the VE port is provided with a corresponding L2VE sub-interface and an L3VE sub-interface, and the number of the L2VE interface is consistent with that of the L3VE interface, and finally the CE can enter the VPN corresponding to the L3VE port to perform table lookup and forwarding.
As shown in fig. 2, it is a schematic diagram of a networking when the L2VPN accesses the L3VPN or the backbone network in the active/standby scenario. NE41 is connected to NE31 and NE32, respectively, and is the L2 side of L2VPN access L3VPN networking, and NE41, NE31 and NE32 are connected by virtual private line (PW), where NE31 is the primary, NE32 is the backup, NE31 and NE32 are both PE-AGG, and both are configured with L2VE interface and L3VE interface, L3VE interface binds VPN (virtual private network), NE31 and NE32 establish neighbor relation related to L3VPN with NE11, and subsequent NE31 and NE32 forward packet to NE11 by forwarding table.
For the L2VPN access L3VPN networking shown in fig. 2, if a link failure occurs in L5+ L9, according to the prior art, the L3VPN side of NE31 can sense the failure, but since the side to which NE41 accesses is the L2VPN, it cannot sense the link failure, so the L2VPN of NE41 considers that NE31 is still available, and thus the packet is still forwarded to NE31, and the L3VPN side of NE31 cannot forward the packet to NE11 due to the failure, so that the packet is discarded, and the reliability of data packet forwarding is reduced.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a network device, and a medium for network interface control and link switching, so as to reduce packet loss of aggregation network devices and improve reliability of data forwarding.
In a first aspect, a network interface control method is provided, including:
a three-layer forwarding interface of aggregation network equipment receives a data message from a two-layer network interface of the aggregation network equipment;
if the aggregation network device detects that the next hop route of the data message forwarded by the three-layer network interface is unreachable, searching a two-layer forwarding interface identifier corresponding to the next hop route information from the corresponding relationship between the route information and the two-layer forwarding interface identifier;
and the aggregation network equipment closes the found two-layer forwarding interface identifier according to the found two-layer forwarding interface identifier.
In a possible implementation manner, the correspondence between the routing information and the identifier of the two-layer forwarding interface is obtained according to the following method:
acquiring a forwarding table corresponding to the three-layer forwarding interface, wherein the forwarding table comprises a corresponding relation between a three-layer forwarding interface identifier and next hop routing information;
and establishing a corresponding relation between the next hop routing information and the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier according to the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier configured in advance.
In a possible implementation manner, the method for controlling a network interface provided in an embodiment of the present invention further includes:
and if the next hop route is detected to be recovered, opening a two-layer forwarding interface corresponding to the two-layer forwarding interface identifier.
In one possible embodiment, the layer two forwarding interface comprises a layer two virtual ethernet interface; the three-layer forwarding interface comprises a three-layer virtual Ethernet interface.
In one possible embodiment, the aggregation network device is configured to connect a layer two virtual private network L2VPN with a layer three virtual private network L3VPN or a backbone network.
In a second aspect, an embodiment of the present invention provides a link switching method, including:
detecting whether a two-layer forwarding interface of a main aggregation network device is closed, wherein the two-layer forwarding interface is closed by the main aggregation network device according to the method of any network interface control method;
and if the condition that the two-layer forwarding interface of the main aggregation network equipment is closed is detected, triggering the switching of the forwarding link connected with the two-layer forwarding interface.
In a possible implementation manner, triggering the forwarding link switching connected to the two-layer forwarding interface specifically includes:
aiming at the forwarding link connected with the two-layer forwarding interface, simultaneously starting routing hard switching and switching the main forwarding link connected with the two-layer forwarding interface on a main aggregation network device to a backup forwarding link of the main forwarding link configured by a backup aggregation network device;
if the route hard switching is completed before the main forwarding link is switched to the backup forwarding link, the data message is forwarded according to the newly-built forwarding link after the route hard switching;
if the main forwarding link is switched to the backup forwarding link before the routing hard switching is completed, the main forwarding link is switched to the backup forwarding link to forward the data message.
In a possible implementation, the link switching method provided in the embodiment of the present invention further includes:
and if the two-layer forwarding interface is detected to be opened, switching back to a forwarding link connected with the two-layer forwarding interface to forward the data message.
In a third aspect, a network interface control apparatus is provided, including:
a receiving unit, configured to receive a data packet forwarded by the second-layer forwarding interface from the third-layer forwarding interface;
a searching unit, configured to search, if it is detected that a next hop route for forwarding the data packet by the three-layer network interface is unreachable, a two-layer forwarding interface identifier corresponding to next hop route information from a correspondence between route information and a two-layer forwarding interface identifier;
and the network interface control unit is used for closing the corresponding two-layer forwarding interface according to the searched two-layer forwarding interface identifier.
In a possible implementation manner, a network interface control apparatus provided in an embodiment of the present invention further includes:
an obtaining unit, configured to obtain a forwarding table corresponding to the three-layer forwarding interface, where the forwarding table includes a correspondence between an identifier of the three-layer forwarding interface and next hop routing information;
and the mapping unit is used for establishing the corresponding relation between the next hop routing information and the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier according to the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier configured in advance.
In a possible implementation manner, the network interface control unit is further configured to open a second-layer forwarding interface corresponding to the second-layer forwarding interface identifier if it is detected that the next-hop route is recovered.
In one possible embodiment, the layer two forwarding interface comprises a layer two virtual ethernet interface; the three-layer forwarding interface comprises a three-layer virtual Ethernet interface.
In a fourth aspect, a link switching apparatus is provided, including:
a detecting unit, configured to detect whether a two-layer forwarding interface of a main aggregation network device is closed, where the two-layer forwarding interface is closed by the main aggregation network device according to the method described in any network interface control method;
and the link switching unit is used for triggering link switching if the condition that the two-layer forwarding interface of the main aggregation network device is closed is detected.
In a possible implementation manner, the link switching unit is specifically configured to, for a forwarding link connected to the two-layer forwarding interface, simultaneously start a routing hard switch and switch a main forwarding link connected to the two-layer forwarding interface on a main aggregation network device to a backup forwarding link of the main forwarding link configured by a backup aggregation network device; if the route hard switching is completed before the main forwarding link is switched to the backup forwarding link, the data message is forwarded according to the newly-built forwarding link after the route hard switching; if the main forwarding link is switched to the backup forwarding link before the routing hard switching is completed, the main forwarding link is switched to the backup forwarding link to forward the data message.
In a possible implementation manner, the link switching unit is further configured to switch back to a forwarding link connected to the two-layer forwarding interface for forwarding the data packet if it is detected that the two-layer forwarding interface is opened.
In a fifth aspect, a network device is provided, which comprises at least one processor and at least one memory, wherein the memory stores a computer program, which when executed by the processor, causes the processor to perform any one of the steps of the network interface control method or the link switching method described above.
In a sixth aspect, there is provided a computer-readable medium storing a computer program executable by a network device, the program causing the network device to perform any one of the steps of the network interface control method or the link switching method described above when the program is run on the network device.
The network interface control method, the network interface control device, the network equipment and the network equipment provided by the embodiment of the invention establish the corresponding relationship between the routing information and the two-layer forwarding interface identifier, so that when the next-hop routing is detected to be unreachable, the corresponding two-layer forwarding interface can be closed according to the next routing information to trigger the switching of the forwarding link connected to the two-layer forwarding interface. Correspondingly, the link switching method provided by the embodiment of the invention triggers the switching of the forwarding link connected to the two-layer forwarding interface to continue forwarding the data message when detecting that the two-layer forwarding interface is closed, thereby solving the problem that the data message is discarded because the next route is unreachable, and improving the reliability of data transmission.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a networking mode in which an L2VPN accesses an L3VPN or an IP backbone in the prior art;
fig. 2 is a schematic diagram of a networking when an L2VPN accesses an L3VPN or a backbone network in a primary/standby scenario in the prior art;
fig. 3 is a schematic diagram of an implementation flow for establishing a correspondence between routing information and a two-layer forwarding interface according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a network interface control method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of forwarding a data packet by an aggregation network device according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of an implementation of a link switching method according to an embodiment of the present invention;
fig. 7 is a schematic networking diagram when an L2VPN accesses an L3VPN or a backbone network in a master-slave scenario according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a network interface control device according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a link switching apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
In order to improve the reliability of forwarding a data packet when an L2VPN accesses an L3VPN or a backbone network in a master/standby scenario, embodiments of the present invention provide a network interface control and link switching method, apparatus, network device, and storage medium.
The terms "first," "second," and the like in the description and in the claims, and in the drawings, in the embodiments of the invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
Reference herein to "a plurality or a number" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention, and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Aiming at the problems that the link failure at the side of the L3VPN of the aggregation network equipment can not trigger the link switching at the side of the L2VPN under the condition of main and standby, thereby causing the discarding of data messages and reducing the forwarding reliability of the data messages, establishing a corresponding relationship between the routing information and the second layer forwarding interface identifier according to the corresponding relationship between the third layer forwarding interface identifier and the routing information and the second layer forwarding interface identifier, so that when the next route is determined to be unreachable in the L3VPN network, and searching a corresponding two-layer forwarding interface identifier according to the corresponding routing information and closing the two-layer forwarding interface identifier, thereby triggering the data message forwarded by the two-layer forwarding interface identifier to be switched to the standby aggregation network equipment for forwarding, avoiding packet loss caused by the failure of the data transmission link which cannot be sensed by the two-layer forwarding interface identifier, and further improving the reliability of data forwarding.
It should be noted that the aggregation network device in the embodiment of the present invention refers to a network device that includes a two-layer forwarding interface and a three-layer forwarding interface, and is respectively used for implementing the functions of MPLS L2VPN termination and MPLS L3VPN access.
In specific implementation, for the aggregation network device, the corresponding relationship between the routing information and the identifier of the second-layer forwarding interface may be established in the process of generating the routing table for the data forwarding network connected to the third-layer forwarding interface of the aggregation network device. Specifically, the corresponding relationship between the routing information and the identifier of the second layer forwarding interface may be established according to the following procedures: acquiring a forwarding table corresponding to a three-layer forwarding interface, wherein the forwarding table comprises a corresponding relation between a three-layer forwarding interface identifier and next hop routing information; and establishing a corresponding relation between the next hop routing information and the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier according to the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier configured in advance.
In a possible implementation, the corresponding relationship between the routing information and the layer two forwarding interface may be established according to the flow shown in fig. 3:
and S31, generating a routing table aiming at the data forwarding network connected with the three-layer forwarding interface of the aggregation network equipment.
In specific implementation, after the two routing devices are connected, the neighbor relation may be configured by running BGP (Border Gateway Protocol), so as to generate a routing table. The BGP includes EBGP (external BGP protocol) and IBGP (internal BGP protocol), the EBGP operating in a neighbor relationship established by BGP routers between different ASs (autonomous systems), and the IBGP operating in a neighbor relationship established by BGP routers between the same ASs.
The three-layer forwarding interface of the aggregation network device may learn the routing information of the next route by running the BGP protocol, where the learned routing information may be an IP (internet protocol) address of the next-hop route.
S32, generating a forwarding table according to the routing table, wherein the forwarding table comprises a three-layer forwarding interface identifier for reaching the next-hop route.
And according to the step S31, the learned route generates a forwarding table, and the forwarding table contains the identifier of the three-layer forwarding interface reaching the learned route.
S33, establishing the corresponding relation between the next hop route information and the two-layer forwarding interface mark corresponding to the three-layer forwarding interface mark according to the two-layer forwarding interface mark corresponding to the three-layer forwarding interface mark configured in advance.
In a specific implementation, in the process of configuring the two-layer forwarding interface and the three-layer forwarding interface of the aggregation network device, the two-layer forwarding interface with the same identifier corresponds to the three-layer forwarding interface, and after a data packet enters the aggregation network device from the two-layer forwarding interface, the data packet is forwarded from the three-layer forwarding interface with the same identifier.
Through the above process, the corresponding relationship between the next hop routing information of the three-layer forwarding interface and the identifier of the two-layer forwarding interface can be established, as shown in table 1, which is a schematic structure of the corresponding relationship between the established routing information and the identifier of the two-layer forwarding interface:
TABLE 1
Routing information Three-layer forwarding interface Two-layer forwarding interface
1.1.1.11 L3VE1 L2VE1
1.1.1.10 L3VE2 L2VE2
…… …… ……
Based on the correspondence between the established routing information and the two-layer forwarding interface identifier, an embodiment of the present invention provides a network interface control method, which, as shown in fig. 4, may include the following steps:
and S41, the three-layer forwarding interface of the aggregation network equipment receives the data message from the two-layer network interface of the aggregation network equipment.
In specific implementation, after entering the aggregation network device from the two-layer forwarding interface, the data packet is forwarded from the three-layer forwarding interface of the aggregation network device.
S42, if the aggregation network device detects that the next hop route of the forwarding data message is not reachable, searching the second layer forwarding interface identifier corresponding to the next hop route information from the established corresponding relationship between the route information and the second layer forwarding interface identifier.
The following describes a process of processing a received data packet by a converged network device with reference to a networking mode shown in fig. 1, where a user accesses to an MPLS L2VPN through PE1, PE-1 establishes a PW connection with a converged network device (PE-agg in fig. 1) through a two-layer forwarding interface, and transparently transmits a two-layer packet of the user to the converged network device through the PW, and the converged network device may forward the received data packet sent by PE1 according to the following process, as shown in fig. 5, including the following steps:
and S51, terminating the MPLS L2VPN message by the two-layer forwarding interface of the aggregation network equipment.
The two-layer forwarding interface is used as an input interface for entering the PE-agg, and is a termination point of a two-layer packet (packet transmitted in MPLS L2 VPN), and terminates the MPLS L2VPN packet, that is, deletes an MPLS label in the two-layer packet, and restores the original two-layer packet.
And S52, the two-layer forwarding interface sends the original two-layer message to the three-layer forwarding interface.
In specific implementation, the three-layer forwarding interface is used as a CE (customer edge router) device of an MPLS L2NPN network and an access point of an MPLS L3VPN or IP backbone, and is an outgoing interface of a message. After receiving the original two-layer message forwarded by the two-layer forwarding interface, the three-layer forwarding interface searches a next-hop route in a routing table, and forwards the next-hop route to a destination user through an MPLS L3VPN or an IP backbone network.
In the above process, in the process of forwarding the data packet, if it is detected that the next route is not reachable, the three-layer forwarding interface searches the corresponding two-layer forwarding interface according to the correspondence between the next-hop route information and the established route information and the identifier of the two-layer forwarding interface.
And S43, the aggregation network equipment closes the corresponding two-layer forwarding interface according to the found two-layer forwarding interface identifier.
Therefore, if the opposite terminal device detects that the two-layer forwarding interface of the aggregation network device is closed, the link connected to the two-layer forwarding interface can be triggered to switch, so as to ensure the normal forwarding of the data message.
As shown in fig. 6, which is a schematic diagram of an implementation flow of a forwarding link switching method, the implementation flow may include the following steps:
and S61, detecting whether the two-layer forwarding interface of the main aggregation network equipment is closed.
In specific implementation, the opposite-end device connected with the aggregation network device detects whether the two-layer forwarding interface of the main aggregation network device is closed.
S62, if detecting the closing of the two-layer forwarding interface of the main aggregation network device, triggering the switching of the forwarding link connected with the two-layer forwarding interface.
In the embodiment of the present invention, for a forwarding link connected to a two-layer forwarding interface, a route hard switch may be simultaneously started and a main forwarding link connected to the two-layer forwarding interface on a main aggregation network device may be switched to a backup forwarding link of the main forwarding link configured on a backup aggregation network device, and in a specific implementation, if the route hard switch is completed before the main forwarding link is switched to the backup forwarding link, a data packet may be forwarded according to a newly-created forwarding link after the route hard switch; if the main forwarding link is switched to the backup forwarding link before the routing hard switching is completed, the main forwarding link is switched to the backup forwarding link to forward the data message.
In specific implementation, if the main aggregation network device detects that the next route is recovered, the two-layer forwarding interface corresponding to the corresponding two-layer forwarding interface identifier may be opened. Correspondingly, if the opposite-end network device of the main aggregation network device detects that the two-layer forwarding interface is opened, the forwarding link can be switched back to the forwarding link connected with the two-layer data forwarding interface to forward the data packet.
In one possible implementation, the aggregation network device may be used to connect the L2VPN with the L3VPN or backbone network. Accordingly, the layer two forwarding interface comprises a layer two virtual ethernet interface (L2 VE); the three-tier forwarding interface includes a three-tier virtual ethernet interface (L3 VE). The L3VE bound data forwarding network may be a VPN or IP backbone.
For better understanding of the embodiment of the present invention, a specific implementation process of the embodiment of the present invention is described below with reference to a networking manner shown in fig. 7, taking an aggregation network device as PE-agg as an example.
As shown in fig. 7, NE31, as PE-agg, configures BGP neighbor establishment with NE11 and NE10, where the PEER address (the PEER address is followed by the interface address of the PEER neighbor) for establishing a neighbor relationship with NE11 is 1.1.1.11, the learned private network route is 11.1.1.1/32, the PEER address for establishing a neighbor relationship with NE10 is 1.1.1.10, and the learned private network route is 10.1.1.1/32.
The NE41 has two L2VPN services configured on NE11 and NE10, where the primary PWs are both NE31 and the secondary PWs are both NE 32. On NE31 or NE32, for the two L2 VPNs, a VE port is configured on PE-agg, and on PE-agg, two VE ports are configured for two L2VPN services, and VE port 1 and VE port 2 respectively include L2VE port and L3VE port, L3VE port binds corresponding VPNs, L2VE port is used as an access port of L2 VPNs, and L2VE port and L3VE port are associated together. Port 1 of L3VE binds to VPN1, and learns routes for VPN of NE11, port 2 of L3VE binds to VPN2, and learns routes for VPN of NE 10.
NE31 establishes BGP neighbor relation with NE11 and NE10 at the same time, learns private network routes, specifically, the next hop of the route sent by 11.1.1.1/32 is 1.1.1.11, and generates a forwarding table of VPN2 according to the learned route, wherein the next hop of the route sent by 10.1.1.1/32 is 1.1.1.10 in the forwarding table of VPN1 according to the learned route.
According to the method provided by the embodiment of the invention, the aggregation network device establishes a corresponding relationship between 1.1.1.11 and the L3VE port 1 corresponding to the VPN1, and further finds the corresponding L2VE port number according to the number of the L3VE port, so that a corresponding relationship is established for { next hop routing } - > { L2VE port }, and when a L5+ L9 fault occurs, if the next hop of 1.1.1.11 in the route forwarding table is detected to be unreachable on the NE31, the previously associated L2VE port can be found immediately and closed (DOWN). Taking L5+ L9 failure in fig. 7 as an example, if the aggregation network device detects that the next route is unreachable, according to the previously established association relationship of { VPN1,1.1.1.11} - > { L2VE1} and the association relationship of { VPN2,1.1.1.10} - > { L2VE2}, L2VE1 and L2VE2 are closed, so that the PW on NE41 is switched to the PW forwarding packet established between NE32 because the port L2VE of the opposite end is closed.
It should be noted that, if only the next hop 1.1.1.11 reaching the NE11 is unreachable but 1.1.1.10 is reachable according to the networking manner, in the specific implementation, only the L2VE1 port corresponding to the 1.1.1.11 finder is needed to be closed, the data packet sent to the VPN1 is switched to the NE32 for forwarding, and the data packet sent to the VPN2 can still be forwarded normally through the PW between the N41 and the N31.
In the process, by establishing the corresponding relationship between the routing information and the two-layer forwarding interface, when the three-layer forwarding interface detects that the next route is not reachable, the corresponding two-layer forwarding interface can be closed according to the next routing information, so that the forwarding link connected with the two-layer forwarding interface is triggered to be switched, the phenomenon of packet loss caused by the fact that the two-layer forwarding interface cannot sense the failure of the three-layer forwarding link is avoided, and the reliability of data message forwarding is improved. In addition, in the above process, only the forwarding link of the two-layer forwarding interface corresponding to the link with the failure needs to be switched, and other links between the aggregation network device and the opposite terminal device do not need to be closed, so that normal forwarding of data messages on other links is not affected.
Based on the same inventive concept, the embodiment of the present invention further provides a network interface control and link switching apparatus, and because the principle of the apparatus for solving the problem is similar to the network interface control and link switching method, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 8, which is a schematic structural diagram of a network interface control apparatus according to an embodiment of the present invention, the network interface control apparatus includes:
a receiving unit 81, configured to receive the data packet forwarded by the second-layer forwarding interface from the third-layer forwarding interface;
a searching unit 82, configured to search, if it is detected that a next-hop route of the data packet forwarded by the three-layer network interface is unreachable, a two-layer forwarding interface identifier corresponding to the next-hop route information from a correspondence between the route information and the two-layer forwarding interface identifier;
and the network interface control unit 83 is configured to close the corresponding two-layer forwarding interface according to the found identifier of the two-layer forwarding interface.
In a possible implementation manner, a network interface control apparatus provided in an embodiment of the present invention further includes:
an obtaining unit, configured to obtain a forwarding table corresponding to the three-layer forwarding interface, where the forwarding table includes a correspondence between an identifier of the three-layer forwarding interface and next hop routing information;
and the mapping unit is used for establishing the corresponding relation between the next hop routing information and the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier according to the two-layer forwarding interface identifier corresponding to the three-layer forwarding interface identifier configured in advance.
In a possible implementation manner, the network interface control unit is further configured to open a second-layer forwarding interface corresponding to the second-layer forwarding interface identifier if it is detected that the next-hop route is recovered.
In one possible embodiment, the layer two forwarding interface comprises a layer two virtual ethernet interface; the three-layer forwarding interface comprises a three-layer virtual Ethernet interface.
In one possible embodiment, the aggregation network device is configured to connect a layer two virtual private network L2VPN with a layer three virtual private network L3VPN or a backbone network.
As shown in fig. 9, which is a schematic structural diagram of a link switching apparatus according to an embodiment of the present invention, the link switching apparatus includes:
a detecting unit 91, configured to detect whether a layer two forwarding interface of a main aggregation network device is closed, where the layer two forwarding interface is closed by the main aggregation network device according to the method described in any network interface control method above;
and a link switching unit 92, configured to trigger link switching if it is detected that the layer two forwarding interface of the primary aggregation network device is turned off.
In a possible implementation manner, the link switching unit is specifically configured to, for a forwarding link connected to the two-layer forwarding interface, simultaneously start a routing hard switch and switch a main forwarding link connected to the two-layer forwarding interface on a main aggregation network device to a backup forwarding link of the main forwarding link configured by a backup aggregation network device; if the route hard switching is completed before the main forwarding link is switched to the backup forwarding link, the data message is forwarded according to the newly-built forwarding link after the route hard switching; if the main forwarding link is switched to the backup forwarding link before the routing hard switching is completed, the main forwarding link is switched to the backup forwarding link to forward the data message.
In a possible implementation manner, the link switching unit is further configured to switch back to a forwarding link connected to the two-layer forwarding interface for forwarding the data packet if it is detected that the two-layer forwarding interface is opened.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same or in multiple pieces of software or hardware in practicing the invention.
Having described the network interface control and link switching method and apparatus according to an exemplary embodiment of the present invention, a network device according to another exemplary embodiment of the present invention is described next.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a network device according to the present invention may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the network interface control and link switching method according to various exemplary embodiments of the present invention described above in this specification. For example, the processor may execute step S41 shown in fig. 4, where the three-layer forwarding interface of the aggregation network device receives the data packet from the two-layer network interface of the aggregation network device; step S42, if the aggregation network device detects that the next hop route of the data message forwarded by the three-layer forwarding interface is not reachable, searching the second-layer forwarding interface identifier corresponding to the next hop route information from the established corresponding relationship between the route information and the second-layer forwarding interface identifier, and step S43, closing the corresponding second-layer forwarding interface according to the searched second-layer forwarding interface identifier; or executing step S61 shown in fig. 6, detecting whether the layer two forwarding interface of the primary aggregation network device is closed; and step S62, if detecting that the two-layer forwarding interface of the main aggregation network device is closed, triggering the switching of the forwarding link connected with the two-layer forwarding interface.
A network device 100 according to this embodiment of the present invention is described below with reference to fig. 10. The network device 100 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the network device 100 is in the form of a general purpose computing device. The components of network device 100 may include, but are not limited to: the at least one processor 101, the at least one memory 102, and a bus 103 connecting the various system components (including the memory 102 and the processor 101).
Bus 103 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
Memory 102 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1021 and/or cache memory 1022, and may further include Read Only Memory (ROM) 1023.
Memory 102 may also include a program/utility 1025 having a set (at least one) of program modules 1024, such program modules 1024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Network device 100 may also communicate with one or more external devices 104 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with network device 100, and/or with any devices (e.g., router, modem, etc.) that enable network device 100 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 105. Also, network device 100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 106. As shown, the network adapter 106 communicates with other modules for the network device 100 over the bus 103. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with network device 100, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, the aspects of the network interface control and link switching method provided by the present invention may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps in the network interface control and link switching method according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the computer device, for example, the computer device may perform step S41 shown in fig. 4, where a three-layer forwarding interface of an aggregation network device receives a data packet from a two-layer network interface of the aggregation network device; step S42, if the aggregation network device detects that the next hop route of the data message forwarded by the three-layer forwarding interface is not reachable, searching the second-layer forwarding interface identifier corresponding to the next hop route information from the established corresponding relationship between the route information and the second-layer forwarding interface identifier, and step S43, closing the corresponding second-layer forwarding interface according to the searched second-layer forwarding interface identifier; or executing step S61 shown in fig. 6, detecting whether the layer two forwarding interface of the primary aggregation network device is closed; and step S62, if detecting that the two-layer forwarding interface of the main aggregation network device is closed, triggering the switching of the forwarding link connected with the two-layer forwarding interface.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for network interface control and link switching of embodiments of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A network interface control method, comprising:
a three-layer forwarding interface of aggregation network equipment receives a data message from a two-layer network interface of the aggregation network equipment;
if the aggregation network device detects that the next hop route of the data message forwarded by the three-layer forwarding interface is unreachable, searching a two-layer forwarding interface identifier corresponding to the next hop route information from the corresponding relationship between the route information and the two-layer forwarding interface identifier;
the corresponding relation between the routing information and the two-layer forwarding interface identifier is obtained according to the following method:
generating a routing table aiming at a data forwarding network connected with a three-layer forwarding interface of aggregation network equipment;
generating a forwarding table according to the routing table, wherein the forwarding table comprises a three-layer forwarding interface identifier for reaching a next-hop route;
establishing a corresponding relation between next hop routing information and a second layer forwarding interface identifier corresponding to a third layer forwarding interface identifier according to the second layer forwarding interface identifier corresponding to the third layer forwarding interface identifier configured in advance;
and the aggregation network equipment closes the corresponding two-layer forwarding interface according to the found two-layer forwarding interface identifier.
2. The method of claim 1, further comprising:
and if the next hop route is detected to be recovered, opening a two-layer forwarding interface corresponding to the two-layer forwarding interface identifier.
3. The method of claim 1, wherein the layer two forwarding interface comprises a layer two virtual ethernet interface; the three-layer forwarding interface comprises a three-layer virtual Ethernet interface.
4. The method of claim 1, wherein the aggregation network device is to connect a layer two virtual private network (L2 VPN) with a layer three virtual private network (L3 VPN) or a backbone.
5. A method of link switching, comprising:
detecting whether a two-layer forwarding interface of a main aggregation network device is closed, wherein the two-layer forwarding interface is closed by the main aggregation network device according to the method of any one of claims 1 to 4;
and if the condition that the two-layer forwarding interface of the main aggregation network equipment is closed is detected, triggering the switching of the forwarding link connected with the two-layer forwarding interface.
6. The method of claim 5, wherein triggering the handover of the forwarding link connected to the layer two forwarding interface specifically comprises:
aiming at the forwarding link connected with the two-layer forwarding interface, simultaneously starting routing hard switching and switching the main forwarding link connected with the two-layer forwarding interface on a main aggregation network device to a backup forwarding link of the main forwarding link configured by a backup aggregation network device;
if the route hard switching is completed before the main forwarding link is switched to the backup forwarding link, the data message is forwarded according to the newly-built forwarding link after the route hard switching;
if the main forwarding link is switched to the backup forwarding link before the routing hard switching is completed, the main forwarding link is switched to the backup forwarding link to forward the data message.
7. The method of claim 5 or 6, further comprising:
and if the two-layer forwarding interface is detected to be opened, switching back to a forwarding link connected with the two-layer forwarding interface to forward the data message.
8. A network device comprising at least one processor and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 4 or 5 to 7.
9. A computer-readable medium, in which a computer program executable by a network device is stored, which program, when run on the network device, causes the network device to perform the steps of the method of any one of claims 1 to 4 or 5 to 7.
CN201910706151.1A 2019-08-01 2019-08-01 Network interface control and link switching method, device, network equipment and medium Active CN110365578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910706151.1A CN110365578B (en) 2019-08-01 2019-08-01 Network interface control and link switching method, device, network equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910706151.1A CN110365578B (en) 2019-08-01 2019-08-01 Network interface control and link switching method, device, network equipment and medium

Publications (2)

Publication Number Publication Date
CN110365578A CN110365578A (en) 2019-10-22
CN110365578B true CN110365578B (en) 2021-12-24

Family

ID=68222973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910706151.1A Active CN110365578B (en) 2019-08-01 2019-08-01 Network interface control and link switching method, device, network equipment and medium

Country Status (1)

Country Link
CN (1) CN110365578B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740906A (en) * 2020-05-20 2020-10-02 新华三技术有限公司 Message processing method and processing device
CN113872843B (en) * 2020-06-30 2022-12-06 华为技术有限公司 Route generation method, route processing method and device
CN113347166B (en) * 2021-05-24 2023-05-16 广西电网有限责任公司 Method, device and system for preventing safety risk of power grid optical transmission equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667969A (en) * 2009-09-24 2010-03-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
CN102611618A (en) * 2012-02-23 2012-07-25 中兴通讯股份有限公司 Route protection converting method and device
CN102801562A (en) * 2012-08-10 2012-11-28 福建星网锐捷网络有限公司 Transmission link switching method and device and network equipment
CN104702431A (en) * 2013-12-10 2015-06-10 中国移动通信集团内蒙古有限公司 Double-breakage protection method and double-breakage protection device for virtual private network
CN106817302A (en) * 2015-12-01 2017-06-09 中国移动通信集团内蒙古有限公司 It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140204760A1 (en) * 2013-01-22 2014-07-24 Brocade Communications Systems, Inc. Optimizing traffic flows via mac synchronization when using server virtualization with dynamic routing
CN108259300B (en) * 2017-06-30 2020-11-06 新华三技术有限公司 Method and device for forwarding broadcast message
CN109525501B (en) * 2018-12-27 2022-05-24 新华三技术有限公司 Method and device for adjusting forwarding path

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667969A (en) * 2009-09-24 2010-03-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
CN102611618A (en) * 2012-02-23 2012-07-25 中兴通讯股份有限公司 Route protection converting method and device
CN102801562A (en) * 2012-08-10 2012-11-28 福建星网锐捷网络有限公司 Transmission link switching method and device and network equipment
CN104702431A (en) * 2013-12-10 2015-06-10 中国移动通信集团内蒙古有限公司 Double-breakage protection method and double-breakage protection device for virtual private network
CN106817302A (en) * 2015-12-01 2017-06-09 中国移动通信集团内蒙古有限公司 It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network

Also Published As

Publication number Publication date
CN110365578A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
US9860150B2 (en) Fast convergence of EVPN networks for multi homing topologies
WO2018188569A1 (en) Method, device and system for forwarding data messages
US11283672B2 (en) Forwarding detection of an aggregated interface
US8792501B1 (en) Active-active multi-homing with multi-chassis pseudowire link aggregation
US8068442B1 (en) Spanning tree protocol synchronization within virtual private networks
US9100213B1 (en) Synchronizing VPLS gateway MAC addresses
EP3229408A1 (en) Failure handling for active-standby redundancy in evpn data center interconnect
US8804718B2 (en) Preventing traffic flooding to the root of a multi-point to multi-point label-switched path tree with no receivers
CN107040469A (en) The network equipment and method
US20130272114A1 (en) Pseudo wire switching method and device
US11477114B2 (en) Packet forwarding method and apparatus
CN110365578B (en) Network interface control and link switching method, device, network equipment and medium
US11411859B2 (en) Network device, network control method, and program
EP2897328B1 (en) Method, system and apparatus for establishing communication link
EP3032782B1 (en) Packet transmission method and apparatus
US11522792B2 (en) Method for discovering forwarding path and related device thereof
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
CN103634210B (en) Find the method and apparatus of the opposite end PE equipment of VPLS example
US20240214243A1 (en) Designated forwarder df election method and device
EP2832055B1 (en) Pseudowire groups in a packet switched network
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment
US20130258871A1 (en) Psuedowire extended group messaging in a packet switched network
CN100502400C (en) Double-attach/multi-attach logical packet network method and supplier equipment
EP3151486A1 (en) Fast convergence of evpn networks for multi homing topologies
CN115460107A (en) Route detection method, device, system and 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