WO2012028029A1 - Procédé et système de commutation - Google Patents

Procédé et système de commutation Download PDF

Info

Publication number
WO2012028029A1
WO2012028029A1 PCT/CN2011/076671 CN2011076671W WO2012028029A1 WO 2012028029 A1 WO2012028029 A1 WO 2012028029A1 CN 2011076671 W CN2011076671 W CN 2011076671W WO 2012028029 A1 WO2012028029 A1 WO 2012028029A1
Authority
WO
WIPO (PCT)
Prior art keywords
dual
homed
link
primary
remote
Prior art date
Application number
PCT/CN2011/076671
Other languages
English (en)
Chinese (zh)
Inventor
彭少富
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012028029A1 publication Critical patent/WO2012028029A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Definitions

  • the invention relates to multi-tag protocol exchange in the field of data communication (MPLS, Multi-Protocol
  • L2VPN Layer 2 Virtual Private Network
  • the protocol specifications related to MPLS L2VPN are being widely discussed and developed, and it has become the best choice for telecom operators to build virtual private networks (VPNs).
  • the outstanding technical features of L2VPN are: It supports the interworking of multiple link emulation services and multiple Layer 2 link technologies, and is compatible with traditional Layer 2 VPN technologies.
  • MPLS L2VPN There are two main models of MPLS L2VPN: VPWS (Virtual Private Wire Service) and Virtual Private LAN Service (VPLS).
  • the former is a pair of client devices (CE, Customer Edge).
  • CE Customer Edge
  • the logical link of the layer is interconnected, the latter is the interconnection of multiple CEs through an Ethernet LAN; the interconnection of the two models needs to involve multiple service provider devices in the Packet Switched Network (PSN).
  • a PW (Pseudo-Wire) is set up between the PE and the Provider Edge. The PW is used to carry Layer 2 service traffic of the CE.
  • the PW itself needs to be carried on the public network tunnel of the PSN.
  • the Fast Re-Route (FRR) technology provided by the public network tunnel is used to protect the traffic of the PW. That is, when the public network tunnel detects that the current active path fails. The traffic will be quickly switched to the protection path, but the PW will not perceive the switch.
  • FRR Fast Re-Route
  • the PW must implement the protection of the service traffic through its own redundancy, that is, create a primary and a backup PW to form redundancy protection, including: CE dual-homed to two PEs, multi-segment pseudo Multi-terminal unit switching in the network (MS-PW, Multi-Segment Pseudowire) and hierarchical VPLS (H-VPLS, Hierarchical VPLS) networking (MTU-s, Multi-Tenant Unit Switch) is dual-homed to two PEs (PE-Routing and Bridging) with routing and switching capabilities.
  • MS-PW multi-segment pseudo Multi-terminal unit switching in the network
  • H-VPLS Hierarchical VPLS
  • MTU-s Multi-Tenant Unit Switch
  • FIG. 1 is a schematic diagram of the structure of a VPLS network in the prior art.
  • a typical VPLS network has both a dual-homed CE and a single-homed CE.
  • CE3 is dual-homed to PE2 and PE3.
  • the CE4 is singly assigned to the PE2.
  • the CE3, the PE2 and the PE3 are selected.
  • the CE can be configured to run the Spanning Tree Protocol (STP) on the CE3 to prevent the traffic between the PE and the CE from forming a loop.
  • STP Spanning Tree Protocol
  • the PE connected to the link that is not blocked will become the active forwarding node.
  • the CE can also be configured to set the primary and backup links on the CE3. When the primary link is detected or the PE connected to the primary link fails.
  • STP Spanning Tree Protocol
  • the PE determines the mode to run an election algorithm on the PEs of the corresponding VPLS network. One of the two PEs is elected as an active forwarding node.
  • the existing data flow triggers the source MAC address learning, that is, generates a destination MAC address entry according to the address in the source MAC address entry in the received data flow, and the destination MAC address entry is the MAC address entry of the source MAC entry.
  • the source MAC address entry is on the single-homed CE side or the dual-homed CE side, so that the generated destination MAC address entries inherit the PW FRR information indiscriminately; as shown in Figure 1, PE1
  • the destination MAC address entries of the CE3 and CE4 are inherited from the PW FRR information.
  • the PW FRR switchover is bound to affect the traffic of the single-homed CE.
  • TLV Type Length Value
  • MAC media access control
  • the main purpose of the present invention is to provide a handover method and system.
  • a link of a dual-homed CE fails, the link of the dual-homed CE is quickly performed without affecting the traffic of the single-homed CE. Switching of PW.
  • the present invention provides a handover method, including:
  • the dual-homed PE When the dual-homed client device (CE) or the dual-homed provider device (PE) determines that the primary link fails, the dual-homed PE sends a "redundant PW transceiver defect" message to the remote PE; or, when the dual-homed PE or When the remote PE determines that the primary PW fails, the dual-homed PE notifies the dual-homed CE of the "link transmission and reception defect" message;
  • the remote PE switches traffic from the primary pseudowire (PW) to the standby PW, and the dual-homed CE switches traffic from the primary link to the standby link for transmission.
  • PW primary pseudowire
  • the dual-homed PE when the dual-homed CE or the dual-homed PE determines that the primary link fails, the dual-homed PE sends a message of "redundant PW transmission and reception defect" to the remote PE:
  • the dual-homed CE When the dual-homed CE detects that the primary link fails, it notifies the dual-homed PE "link transmission and reception defect" connected thereto; or, the dual-homed PE detects that the primary link is invalid, and sends a "link transmission and reception defect" message to the primary link. a dual-homed CE, or a "link receiving and receiving defect” message sent by a dual-homed CE connected thereto;
  • the dual-homed PE determines that the primary link fails and determines that the failed primary link has a PW associated with it, the dual-homed PE sends a message of "redundant PW transmission and reception defect" to the remote PE.
  • the method further includes: before the dual-homed PE or the dual-homed PE determines that the primary link is inactive, before the dual-homed PE sends a message to the remote PE, the method further includes:
  • the primary and backup links of the dual-homed CE are configured, and the primary PW and the standby PW are configured between the remote PE and the dual-homed PE, and the configured PW is associated with the primary and backup links of the dual-homed CE.
  • the primary link and the backup link of the dual-homed CE are configured to: configure two links on the dual-homed CE, set the redundancy status of one link as the primary, and the other link. The redundancy status is set to standby.
  • the dual-homed CE generates AC Fast Reroute (FRR) forwarding entries based on the configured primary and backup links.
  • FRR Fast Reroute
  • the configuration of the primary PW and the standby PW between the remote PE and the dual-homed PE is as follows: multiple PWs are configured on the remote PE, and the remote PE passes through the configured PW and each adjacent one.
  • the PE is connected, and the redundancy status of one PW is set to be the primary, and the redundancy status of the other PW is set to standby; the primary PW and the standby PW are associated with the primary link and the standby link; and the remote PE is configured according to the primary The PW and the standby PW generate PW FRR forwarding entries.
  • the configured PW is associated with the primary link and the standby link of the dual-homed CE:
  • the primary PW is associated with the standby PW, and the remote PE distinguishes the single-homed traffic and the dual-homed traffic according to whether the association process is performed.
  • the remote PE distinguishes the single-homed traffic and the dual-homed traffic according to whether the association process is performed:
  • the dual-homed PE will advertise the MAC address entry learned from the link of the dual-homed CE to the remote PE through the LDP address message.
  • the remote PE inherits the MAC entry from the MAC address entry to the PW FRR entry.
  • the forwarding behavior of the entry will be affected by the PW FRR.
  • the MAC entry directs the remote PE to forward the dual-homed traffic.
  • the dual-homed PE does not advertise the MAC entry learned from the link of the single-homed CE to the remote PE.
  • the remote PE does not inherit the PW FRR entry based on the MAC entry.
  • the forwarding behavior of the MAC entry is not affected by the PW. Impact of FRR. This MAC entry guides the remote PE to forward single-homed traffic.
  • the method further includes: When the dual-homed CE and the dual-homed PE determine that the primary link is valid, the dual-homed PE advertises the message "Redundant PW is received and received normally" to the remote PE; the dual-homed CE switches the traffic back to the primary link for transmission. The PE switches back the traffic to the primary PW for transmission.
  • the method further includes:
  • the dual-homed PE When the dual-homed PE and the remote PE determines that the primary PW is valid, the dual-homed PE advertises the message "link is received and received normally" to the dual-homed CE; the dual-homed CE switches the traffic back to the primary link for transmission, and the remote PE will The traffic is switched back to the primary PW for transmission.
  • the present invention further provides a handover system, the system comprising: a dual-homed PE, a dual-homed CE, and a remote PE;
  • a dual-homed PE used for dual-homing CE or self-determined when the primary link fails, sending a message of "redundant PW transmission and reception defect" to the remote PE;
  • the dual-homing CE is configured to switch traffic from the primary link to the standby link for transmission when determining that the primary link fails;
  • the remote PE when used for the message "Redundant PW sends and receives defects", transfers traffic from the primary PW to the standby PW for transmission.
  • the system further includes: a configuration module, configured to configure a primary link and a backup link of the dual-homed CE, and configure a primary PW and a standby PW between the remote PE and the dual-homed PE, and configure the PW and the dual-homed CE
  • the primary link is associated with the alternate link
  • the dual-homed PE is further configured to: when the dual-homed CE or the self-determination primary link is restored, notify the remote PE of the message that the “redundant PW is sent and received normally”;
  • the dual-homing CE is further configured to: when determining that the primary link is valid, the traffic is switched back to the primary link for transmission;
  • the remote PE is further configured to: when receiving the message that the “redundant PW is sent and received normally”, the traffic is switched back to the primary PW for transmission.
  • the present invention further provides a handover system, including: a dual-homed PE, a dual-homed CE, and a remote PE;
  • the dual-homed PE is used to notify the dual-homed CE of the "link receiving and receiving defect" message when the self-respecting PE determines that the primary PW is invalid;
  • the traffic is switched from the primary link to the standby link for transmission;
  • the remote PE is used to determine that the primary PW fails, and the traffic is switched from the primary PW to the standby PW for transmission.
  • the system further includes: a configuration module, configured to configure a primary link and a backup link of the dual-homed CE, and configure a primary PW and a standby PW between the remote PE and the dual-homed PE, and configure the PW and the dual-homed CE
  • the primary link is associated with the alternate link
  • the dual-homed PE is further configured to notify the dual-homed CE of the "link transmission and reception normal" message when the remote PE determines that the primary PW is valid.
  • the dual-homing CE is further configured to: when receiving the message that the link is sent and received normally, the traffic is switched back to the primary link for transmission;
  • the remote PE is further configured to: when the primary PW is restored, the traffic is switched back to the primary PW for transmission.
  • the switching method and system provided by the present invention have PW redundancy and link redundancy. If the primary link fails, the traffic is quickly switched to the standby link and the standby PW for transmission, thereby realizing the link and PW in the VPLS network.
  • the dual-homed CE or the dual-homed PE determines that the primary link is invalid, the dual-homed PE sends a message to the remote PE. Therefore, the dual-homed PE does not send the relevant one that carries the single-homed CE.
  • the destination MAC address entry is forwarded to the remote PE, and the traffic of the single-homed CE is not switched.
  • the present invention better solves the problem of switching and switching back the traffic of the VPLS network.
  • FIG. 1 is a schematic structural diagram of a VPLS networking in the prior art
  • FIG. 2 is a schematic flow chart of a first embodiment of implementing a handover method according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of implementing a handover method according to the present invention.
  • FIG. 4 is a schematic structural view of a handover system implemented by the present invention. detailed description
  • the basic idea of the present invention is: when the dual-homed client device (CE) or the dual-homed provider device (PE) determines that the primary link fails, the dual-homed PE sends a "redundant PW transceiving defect" message to the remote PE; Or, when the dual-homed PE or the remote PE determines that the primary PW fails, the dual-homed PE notifies the dual-homed CE of the "link receiving and receiving defect" message;
  • the remote PE switches traffic from the primary PW to the standby PW for transmission; the dual-homed CE switches traffic from the primary link to the standby link for transmission.
  • FIG. 2 is a schematic flowchart of a first embodiment of a handover method according to the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Configure a primary link and a backup link of the dual-homed CE.
  • two links are configured on the dual-homed CE, and the redundancy state of one of the links is set to be the primary link, that is, the link is the primary link; and the redundancy state of the other link is set to the standby, that is, The link is a backup link and is used to protect the primary link.
  • the setting principle can be to specify any one of them; only one of the primary link and the standby link can send and receive traffic, and the link that can send and receive traffic is doubled.
  • the PE that is connected to the CE is an active forwarding node.
  • the step may further include: the dual-homing CE generates an AC FRR forwarding entry according to the configured primary link and the standby link, and the forwarding entry is to be His service forwarding entries (such as MAC address entries) are inherited.
  • the method is applied to the VPLS network of Figure 1.
  • the method for configuring the primary link AC3 and the standby link AC4 of the dual-homed CE3 is as follows: As shown in Figure 1, the access link AC3 of the CE3 is configured on the PE2. Configure the access link AC5 of CE4, configure the access link AC4 of CE3 on PE3, and set the redundancy state of the access link AC3 of CE3 to PE2 as the primary. That is, the access link AC3 is the master of CE3. Link; the redundancy state of the access link AC4 that connects CE3 to PE3 is set to standby, that is, the access link AC4 serves as the backup link of CE3, and is used to protect the primary link AC3;
  • the CE3 generates an AC FRR forwarding entry based on the configured primary link AC3 and the standby link AC4.
  • the primary link entry and the backup link entry include the outbound port AC3 and the outbound port AC4.
  • Source MAC address learning that is, the source MAC address of the traffic received by the CE3 (incoming port AC3), the destination MAC address entry (AC3) entry, and the destination MAC address entry as the service forwarding entry of the traffic.
  • the generated destination MAC address entry inherits the AC FRR forwarding entry, so that the egress port of the generated destination MAC address entry is not only AC3 but also AC4. Similarly, if CE3 receives traffic from the alternate link AC4, source MAC learning is performed.
  • the destination MAC address (outbound port AC4) entry is generated, and the destination MAC address entry is used as the service forwarding entry of the traffic, and the generated destination MAC address entry inherits the AC.
  • the FRR forwards the entry so that the egress port of the generated destination MAC address entry is not only AC4 but also AC3. Therefore, when the primary link AC3 is valid, CE3 receives the entry.
  • the traffic is sent by the primary link AC3 by default.
  • the inheritance means that there is only one outgoing port in the destination MAC address entry. Because there are two links in the AC FRR forwarding entry, the primary link and the backup link exist. After inheriting the AC FRR forwarding entry, there are two outgoing ports in the destination MAC address entry.
  • Step 202 Configure a primary PW and a standby PW between the remote PE and the dual-homed PE, and associate the configured PW with the primary link and the standby link of the dual-homed CE.
  • multiple PWs are configured on the remote PE, and the remote PE passes the configured PW.
  • Each PE of the neighbor is connected, and the redundancy status of one of the PWs is set to be the primary PW, and the redundancy status of the other PW is set to standby, that is, as the standby PW, which is used to protect the primary PW; It is specified that any one of them is primary, but must be consistent with the primary link AC and the standby link AC; the remote PE can switch traffic between the primary PW and the standby PW;
  • the step may further include: associating the primary PW and the standby PW with the primary link and the standby link of the dual-homed CE, if the link AC between the dual-homed PE and the single-homed CE is configured, the link AC does not The PW of the dual-homed PE is associated, and the remote PE distinguishes the single-homed traffic and the dual-homed traffic according to whether the association process is performed.
  • the remote PE generates a PW FRR forwarding entry according to the configured primary PW and the standby PW. The entry will be inherited by the other service forwarding entry (for example, the MAC address entry); the dual-homed PE will advertise the MAC address learned from the link AC of the dual-homed CE to the remote PE through the LDP address message.
  • the remote PE then forwards the MAC entries to the PW FRR entries, so that the forwarding behavior of the MAC entries is affected by the PW FRR.
  • the MAC entries guide the remote PEs to forward the dual-homed traffic. This is called The dual-homed PE does not advertise the MAC entry learned from the connected AC of the single-homed CE to the remote PE. Therefore, the remote PE cannot inherit these MAC entries to the PW. FRR form So that these acts of MAC forwarding entries from PW FRR influence, which is not affected by PW FRR of the MAC forwarding table entries for the guidance of the remote PE single-homed traffic, which is the so-called single-homed traffic.
  • PE2 and PE3 are dual-homed PEs.
  • the method for establishing a primary PW and a standby PW between PE1, PE2, and PE3 is as follows: PW1 is created and connected to the neighboring PE2 through PW1.
  • the link AC3 between PE2 and CE3 is the primary link AC.
  • the redundancy status of PW1 is set to be the primary, that is, PW1 is the primary PW.
  • the link AC4 between PE3 and CE3 is the standby link AC.
  • set the redundancy status of PW2 to standby that is, PW2 as the standby PW.
  • PE1 A PW FRR forwarding entry is generated based on the configured primary PW1 and the standby PW2.
  • the forwarding entry is inherited by other service forwarding entries (such as MAC address entries).
  • PW1 is created on PE2 and connected to the adjacent PE1 through PW1.
  • the PW1 created on PE2 has no redundant PW.
  • the redundancy status of the PW1 is the default.
  • the primary link AC3 associated with PW1 is configured on PE2. You can also configure multiple associated links AC to form an associated link.
  • the AC group is created on the PE3.
  • the PW2 is connected to the PE1 of the PE4.
  • the PW2 is connected to the PW2 on the PE3.
  • the standby link AC4 associated with the PW2 is configured on the PE3.
  • Associated links AC form an associated link AC group.
  • the source MAC address learning is performed to obtain the destination MAC address entry.
  • the PE2 determines that the primary link AC3 is associated with PW1 according to the configured primary link AC3 associated with PW1. PE2 needs to be obtained.
  • the destination MAC address entry is sent to the PE1 through the LDP address message, and is used to inform the PE1 that the destination MAC address entry needs to inherit the PW FRR forwarding entry.
  • the LDP address message carrying the destination MAC address entry is a redundant PW. If the received traffic is from the link AC5, the PE2 performs the source MAC address learning, but the link AC5 is not associated with any PW, and the LDP address message is not sent to the PE1.
  • the destination MAC address entry is obtained. After the standby link AC4 is associated with the PW2, the destination MAC address entry sent by the PE3 is sent to the PE1 through the LDP address message to notify the PE1. The destination MAC address entry needs to inherit the PW FRR forwarding entry.
  • the source MAC address is learned and the destination MAC address entry is obtained.
  • the default outgoing port of the destination MAC address entry is PW1.
  • PE1 receives the PW1 from PE2, it needs to inherit the PW FRR forwarding entry.
  • PE1 maintains the destination MAC address entry and allows the destination MAC address entry to inherit the PW FRR forwarding entry, so that it no longer only forwards traffic according to the outgoing port PW1, but based on the inherited PW.
  • the FRR forwards the entry to forward traffic.
  • the outgoing port is PW1 and PW2. If the traffic received by PE1 is from PW2, the source MAC address is learned and the destination MAC address entry is obtained.
  • the default outgoing port of the destination MAC address entry is PW2.
  • PE1 receives the PW2 from PE3, it needs to inherit PW FRR.
  • PE1 maintains the destination MAC address entry and allows the destination MAC address entry to inherit the PW FRR forwarding entry, so that it no longer only forwards traffic according to the outgoing port PW2, but obtains the inheritance according to the inheritance.
  • the PW FRR forwarding entry is used to forward traffic, and the outgoing egress port includes PW1 and PW2.
  • the inheritance means that there is only one egress port in the destination MAC address entry, because there are two main PWs and two standby PWs in the PW FRR forwarding entry. Link, so after it inherits the PW FRR forwarding entry, there are two outgoing ports in the destination MAC address entry.
  • PE 1 determines the destination MAC address entry that needs to inherit the PW FRR forwarding entry based on the destination MAC address entry in the LDP address message. Therefore, not all destination MAC address entries inherit PW FRR.
  • the incoming traffic comes from link AC5.
  • the obtained destination MAC address entry does not inherit PW FRR; therefore, when traffic is switched and switched back between the primary link and the standby link or between the primary PW and the standby PW
  • the traffic between the single-homed CE and the PE is not affected. Therefore, the traffic between the dual-homed CE and the PE is protected, and the traffic between the single-homed CE and the PE is normally transmitted.
  • Step 203 When the dual-homed CE or the dual-homed PE determines that the primary link fails, the dual-homed PE sends a message of “redundant PW transmission and reception defect” to the remote PE.
  • the dual-homed CE (such as CE3 in FIG. 1) can detect that the primary link fails or receives the "link receiving and receiving defect" message sent by the dual-homed PE (such as PE2 in FIG. 1) connected thereto;
  • the detection mode can be that the physical link of the primary link is set to DOWN or the physical failure caused by the deletion.
  • the dual-homed CE can automatically detect the failure of the primary link. If the CE detects that the primary link is invalid, the CE needs to send the fault.
  • the link sends and receives a defect message to the dual-homed PE connected thereto; or, the dual-homed PE detects that the primary link is invalid, or receives a dual-homed CE transmission connected thereto
  • the "link is sent and received"message; the detection mode may be: the physical failure of the physical interface where the dual-homed PE is deleted, the dual-homed PE can automatically detect the failure of the primary link; The primary link fails, and the dual-homed PE also needs to send a "link transmission and reception defect" message to the dual-homed CE connected thereto;
  • the dual-homed PE determines that the primary link is invalid, it is determined that the failed primary link exists with the associated PW according to the related information generated when the primary link is associated with the primary PW, so the remote PE needs to be triggered.
  • PE1 of 1 performs the switching between the primary PW and the standby PW; therefore, the dual-homed PE also needs to send a message of "redundant PW transmission and reception defect" to the remote end of the primary PW associated with the primary link, that is, the remote PE, where, and the PE
  • the access link AC of the connected dual-homed CE fails, the PE sends the message of the "redundant PW transmission and reception defect". If the access link AC of the single-homed CE connected to the PE fails, The message "Redundant PW Transceiver Defect" is not sent.
  • Step 204 The dual-homing CE switches the traffic from the primary link to the standby link for transmission, and the remote PE switches the traffic from the primary PW to the standby PW for transmission.
  • the dual-homing CE determines whether there is a backup link according to the AC FRR forwarding entry generated by itself, and determines whether the standby link is valid.
  • the CE switches the traffic to the standby link for transmission. That is, the dual-homed CE stops sending traffic from the outbound ports of the two outgoing ports according to the two outbound ports in the destination MAC address entry generated by the dual-homed CE. Issued from another egress port; if it is determined that the alternate link is invalid, the destination MAC address entry that inherits the AC FRR forwarding entry becomes invalid, and the dual-homed CE stops sending traffic to the primary and backup links;
  • the remote PE determines that there is a standby PW according to the PW FRR forwarding entry generated by the remote PE. If the standby PW is valid, the remote PE switches the traffic to the standby PW for transmission; that is, the dual-homed PE stops the two outgoing ports according to the generated destination MAC address entry. The outbound end of the outgoing traffic in the outgoing port If the backup PW is invalid, the destination MAC address entry that inherits the PW FRR forwarding entry becomes invalid, and the remote PW stops sending traffic to the primary PW and the standby PW.
  • Step 205 When the dual-homed CE and the dual-homed PE determine that the primary link is restored, the dual-homed PE notifies the remote PE of the message that the redundant PW is sent and received normally.
  • the dual-homed CE (such as CE3 in FIG. 1) takes priority over the dual-homed PE to detect that the primary link is restored, the dual-homed CE determines that the primary link is restored, and sends a message that the link is sent and received normally.
  • the dual-homed PE connected to the dual-homed PE receives the "link-received normal" message sent by the dual-homed CE (such as CE3 in Figure 1), and determines that the primary link is valid through detection.
  • the PE determines that the primary link is valid.
  • the detection mode of the dual-homed PE can be: The physical interface of the dual-homed PE is physically connected to the physical link.
  • the detection mode of the dual-homed CE can be: the physical interface where the primary link resides.
  • the physical validity of the link is set to UP or the link is added.
  • the dual-homed CE can automatically detect that the primary link is valid.
  • the dual-homed PE (such as PE2 in FIG. 1) takes precedence over the dual-homed CE to detect that the primary link is restored, sending a "link-received normal" message to the dual-homed CE connected thereto, when the dual-homed CE receives
  • the dual-homed PE (such as PE2 of FIG. 1) is connected to the "link transmission and reception normal" message, and the self-test determines that the primary link is valid
  • the dual-homing CE determines that the primary link is valid
  • the dual-homed CE determines the primary.
  • the message that the "link is received and received normally" is sent to the dual-homed PE.
  • the dual-homed PE detects that the primary link is valid and receives the "link transmission and reception normal" message of the dual-homed CE. Therefore, it is determined that the primary link recovery is valid;
  • the remote PE After the dual-homing PE determines that the primary link is restored, the remote PE is triggered to perform the switchback of the standby PW and the primary PW. That is, the dual-homed PE (such as PE2 in FIG. 1) notifies the opposite end of the primary PW associated with the primary link.
  • the remote PE (PE1 in Figure 1) sends a message "Redundant PW Transceiver Normal".
  • the dual-homed PE can determine whether the primary link is valid according to the status of the physical port.
  • the dual-homed CE can only determine whether the primary link is valid according to the status of the physical port. Both the dual-homed PE and the dual-homed CE cannot determine whether the primary link detected by the peer is valid. Therefore, both the dual-homed PE and the dual-homed CE need to determine that the primary link is valid.
  • Step 206 The dual-homing CE reverts the traffic to the primary link for transmission, and the remote PE returns the traffic to the primary PW for transmission.
  • the dual-homed CE when the dual-homing determines that the primary link is valid, or receives the message that the link is sent and received normally sent by the dual-homed PE, the dual-homed CE sends a message that the link is sent and received normally to the dual-homed PE, when dual-homing When the CE sends a message to the dual-homed PE "link is received and received normally" and also receives the "link-received normal" message of the dual-homed PE, the dual-homed CE cuts the traffic from the standby link back to the primary link;
  • the remote PE When the peer end of the dual-homed PE of the primary PW associated with the primary link, that is, the remote PE (such as PE1 in Figure 1) receives the message "Redundant PW is received and received normally", the remote PE sends "redundant" to the dual-homed PE. If the remote PE not only informs the dual-homed PE of the "redundant PW transmission and reception” message, but also receives the "redundant PW transmission and reception normal" message of the dual-homed PE, the remote PE will send traffic. Switch back to the primary PW for transmission.
  • the remote PE such as PE1 in Figure 1
  • the remote PE or the dual-homed CE can implement the timely switchback or the delay switchback based on the normal mode of the two-way acknowledgement.
  • the delay switchback is required, the normal message can be sent or passively acknowledged for a period of time.
  • the dual-homed PE is between the remote PE and the dual-homed CE.
  • the dual-homed PE sends or passively responds to the normal message on either side, the other party must ensure that the other side is normal.
  • the "redundant PW transmission and reception defect" and the "redundant PW transmission and reception normal" message pair are determined by the PE according to its own role.
  • the remote PE if it belongs to the VPLS instance and is in the instance, If the PW is in the FRR, the corresponding PW needs to introduce the message pair.
  • the dual-homed PE if the PW belongs to the VPLS instance and the PW in the instance is associated with the AC, the corresponding PW needs to introduce the message pair.
  • FIG. 3 is a schematic flowchart of a second embodiment of a handover method according to the present invention, as shown in FIG. 3, The method includes the following steps:
  • Step 301 Configure a primary link and a backup link of the dual-homed CE.
  • Step 302 Configure a primary PW and a standby PW between the remote PE and the dual-homed PE.
  • Steps 301 and 302 are detailed in steps 201 and 203.
  • Step 303 When the dual-homed PE or the remote PE determines that the primary PW is invalid, the dual-homed PE notifies the dual-homed CE of the "link receiving and receiving defect" message;
  • the dual-homed PE (such as PE2 in FIG. 1) can detect that the primary PW is invalid, or receives the remote PE connected to it (such as PE1 in FIG. 1).
  • "Redundant PW Transceiver Defect" message in which the PE detects the PW failure detection mode, the PE detects that the outer tunnel carrying the PW is unreachable, or the PW itself fails to keep alive, or the TP-OAM detects the PW failure, or the BFD detects The PW fails.
  • the dual-homed PE detects the failure of the primary PW
  • the dual-homed PE also needs to send a message of "redundant PW transmission and reception defect" to the remote PE, which is equivalent to the remote PE also determining that the primary PW is invalid.
  • the processing method of the home PE (such as PE3 in Figure 1) is the same as above; or, the remote PE detects the failure of the primary PW, or receives the message of "redundant PW transmission and reception defect" sent by the dual-homed PW connected thereto; The PE detects that the primary PW is invalid.
  • the remote PE also needs to send a message of "redundant PW transmission and reception defect" to the dual-homed PE connected to it.
  • the dual-homed PE also determines that the primary PW is invalid.
  • the dual-homed PE determines that the primary PW is invalid, it is determined that the primary PW that is in the default is associated with the primary link according to the related information generated when the primary link is associated with the primary PW, so the dual-homed CE needs to be triggered to perform the primary link.
  • the switch to the standby link; the dual-homed PE also needs to send a "link send and receive defect" message to the peer dual-homed CE of the primary link associated with the primary PW (such as CE3 in Figure 1).
  • Step 304 The dual-homing CE switches the traffic from the primary link to the standby link for transmission, and the remote PE switches the traffic from the primary PW to the standby PW for transmission.
  • the dual-homing CE receives the message of "link transmission and reception defect" sent by the dual-homing PE
  • the dual-homing CE determines whether the standby link is valid. If it is determined that the standby link is valid, the dual-homed CE switches the traffic to the standby link for transmission, that is, The dual-homed CE stops sending traffic from the egress port that is sending traffic from the two egress ports according to the two egress ports in the destination MAC address entry generated by itself, and sends traffic from another egress port; if the alternate link is determined If the entry is invalid, the destination MAC address entry that inherits the AC FRR forwarding entry becomes invalid. The dual-homed CE stops sending traffic to the primary link and the standby link.
  • the remote PE determines whether the standby PW is valid according to the PW FRR forwarding entry generated by the remote P-P. If it is determined that the standby PW is valid, the remote PE switches the traffic to the standby PW for transmission; that is, the dual-homed PE stops the outgoing traffic from the two outgoing ports according to the two outgoing ports in the destination MAC address entry generated by the dual-homed PE. The outbound port sends traffic, and the traffic is sent from the other egress port. If it is determined that the standby PW is invalid, the destination MAC address entry that inherits the PW FRR forwarding entry becomes invalid, and the remote PW stops sending traffic to the primary PW and the standby PW. .
  • Step 305 When the dual-homed PE and the remote PE determine that the primary PW is valid, the dual-homed PE notifies the dual-homed CE that the "link is received and received normally" message;
  • the message "relay PW is received normally" is sent to the remote PE connected to it (such as PE1 in FIG. 1).
  • the remote PE determines that the primary PW is valid when the remote PE receives the "redundant PW transmission and reception normal" message sent by the dual-homed PE connected to it, and the remote PE determines that the primary PW is valid; After the PW is restored, the message that the "redundant PW is sent and received normally" is sent to the dual-homed PE.
  • the dual-homed PE detects that the primary PW is valid and receives the "redundant PW transmission and reception normal" message of the remote PE. Therefore, the dual-homing PE determines that the primary PW is valid.
  • the detection mode of the PW that is detected by the PE is that the PE detects the opening of the outer tunnel that carries the PW. And the PW itself is effective;
  • the remote PE when the remote PE detects that the primary PW recovery is valid, the remote PE determines that the primary PW is valid, and sends a message that the "redundant PW is received and received normally" to the dual-homed PE.
  • the dual-homed PE determines that the primary PW is valid when the primary PW is restored, and the dual-homed PE determines that the primary PW is valid, when the dual-homed PE determines that the primary PW is valid.
  • the related information generated when the primary link is associated with the primary PW determines that the active primary PW has a primary link associated with the active primary PW, and triggers the dual-homed CE to perform the failback of the standby link and the primary link; that is, the dual-homed PE
  • the message "Link is received and received normally" is sent to the peer dual-homed CE of the primary link associated with the primary PW (such as CE3 in Figure 1).
  • Step 306 The dual-homing CE reverts the traffic to the primary link for transmission, and the remote PE returns the traffic to the primary PW for transmission.
  • the dual-homed CE when the dual-homing determines that the primary link is valid, or receives the message that the link is sent and received normally sent by the dual-homed PE, the dual-homed CE sends a message that the link is sent and received normally to the dual-homed PE, when dual-homing When the CE sends a message to the dual-homed PE "link is received and received normally" and also receives the "link-received normal" message of the dual-homed PE, the dual-homed CE cuts the traffic from the standby link back to the primary link;
  • the remote PE When the peer end of the dual-homed PE of the primary PW associated with the primary link, that is, the remote PE (such as PE1 in Figure 1) receives the message "Redundant PW is received and received normally", the remote PE sends "redundant" to the dual-homed PE. If the remote PE not only informs the dual-homed PE of the "redundant PW transmission and reception” message, but also receives the "redundant PW transmission and reception normal" message of the dual-homed PE, the remote PE will send traffic. Switch back to the primary PW for transmission.
  • the remote PE such as PE1 in Figure 1
  • the default link and the standby link are always valid. Therefore, when the dual-homed CE receives the message that the link is sent and received normally, it determines that the primary PW is restored. Therefore, the traffic is switched back.
  • FIG. 4 is an implementation of the present invention.
  • the structure of the system is changed.
  • the system includes: a dual-homing PE 41, a dual-homing CE 42, and a remote PE 43;
  • Dual-homed PE41 used for dual-homing CE 41 or self-determined when the primary link fails, sending a message of "redundant PW transmission and reception defect" to the remote PE 43;
  • the dual-homing CE42 is configured to switch traffic from the primary link to the standby link for transmission when determining that the primary link fails;
  • the remote PE43 when used for the message of "redundant PW transceiver defect", switches traffic from the primary PW to the standby PW for transmission.
  • the system also includes:
  • the configuration module 44 is configured to configure the primary link and the backup link of the dual-homed CE42, configure the primary PW and the standby PW between the remote PE 43 and the dual-homed PE 41, and configure the PW and the primary link of the dual-homed CE. Associated with the alternate link;
  • the dual-homing PE 41 is further configured to: when the dual-homing CE 42 or the self-determination primary link is restored, notify the remote PE 43 that the message “redundant PW is normal and received normally”;
  • the dual-homing CE 42 is further configured to: when the primary link is restored, the traffic is switched back to the primary link for transmission;
  • the remote PE 43 is further configured to: when receiving the message that the “redundant PW is sent and received normally”, the traffic is switched back to the primary PW for transmission.
  • the present invention further provides a switching system, as shown in FIG. 4, the system includes: a dual-homing PE 41, a dual-homing CE 42, and a remote PE 43;
  • the dual-homing PE 41 is configured to notify the dual-homing CE 42 of a "link receiving and receiving defect" message when the self- or remote-side PE determines that the primary PW fails;
  • the dual-homing CE42 is configured to switch traffic from the primary link to the standby link for receiving the message of "link transmission and reception defect";
  • the remote PE 43 is configured to switch the traffic from the primary PW to the standby PW when the primary PW fails. Transfer.
  • the system further includes: a configuration module 44, configured to configure a primary link and a backup link of the dual-homed CE 42, and configure a primary PW and a standby PW between the remote PE 43 and the dual-homed PE 41, and configure the PW and The primary link and the standby link of the dual-homed CE are associated;
  • the dual-homed PE 41 is further configured to notify the dual-homing CE 42 that the "link is transmitted and received normally" message when the remote PE 43 determines that the primary PW is valid.
  • the dual-homing CE 42 is further configured to: when receiving the message that the link is sent and received normally, the traffic is switched back to the primary link for transmission;
  • the remote PE 43 is further configured to: when the primary PW is restored, the traffic is switched back to the primary PW for transmission.
  • the configuration module 44 configures the primary link and the backup link of the dual-homing CE 42 as:
  • the dual-homed CE42 is configured according to the primary and backup links. Generate an AC FRR forwarding entry.
  • the configuration module 44 configures the primary PW and the standby PW of the dual-homed PE41 to be:
  • the remote PEs are connected to each adjacent PE through the configured PW.
  • the redundancy status of one PW is set to be the primary and the redundancy status of the other PW is set to standby. That is, as the standby PW; the primary PW and the standby PW are associated with the primary link and the standby link; and the remote PE 43 generates the PW FRR forwarding entry according to the configured primary PW and the standby PW.
  • Associating the configured PW with the primary link and the backup link of the dual-homed CE is as follows: associating the primary PW and the standby PW between the remote PE and the dual-homed PE to the primary link and the standby link of the dual-homed CE If the link between the dual-homed PE and the single-homed CE is configured, the link is not associated with the primary PW and the standby PW, and the remote PE distinguishes the single-homed traffic and the dual-homed traffic according to whether the association process is performed.
  • the dual-homing CE 42 or the dual-homing PE 41 determines that the primary link fails, the dual-homed PE 41 sends a message that the "redundant PW is sent and received defective" message to the remote PE 43 is:
  • the dual-homing CE 42 detects that the primary link fails, it notifies the dual-homed PE 41 that it is connected with the "link transmission and reception defect"; or, the dual-homed PE 41 detects that the primary link is invalid, or is notified by the dual-homed CE 42 connected thereto Sending and receiving defects"; when the dual-homing PE41 detects the failure of the primary link, notifying the dual-homed CE42 "link transmission and reception defect" connected thereto; when the dual-homing PE41 determines that the primary link is invalid and determines that the failed primary link exists associated with it At PW, the dual-homed PE 41 sends a message "Redundant PW Transceiver Defect" to the remote PE 43.

Abstract

La présente invention concerne un procédé et un système de commutation. Le procédé comprend les étapes suivantes : un routeur prestataire (PE) à double anneau envoie un message de « défaut redondant d'émission-réception Pseudo-Wire (PW) » à un PE à distance quand un routeur client (CE) à double anneau ou le PE à double anneau confirme une défaillance de liaison principale, ou le PE à double anneau annonce un message de « défaut de liaison d'émission-réception » au CE à double anneau quand le PE à double anneau ou le PE à distance confirme une défaillance PW principale ; le PE à distance commute le trafic du PW principal à un PW de substitution ; le CE à double anneau commute le trafic de la liaison principale à une liaison de substitution pour la transmission. La présente invention concerne également un système de commutation. Selon la solution technique de la présente invention, quand la liaison du CE à double anneau est en échec, les liaisons et les PW des CE à double anneau sont rapidement commutés sans influence sur le trafic des CE à anneau simple.
PCT/CN2011/076671 2010-09-02 2011-06-30 Procédé et système de commutation WO2012028029A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010270185.XA CN101931520B (zh) 2010-09-02 2010-09-02 一种切换方法及系统
CN201010270185.X 2010-09-02

Publications (1)

Publication Number Publication Date
WO2012028029A1 true WO2012028029A1 (fr) 2012-03-08

Family

ID=43370459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076671 WO2012028029A1 (fr) 2010-09-02 2011-06-30 Procédé et système de commutation

Country Status (2)

Country Link
CN (1) CN101931520B (fr)
WO (1) WO2012028029A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753794A (zh) * 2013-12-26 2015-07-01 中国移动通信集团辽宁有限公司 路由信息传递方法、系统及路由反射器
CN114157606A (zh) * 2021-12-09 2022-03-08 锐捷网络股份有限公司 虚拟网元设备切换方法、设备和存储介质

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931520B (zh) * 2010-09-02 2014-01-01 中兴通讯股份有限公司 一种切换方法及系统
CN102694718B (zh) 2011-03-25 2016-03-30 华为技术有限公司 一种vpls快速重路由方法和设备
CN102281155A (zh) * 2011-08-01 2011-12-14 中兴通讯股份有限公司 基于分组传送网ptn的伪线pw切换方法、系统及装置
CN102801630B (zh) * 2012-08-23 2015-07-22 杭州华三通信技术有限公司 一种虚连接实现的方法和设备
CN102833774B (zh) * 2012-08-29 2015-12-09 华为技术有限公司 一种ip无线接入网系统及其主用伪线故障的处理方法
CN103023772B (zh) * 2012-09-14 2015-12-09 中兴国通通讯装备技术(北京)有限公司 支持多Flex通道的软终端及其自适应动态接入方法
CN103905571B (zh) * 2012-12-26 2018-01-12 中国电信股份有限公司 用于更新地址信息的方法、装置和系统
CN104135418B (zh) * 2013-05-03 2017-09-15 中国移动通信集团内蒙古有限公司 一种实现二层与三层虚拟专用网协调倒换的方法及装置
CN104702498B (zh) * 2013-12-04 2018-08-28 中国移动通信集团内蒙古有限公司 一种通过协调保护减少设备间光连接数量的方法及装置
CN105306330A (zh) * 2014-06-24 2016-02-03 中兴通讯股份有限公司 组网保护方法、装置及组网中的汇聚主用网元
CN106685817B (zh) * 2016-12-27 2020-05-12 中国移动通信集团江苏有限公司 一种用于盒端设备流量切换的方法和装置
CN107612738B (zh) * 2017-09-22 2019-09-27 烽火通信科技股份有限公司 Vpls双归属业务模型的上行流量快速切换系统及方法
CN107566196A (zh) * 2017-10-20 2018-01-09 北京星河星云信息技术有限公司 组网方法和组网装置、用户边缘设备及可读存储介质
CN109189542B (zh) * 2018-09-28 2021-10-15 成都安恒信息技术有限公司 一种用于运维审计系统的远程桌面访问方法
CN110138605B (zh) * 2019-04-30 2022-06-17 浙江亿邦通信科技有限公司 基于虚拟端口的pw切换方法及装置
CN110311861B (zh) * 2019-05-31 2021-10-22 厦门网宿有限公司 一种引导数据流量的方法和装置
US11811591B2 (en) 2019-05-31 2023-11-07 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for network communication
CN111131035A (zh) * 2019-12-18 2020-05-08 新华三半导体技术有限公司 数据传输方法及装置
CN113595895B (zh) * 2020-04-30 2022-12-06 华为技术有限公司 报文控制方法、第一pe设备、第一ce设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674241A (zh) * 2009-09-15 2010-03-17 杭州华三通信技术有限公司 一种ce双归属网络中避免rip环路的方法及设备
CN101753464A (zh) * 2010-01-22 2010-06-23 中兴通讯股份有限公司 路由收敛方法、运营商边缘设备及虚拟专用网系统
CN101800662A (zh) * 2010-01-22 2010-08-11 中兴通讯股份有限公司 一种基于vpls的双归保护倒换方法及系统
CN101931520A (zh) * 2010-09-02 2010-12-29 中兴通讯股份有限公司 一种切换方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454875C (zh) * 2006-08-24 2009-01-21 华为技术有限公司 一种用户网络边缘设备双归属或多归属的实现方法及系统
CN101267360B (zh) * 2008-04-10 2010-08-18 华为技术有限公司 伪线故障检测方法和用户边缘设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674241A (zh) * 2009-09-15 2010-03-17 杭州华三通信技术有限公司 一种ce双归属网络中避免rip环路的方法及设备
CN101753464A (zh) * 2010-01-22 2010-06-23 中兴通讯股份有限公司 路由收敛方法、运营商边缘设备及虚拟专用网系统
CN101800662A (zh) * 2010-01-22 2010-08-11 中兴通讯股份有限公司 一种基于vpls的双归保护倒换方法及系统
CN101931520A (zh) * 2010-09-02 2010-12-29 中兴通讯股份有限公司 一种切换方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753794A (zh) * 2013-12-26 2015-07-01 中国移动通信集团辽宁有限公司 路由信息传递方法、系统及路由反射器
CN114157606A (zh) * 2021-12-09 2022-03-08 锐捷网络股份有限公司 虚拟网元设备切换方法、设备和存储介质

Also Published As

Publication number Publication date
CN101931520A (zh) 2010-12-29
CN101931520B (zh) 2014-01-01

Similar Documents

Publication Publication Date Title
WO2012028029A1 (fr) Procédé et système de commutation
US10469366B2 (en) Redundant ethernet automatic protection switching access to virtual private LAN services
JP4899959B2 (ja) Vpn装置
US9800432B2 (en) Using ethernet ring protection switching with computer networks
JP4796184B2 (ja) エッジノード冗長システム
JP4542045B2 (ja) データ通信装置およびその方法
US20130272114A1 (en) Pseudo wire switching method and device
JP5168230B2 (ja) 通信システム、エッジルータ及び信号転送方法
US20120236730A1 (en) Method, device and system for processing service traffic based on pseudo wires
WO2007115493A1 (fr) Procédé, dispositif et système pour réaliser la commutation dans le réseau à double anneau de réseau vpls
WO2009138036A1 (fr) Procédé de mise à jour de table de routage lors d’une transmission de service ethernet, dispositif et système correspondants
WO2011060667A1 (fr) Procédé et dispositif de protection de liaison dans un réseau privé virtuel local
WO2008083590A1 (fr) Procédé et appareil de convergence rapide d'un service point à point
WO2012130034A1 (fr) Procédé et dispositif de reroutage rapide vpls
WO2008080312A1 (fr) Procédé de convergence, dispositif, système pour réseau toute connexion ainsi qu'un dispositif domestique double
WO2012079375A1 (fr) Procédé et système de protection de liaison dans un réseau privé virtuel
WO2012171378A1 (fr) Procédé et routeur pour prévenir une interruption de flux provoquée par basculement de vpls vers l3
WO2012024952A1 (fr) {0> procédé et système de commutation de chemin sur la base d'un service point à multipoint <}0{><0}
WO2011147299A1 (fr) Procédé et appareil de reroutage rapide dans un réseau privé virtuel de couche 2
WO2012146097A1 (fr) Réseau vpls et procédé et dispositif de commutation d'anneau ethernet
WO2008095360A1 (fr) Méthode et système de commutation rapide en cas de défaillance d'une liaison d'un réseau privé virtuel
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
WO2011011934A1 (fr) Procede et appareil de protection de segmentation de tunnel ethernet
WO2011050665A1 (fr) Procédé et dispositif de mise en oeuvre de réacheminement rapide de ports

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11821055

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11821055

Country of ref document: EP

Kind code of ref document: A1