WO2012159489A1 - Switching method, system and dual homing provider device for pseudowire dual homing network - Google Patents

Switching method, system and dual homing provider device for pseudowire dual homing network Download PDF

Info

Publication number
WO2012159489A1
WO2012159489A1 PCT/CN2012/072915 CN2012072915W WO2012159489A1 WO 2012159489 A1 WO2012159489 A1 WO 2012159489A1 CN 2012072915 W CN2012072915 W CN 2012072915W WO 2012159489 A1 WO2012159489 A1 WO 2012159489A1
Authority
WO
WIPO (PCT)
Prior art keywords
dual
primary
pseudowire
link
traffic
Prior art date
Application number
PCT/CN2012/072915
Other languages
French (fr)
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 WO2012159489A1 publication Critical patent/WO2012159489A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Definitions

  • the present invention relates to the field of data network communication technologies, and in particular, to a Pseudo Wire (PW) dual-homing network switching method, system, and dual-homing carrier equipment.
  • PW Pseudo Wire
  • Layer 2 Virtual Private Network is a technology that relies on Internet service providers and network service providers to establish private data communication networks in public networks. It can be divided into two types: Virtual Private Lan Service (VPLS) and Virtual Leased Line (VLL). The former is based on Ethernet forwarding and supports point-to-multipoint network deployment. The latter is virtual. Dedicated line service, based on Ethernet, Asynchronous Transfer Mode (ATM), Time-Division Multiplexing (TDM), High-Levd Data Link Control (HDLC), Frame Relay ( Layer 2 service emulation, such as Frame Relay (FR) and Point to Point Protocol (PPP), only supports point-to-point network deployment.
  • ATM Asynchronous Transfer Mode
  • TDM Time-Division Multiplexing
  • HDLC High-Levd Data Link Control
  • FR Frame Relay
  • PPP Point to Point Protocol
  • PW operation management proposed by the IETF organization PWE3 working group Operation Administration & Maintenance (OAM) Message Mapping and PW redundancy technologies are considered for this purpose.
  • PW OAM Message Mapping ( draft-ietf-pwe3-oam-msg-map-12 ) is a pseudowire fault notification technology.
  • the fault mapping between the AC (access circuit) and the PW (pseudowire) is supported.
  • the association with the PW layer OAM is implemented, and the fault is advertised to the remote end through the PWE3 protocol packet. The remote end can quickly learn that the service path has failed and perform corresponding subsequent processing.
  • PW redundancy (draft-ietf-pwe3-redundancy-01) is a pseudowire redundancy protection technique.
  • network backup is considered to implement the path backup mechanism.
  • the working path and backup path relationship can be generated through protocol signaling negotiation or by user-specified designation.
  • the PW OAM message mapping technology and the PW redundancy technology are interrelated.
  • the former is mainly responsible for fault notification.
  • the latter is mainly responsible for responding to the fault information that is advertised, determining the current effective path, and guiding traffic forwarding. The two complement each other and jointly complete the fast convergence of the fault. .
  • a dual-homing protection switching method is used to perform Bidirectional Forwarding Detection (BFD) on the PW link and Ethernet OAM on the AC link.
  • BFD Bidirectional Forwarding Detection
  • the Ethernet OAM detects a fault
  • the fault is caused by the OAM through the oam mapping method. Passed to BFD to achieve end-to-end fault delivery and linkage. Thereby, the impact of network failure on the service is reduced, the probability of service unavailability is reduced, and the reliability of the service is improved.
  • CE User Edge
  • M-LAG Multi-Chassis-Link Aggregation Group
  • PE2 and PE3 form a primary backup path, where " --- ⁇ , represents the network traffic path before AC1 failure, and " ⁇ " represents AC 1 failure.
  • Post network process path The following problems exist in network switching:
  • the amount of switching of the entire network is MAX (TCE switching performance, TPEI switching performance); considering T fault detection and T switching behavior is; ⁇ two steps necessary for quantity switching, technology The same is true, but the TPE2 fault transmission is uncontrollable.
  • the existing fault transmission mostly adopts label distribution protocol (LDP) signaling, BFD or TP-OAM, etc.
  • LDP, BFD, TP-OAM is a series of extensions that increase the complexity of PE2 equipment.
  • fault-transmission packets need to span the PE2-PE1 network. When the network is large, the transmission delay becomes larger and the possibility of packet loss increases. This may cause the T PE2 failover to become the switching performance bottleneck of the entire network.
  • the embodiment of the invention provides a method for switching a pseudo-line dual-homing network, a system, and a dual-homing operator device, which can implement controllable and guaranteed network switching performance of TPE2 fault transmission in the switching technology of the PW dual-homing network.
  • An embodiment of the present invention provides a method for switching a pseudo-line dual-homed network, including: when a primary link fails, and a user equipment switches traffic to a standby link, the primary dual-homing carrier device in the primary link enables the middle.
  • the intermediate switching pseudowire is a pseudowire established between the primary dual-homing carrier device and a standby dual-homing carrier device in the standby link; the primary dual-homing carrier device switches traffic to The intermediate switching pseudowire is transmitted.
  • the switching method further includes:
  • the primary dual-homed carrier device switches back the traffic to the primary link for transmission.
  • the method further includes: the primary dual-homing operation, before the primary dual-homing carrier device in the primary link is configured to enable the intermediate switching pseudowire, when the primary link fails, and the user equipment switches the traffic to the standby link. Establishing a physical connection and the intermediate switching pseudowire between the merchant device and the standby dual-homed carrier device;
  • the primary dual-homed carrier device forms a protection relationship between the primary link and the intermediate switching pseudowire, and associates the primary pseudowire with the intermediate switching pseudowire.
  • the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, The intermediate switching pseudowire is not enabled.
  • the method also includes: and a status of the alternate link.
  • An embodiment of the present invention provides a dual-homing carrier device, including:
  • An enabling unit configured to enable an intermediate switching pseudowire when the primary link fails and the user equipment switches the traffic to the standby link, where the intermediate switching pseudowire is in the primary dual-homing carrier device and the standby link a pseudowire established between the alternate dual-homed carrier devices;
  • the dual-homed carrier device further includes:
  • a failback unit configured to: when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
  • the dual-homed carrier device further includes:
  • connection establishing unit configured to establish a physical connection and the intermediate switching pseudowire with the standby dual-homing carrier device
  • a setting unit configured to form a protection relationship between the primary link and the intermediate switching pseudowire, and associate a primary pseudowire with the intermediate switching pseudowire, and when the primary link fails, the user equipment switches the traffic
  • the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the intermediate switching is reversed.
  • the line is not enabled.
  • the dual-homed carrier device further includes: a state of using the link.
  • An embodiment of the present invention provides a switching system for a pseudowire dual-homing network, including:
  • the user equipment is configured to switch the traffic to the standby link when the primary link fails, and the primary dual-homing carrier device in the primary link, when the user equipment switches the traffic to the standby link.
  • the traffic is switched to the intermediate switching pseudowire for transmission, and the intermediate switching pseudowire is a pseudowire established between the primary dual-homing operator equipment and the standby dual-homing carrier equipment in the standby link.
  • the user equipment is further configured to delay the traffic back to the primary link when the primary link fails to recover;
  • the primary dual-homing carrier device in the primary link is further configured to: when the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
  • the switching method of the pseudowire dual-homing network provided by the embodiment of the present invention adopts a new intermediate switching pseudo
  • the line improves the network switching performance, improves the switching performance, ensures the stability of the network, and provides customers with better services.
  • FIG. 1 is a schematic diagram of a scenario of a conventional PW dual-homing network
  • FIG. 2 is a flowchart of a method for switching a pseudowire dual-homing network according to an embodiment of the present invention
  • FIG. 3 is a module interaction diagram of PE2 according to an embodiment of the present invention.
  • FIG. 4 is a scenario top view of a PW dual-homing network according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a dual-homed carrier device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another dual-homing carrier device according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a method for switching a pseudowire dual-homing network, including:
  • the primary link (AC1) fails and the user equipment (CE) switches traffic to the standby link (AC2)
  • the primary dual-homed carrier device (PE2) in the primary link (AC1) enables intermediate switching pseudo Line (I-PW), the I-PW is a pseudowire established between PE2 and the alternate dual-homed carrier equipment (PE3) in AC2;
  • PE2 switches the traffic to the I-PW for transmission.
  • the traffic is forwarded on the path formed by the primary pseudowire (PW1) + I-PW+AC2, and the traffic is switched when the primary link fails.
  • TPE2 switching performance TPE2 fault detection + TPE2 switching behavior. Since traffic depends on path selection on both sides, the traffic switching performance of the entire network is MAX (TCE handover performance, T PE2 handover performance), which reduces the uncertainty of T PE2 failure transmission and improves network handover performance.
  • the foregoing switching method may further include the following steps:
  • PE2 establishes a protection relationship between the AC1 and the I-PW, and associates the PW1 with the I-PW.
  • the I-PW is enabled.
  • the CE delays the traffic.
  • the I-PW is disabled.
  • the status of AC1 and AC2 is obtained through negotiation between PE2 and CE.
  • the existing switchback technology mostly adopts the WTR delay switchback mode (that is, the AC1 does not immediately switch back when it recovers, but waits for a period of time to switch back again, mainly to prevent the AC1 state oscillation from affecting the traffic switching oscillation). In the network, both PE1 and CE adopt this mode.
  • both CE and PE2 can be aware.
  • the CE performs the WTR delay and waits for the switchback.
  • PE2 needs to transfer the "AC1 recovery" to PE1, PE1.
  • the WTR delay is also waited for the switchback.
  • CE and PE1 each perform WTR delay processing (WTR values are separately configurable, delay timers are maintained separately), and there is no interaction mechanism between them. Eventually, the timing of the two switches is inconsistent, and the time difference is the switchback. Performance, can produce a lot of unbearable packet loss.
  • the foregoing switching method may further include the following steps: When the AC1 fails to recover and the CE delays the traffic back to AC1, PE1 switches back the traffic to AC1 for transmission.
  • Switchback performance analysis When the AC1 link is faulty, both CE and PE2 can detect the traffic immediately. However, PE2 and CE do not process the traffic switchback at this time. There is no packet loss at this time.
  • the switching method of the pseudowire dual-homing network improves the network switching performance, improves the back-cut performance, ensures the stability of the network, and provides a more perfect solution for the customer by adding an intermediate switching pseudowire. service. And the method is completely based on the existing hardware implementation of the device, and only needs to provide technical support at the software control level, which is easy to implement.
  • the PE2 is provided with: a service management module, an I-PW protection group module, and an MC-LAG module;
  • the service management module is mainly responsible for the association between the AC information and the PW information; at the level of the control plane, serving the forwarding plane; further comprising: a PW forwarding table module and an AC forwarding table module;
  • the receiving processing logic of the PW side data packet is mainly implemented, that is, the PE device receives the data packet from the PW side, performs routing according to the PW forwarding table, and forwards the packet; the level belongs to the forwarding plane;
  • AC forwarding table module It mainly implements the receiving processing logic of the AC side data packet, that is, the PE device receives the data packet from the AC side, performs routing according to the AC forwarding table, and forwards it; the level belongs to the forwarding plane.
  • I-PW protection group module Maintains the protection relationship between the AC and the I-PW.
  • the AC defaults to the primary path.
  • I-PW defaults to the alternate path; the preferred path is determined according to the state of the AC and I-PW; the control plane is hierarchically;
  • MC-LAG module Mainly maintains the active/standby state of the AC.
  • the AC state on the PE is controlled by the MC-LAG module of the CE device and is notified by protocol packets.
  • this embodiment implements fast switching of the PW dual-homing network, where "-- ⁇ " represents the AC1 pre-failure network traffic path, and " ⁇ " represents the AC1 post-fault network flow path.
  • This embodiment includes the following steps. :
  • Step A Perform the deployment of the common PW dual-homing network.
  • Step A specifically includes:
  • VLL Virtual Leased Line
  • A2 a VLL service is established between PE1 and PE3, and PW2 is formed.
  • A3 and PE1 form a PW dual-protection group relationship between PW1 and PW2, PW1 is the primary and PW2 is the standby.
  • A4, PE2, PE3, and CE are deployed in the MC-LAG dual-homed network.
  • the AC1 and AC2 are in the protection group relationship.
  • AC1 is the primary and AC2 is the standby.
  • step A After step A is completed, the normal PW dual-homing network deployment is completed.
  • the "Service Management Module” on PE2 maintains the "AC Forwarding Table Module” and "PW Forwarding Table Module” according to the VLL service configuration.
  • the "AC forwarding table module” forms an AC forwarding table (see Table 1)
  • the "PW forwarding table module” forms a PW forwarding table (see Table 2).
  • the traffic of PE1-CE is based on Table 1 and Table 2. Select “PE1-PE2-CE” as the forwarding path and the traffic can communicate with each other.
  • Step B On the basis of the common PW dual-homing network, the I-PW function is added.
  • Step B specifically includes:
  • B2, PE2 and PE3 are connected to each other to establish an outer tunnel
  • I-PW VLL service
  • step B After step B is completed, the deployment of the new PW dual-homing network is completed.
  • I-PW protection group module forms a protection relationship between AC1 and I-PW.
  • AC1 is active and I-PW is standby;
  • AC forwarding table module and “PW forwarding table module” are protected by “I-PW”.
  • the group module is affected, there is an update of forwarding information, see Table 3, Table 4. According to the active entries in Table 3 and Table 4, PE1 and PE2-CE are used as the forwarding path. The traffic can communicate with each other.
  • the MC-LAG module immediately exchanges protocol packets with the CE.
  • the MC-LAG protocol negotiates that AC1 is standby and AC2 is active.
  • the MC-LAG module notifies I-
  • the PW protection group module updates the active/standby status to AC1 as standby and I-PW as Active;
  • Step D The "I-PW protection group module” notifies the updated service status to the "service management module", and the “service management module” refreshes the forwarding table, and finally the "AC forwarding table module” and the “PW forwarding table” The information of the module is updated. See Table 5 and Table 6.
  • the traffic of PE1-CE is based on the active entry in Table 6.
  • PE1-PE2-PE3-CE is the forwarding path, and the traffic can communicate with each other.
  • the CE uses the WTR delay switchback policy.
  • the MC-LAG module interacts with the CE.
  • the MC-LAG protocol still negotiates that AC1 is standby and AC2 is active.
  • the status of the forwarding table has not changed.
  • the status of the corresponding forwarding table remains unchanged.
  • the traffic is still selected as the forwarding path.
  • the traffic can communicate with each other.
  • Step F After the WTR of the CE device times out, the MC-LAG protocol renegotiates AC1 as Active, AC2 is standby; notify the "MC-LAG module" of PE2 by protocol packet; Step G, "MC-LAG module” responds to the negotiation result, and informs the "I-PW protection group module” to update the active/standby status to AC1 is active and I-PW is standby;
  • Step H The "I-PW protection group module” notifies the updated service status to the "service management module", and the “service management module” refreshes the forwarding table, and finally the "AC forwarding table module” and the “PW forwarding table” The information of the module is updated. See Table 7 and Table 8.
  • the traffic of PE1-CE is based on the active entry in Table 8.
  • PE1-PE2 -CE is the forwarding path, and the traffic can communicate with each other.
  • an embodiment of the present invention further provides a dual-homing carrier device, including: an enabling unit, configured to enable intermediate switching pseudo when a primary link fails and a user equipment switches traffic to a standby link.
  • the line, the intermediate switching pseudowire is a pseudowire established between the dual-homing operator equipment and the standby dual-homing carrier equipment in the standby link;
  • the switching unit is configured to switch the traffic to the intermediate switching pseudowire for transmission.
  • the dual-homed carrier device may further include:
  • the switchback unit is configured to perform traffic back to the primary link for transmission when the primary link fails to recover and the user equipment delays the traffic back to the primary link.
  • the dual-homed carrier device may further include:
  • connection establishing unit configured to establish a physical connection and an intermediate switching pseudowire with the standby dual-homed carrier device
  • the setting unit is configured to form a protection relationship between the primary link and the intermediate switching pseudowire, and associate the primary pseudowire with the intermediate switching pseudowire.
  • the intermediate switching is performed.
  • the pseudowire is enabled.
  • the intermediate switching pseudowire is disabled.
  • the dual-homed carrier device may further include:
  • the state obtaining unit is configured to obtain a state of the primary link and the standby link by negotiating with the client device.
  • the dual-homed carrier device not only improves the network switching performance, but also further improves the back-cut performance, ensures the stability of the network, and provides a more perfect service to the client.
  • the embodiment of the present invention further provides a switching system for a pseudowire dual-homing network, including: a client device, configured to switch traffic to a standby link when the primary link fails;
  • the home carrier device is configured to switch the traffic to the intermediate switching pseudowire for transmission when the user equipment switches the traffic to the standby link, and the intermediate switching pseudowire is the standby dual in the dual-homed carrier device and the standby link.
  • the user equipment can also be used to delay the traffic back to the primary link when the primary link fails.
  • the primary dual-homed carrier device in the primary link can also be used to switch traffic back to the primary link for transmission when the user equipment delays the traffic back to the primary link.
  • the switching system of the pseudowire dual-homing network provided by the embodiment of the invention not only improves the network switching performance, but also further improves the switching performance, ensures the stability of the network, and provides a better service to the customer.
  • the above storage medium may be a ROM/RAM, a magnetic disk, an optical disk or the like.

Abstract

Provided in the present invention is a switching method, a system and a dual homing provider device for a pseudowire dual homing network, the switching method comprising: when a fault occurs on a primary link and a user terminal switches traffic to a standby link, a primary dual homing provider device of the primary link initiates an intermediate switching pseudowire, said intermediate switching pseudowire being the pseudowire established between the primary dual homing provider device and a standby dual homing provider device of the standby link; the primary dual homing provider device switches traffic to the intermediate switching pseudowire for transmission. By means of adding an intermediate switching pseudowire, the present invention improves network switching performance, improves switchback performance, ensures network stability, and provides improved service for the client.

Description

一种伪线双归网络的切换方法、 系统和双归属运营商设备 技术领域  Method, system and dual-homing operator equipment for switching pseudowire dual-homing network
本发明涉及数据网络通信技术领域, 特别涉及一种伪线(Pseudo Wire, PW )双归网络的切换方法、 系统和双归属运营商设备。 背景技术  The present invention relates to the field of data network communication technologies, and in particular, to a Pseudo Wire (PW) dual-homing network switching method, system, and dual-homing carrier equipment. Background technique
为了满足城域网业务转型和三网融合的趋势, 网络运营商倾向于采用 高效和低成本的分组传送网络来实现多业务承载, 提供灵活的网络服务, 提高网络资源利用率, 降低网络部署复杂度, 增强网络服务灵活性, 为其 带来更多的经济效益。  In order to meet the trend of metropolitan area network service transformation and triple play, network operators tend to adopt high-efficiency and low-cost packet transmission networks to implement multi-service bearers, provide flexible network services, improve network resource utilization, and reduce network deployment complexity. Degrees, enhance the flexibility of network services, bring more economic benefits.
二层虚拟专用网 (Layer 2 Virtual Private Network, L2VPN )是依靠 Internet服务提供商和网络服务提供商在公共网络中建立专用数据通信网络 的技术。 可分为虚拟专用局域网业务( Virtual Private Lan Service, VPLS ) 和虚拟专线业务(Virtual Leased Line, VLL )两种业务模型, 前者基于以太 业务转发, 支持点到多点的网络部署; 后者是虚拟专线业务, 基于以太、 异步传输模式 ( Asynchronous Transfer Mode , ATM ) , 时分复用模式 ( Time-Division Multiplexing, TDM ), 高级数据链路控制( High-Levd Data Link Control, HDLC )、 帧中继 ( Frame Relay, FR )、 点对点协议 ( Point to Point Protocol, PPP )等二层业务仿真, 仅支持点到点的网络部署。  Layer 2 Virtual Private Network (L2VPN) is a technology that relies on Internet service providers and network service providers to establish private data communication networks in public networks. It can be divided into two types: Virtual Private Lan Service (VPLS) and Virtual Leased Line (VLL). The former is based on Ethernet forwarding and supports point-to-multipoint network deployment. The latter is virtual. Dedicated line service, based on Ethernet, Asynchronous Transfer Mode (ATM), Time-Division Multiplexing (TDM), High-Levd Data Link Control (HDLC), Frame Relay ( Layer 2 service emulation, such as Frame Relay (FR) and Point to Point Protocol (PPP), only supports point-to-point network deployment.
由于电信级以太网的高可靠性需求, 运营商对网络出现故障时业务收 敛速度非常重视, 这就需要在网络部署时更注重故障响应及保护倒换能力, IETF 组织 PWE3 工作组提出的 PW 操作管理和维护 ( Operation Administration & Maintenance, OAM ) Message Mapping和 PW redundancy 技术正是为此考虑的。 PW OAM Message Mapping ( draft-ietf-pwe3-oam-msg-map-12 )是一种 伪线故障通告技术。在点到点仿真业务时, 支持 AC (接入电路)与 PW (伪 线) 的故障映射, 即 AC发生故障时, 实现与 PW层 OAM的联动, 通过 PWE3协议报文将故障通告到远端,远端能够快速获知此业务路径已出现故 障, 进行相应的后续处理。 Due to the high reliability requirements of carrier Ethernet, operators pay great attention to the service convergence speed when the network fails. This requires more attention to fault response and protection switching capability during network deployment. PW operation management proposed by the IETF organization PWE3 working group Operation Administration & Maintenance (OAM) Message Mapping and PW redundancy technologies are considered for this purpose. PW OAM Message Mapping ( draft-ietf-pwe3-oam-msg-map-12 ) is a pseudowire fault notification technology. In the point-to-point emulation service, the fault mapping between the AC (access circuit) and the PW (pseudowire) is supported. When the AC is faulty, the association with the PW layer OAM is implemented, and the fault is advertised to the remote end through the PWE3 protocol packet. The remote end can quickly learn that the service path has failed and perform corresponding subsequent processing.
PW redundancy ( draft-ietf-pwe3-redundancy-01 )是一种伪线冗余保护技 术。 为了适应电信级以太网的高可靠性需求, 网络部署时考虑实现路径备 份机制, 在工作路径发生故障时, 将用户流量快速地切换到备份路径, 尽 可能地减少流量丟失。 工作路径、 备份路径关系可以通过协议信令协商生 成, 也可以通过用户强制指定生成。 PW OAM Message Mapping技术与 PW redundancy技术是相互关联的, 前者主要负责故障通告, 后者主要负责响 应通告来的故障信息, 决策当前有效路径, 指导流量转发, 两者相辅相成, 共同完成故障的快速收敛。  PW redundancy (draft-ietf-pwe3-redundancy-01) is a pseudowire redundancy protection technique. In order to meet the high reliability requirements of carrier Ethernet, network backup is considered to implement the path backup mechanism. When the working path fails, user traffic is quickly switched to the backup path to minimize traffic loss. The working path and backup path relationship can be generated through protocol signaling negotiation or by user-specified designation. The PW OAM message mapping technology and the PW redundancy technology are interrelated. The former is mainly responsible for fault notification. The latter is mainly responsible for responding to the fault information that is advertised, determining the current effective path, and guiding traffic forwarding. The two complement each other and jointly complete the fast convergence of the fault. .
现有的一种双归保护倒换方法, 在 PW 链路运行双向转发检测 ( Bidirectional Forwarding Detection, BFD ), AC链路运行以太 OAM, 以 太 OAM检测到故障时 ,通过 oam mapping方式将故障由以太 OAM传递给 BFD, 实现端到端故障的传递和联动。 从而降低了网络故障对业务的影响, 减小业务不可用的概率, 提高了业务的可靠性。  A dual-homing protection switching method is used to perform Bidirectional Forwarding Detection (BFD) on the PW link and Ethernet OAM on the AC link. When the Ethernet OAM detects a fault, the fault is caused by the OAM through the oam mapping method. Passed to BFD to achieve end-to-end fault delivery and linkage. Thereby, the impact of network failure on the service is reduced, the probability of service unavailability is reduced, and the reliability of the service is improved.
现有的一种网络间链路快速回切的方法, 在面向传输多协议标签转发 ( Transport Multi-protocol Label Switching, TMPLS ) 网络和同步数字体系 ( Synchronous Digital Hierarchy, SDH ) 网络混合组网 (PW双归和 AC双 归) 时, SDH网络回切到主路径的前提下, 立刻通知 TMPLS 网络远端运 营商边缘路由器( Provide Edge, PE )进行 PW回切,消除两边倒换恢复( Wait To Restore, WTR )不一致带来的影响。 提高了网络的可靠性和灵活性, 有 效保证了承载业务的电信级保护倒换。 综上所述, 现有的 PW双归网络部署具体如图 1所示, PE1部署 PW1 和 PW2, 形成 PW双归保护, 用户边缘路由器( Customer Edge, CE )部署 AC1和 AC2,形成多机框链路聚合组( Multi Chassis-Link Aggregation Group, MC-LAG )保护, PE2和 PE3形成主备份路径, 其中, " --—► ,,代表 AC1 故障前网络流量路径, " ► " 代表 AC 1故障后网络流程路径。 网络切 换时存在以下问题: An existing method for fast failback of inter-network links in a transport-oriented multi-protocol label switching (TMPLS) network and a Synchronous Digital Hierarchy (SDH) network hybrid network (PW) When the SDH network is switched back to the primary path, the SDH network immediately informs the TMPLS network remote provider Edge (PE) to perform PW switchback and eliminate the two-side switchover recovery (Wait To Restore, WTR) inconsistency. The reliability and flexibility of the network are improved, and the carrier-class protection switching of the bearer service is effectively guaranteed. In summary, the existing PW dual-homing network deployment is as shown in Figure 1. PE1 deploys PW1 and PW2 to form PW dual-homing protection. User Edge (CE) deploys AC1 and AC2 to form a multi-chassis. The Multi-Chassis-Link Aggregation Group (MC-LAG) protects, and PE2 and PE3 form a primary backup path, where " ---► , represents the network traffic path before AC1 failure, and " ► " represents AC 1 failure. Post network process path. The following problems exist in network switching:
正常运行时, 业务流量沿着主路径 ( PE1-PE2-CE )双向转发; 一旦主 路径中 AC1链路发生故障, CE和 PE2均能即时感知,一方面 CE会重新选 择 AC2进行流量转发, CE侧流量切换性能 TCE切换性能 = TCE故障检测 + TCE切换行为; 另一方面, PE2需要将 "AC1故障"信息通过 oam mapping技术传递给 PE1 , PE1来重新选择 PW2进行流量转发, PE1侧流量切换性能 TPm »能 = TPE2 故障检测 + TPE2故障传递 + TPEI切换行为。 由于流量依赖于两侧的路径选择 ,整个网络的 量切换生能为 MAX(TCE切换性能, TPEI切换性能); 考虑到 T 故障检测和 T 切换行为是; ^ 量切换必须的两个步驟, 技术也是相似的, 但 TPE2故障传递是不可控的, 现有 的故障传递大都采取标签分发协议( label distribution protocol , LDP )信令、 BFD或 TP-OAM方式等, 首先都需要对 LDP、 BFD、 TP-OAM做一系列的 扩展, 增加了 PE2的设备复杂性; 另外故障传递报文需要跨越 PE2-PE1网 络, 网络较大时, 传输时延会变大, 报文丟失的可能性也会增加, 这样可 能会使 TPE2故障传递变为整个网络的切换性能瓶颈。 During normal operation, traffic is forwarded in both directions along the primary path (PE1-PE2-CE). Once the AC1 link in the primary path fails, both CE and PE2 can immediately sense the traffic. On the one hand, the CE reselects AC2 for traffic forwarding. Side traffic switching performance T CE switching performance = T CE fault detection + T CE switching behavior; on the other hand, PE2 needs to transmit "AC1 fault" information to PE1 through oam mapping technology, PE1 to reselect PW2 for traffic forwarding, PE1 side Flow switching performance T P m » can = T PE2 fault detection + TPE2 fault transmission + TPEI switching behavior. Since the traffic depends on the path selection on both sides, the amount of switching of the entire network is MAX (TCE switching performance, TPEI switching performance); considering T fault detection and T switching behavior is; ^ two steps necessary for quantity switching, technology The same is true, but the TPE2 fault transmission is uncontrollable. The existing fault transmission mostly adopts label distribution protocol (LDP) signaling, BFD or TP-OAM, etc. First, LDP, BFD, TP-OAM is a series of extensions that increase the complexity of PE2 equipment. In addition, fault-transmission packets need to span the PE2-PE1 network. When the network is large, the transmission delay becomes larger and the possibility of packet loss increases. This may cause the T PE2 failover to become the switching performance bottleneck of the entire network.
可见, 现有 PW双归网络的切换技术中 TPE2故障传递不可控, 无法保证网 络切换性能。 It can be seen that in the switching technology of the existing PW dual-homing network, the fault transmission of T PE2 is uncontrollable, and the network switching performance cannot be guaranteed.
发明内容 Summary of the invention
本发明实施例提供了一种伪线双归网络的切换方法、 系统和双归属运 营商设备, 能够实现 PW双归网络的切换技术中 TPE2故障传递的可控、 保证网 络切换性能。 本发明实施例提供了一种伪线双归网络的切换方法, 包括: 当主链路发生故障、 用户端设备将流量切换至备用链路时, 主链路中 的主双归属运营商设备启用中间倒换伪线, 所述中间倒换伪线为所述主双 归属运营商设备与备用链路中的备用双归属运营商设备之间建立的伪线; 所述主双归属运营商设备将流量切换至所述中间倒换伪线进行传输。 所述的切换方法, 还包括: The embodiment of the invention provides a method for switching a pseudo-line dual-homing network, a system, and a dual-homing operator device, which can implement controllable and guaranteed network switching performance of TPE2 fault transmission in the switching technology of the PW dual-homing network. An embodiment of the present invention provides a method for switching a pseudo-line dual-homed network, including: when a primary link fails, and a user equipment switches traffic to a standby link, the primary dual-homing carrier device in the primary link enables the middle. Inverting a pseudowire, the intermediate switching pseudowire is a pseudowire established between the primary dual-homing carrier device and a standby dual-homing carrier device in the standby link; the primary dual-homing carrier device switches traffic to The intermediate switching pseudowire is transmitted. The switching method further includes:
当所述主链路故障恢复、 所述用户端设备将流量延时回切至所述主链 路时, 所述主双归属运营商设备将流量回切至所述主链路进行传输。  When the primary link fails to recover and the user equipment delays the traffic back to the primary link, the primary dual-homed carrier device switches back the traffic to the primary link for transmission.
所述当主链路发生故障、 用户端设备将流量切换至备用链路时, 主链 路中的主双归属运营商设备启用中间倒换伪线之前, 所述方法还包括: 所述主双归属运营商设备与所述备用双归属运营商设备之间建立物理 连接和所述中间倒换伪线;  The method further includes: the primary dual-homing operation, before the primary dual-homing carrier device in the primary link is configured to enable the intermediate switching pseudowire, when the primary link fails, and the user equipment switches the traffic to the standby link. Establishing a physical connection and the intermediate switching pseudowire between the merchant device and the standby dual-homed carrier device;
所述主双归属运营商设备将所述主链路与所述中间倒换伪线形成保护 关系, 将主伪线与所述中间倒换伪线关联, 当所述主链路发生故障、 用户 端设备将流量切换至备用链路时, 将所述中间倒换伪线使能; 当所述主链 路故障恢复、 所述用户端设备将流量延时回切至所述主链路时, 将所述中 间倒换伪线不使能。  The primary dual-homed carrier device forms a protection relationship between the primary link and the intermediate switching pseudowire, and associates the primary pseudowire with the intermediate switching pseudowire. When the primary link fails, the user equipment When the traffic is switched to the standby link, the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, The intermediate switching pseudowire is not enabled.
所述方法还包括: 和备用链路的状态。  The method also includes: and a status of the alternate link.
本发明实施例提供了一种双归属运营商设备, 包括:  An embodiment of the present invention provides a dual-homing carrier device, including:
启用单元, 用于当主链路发生故障、 用户端设备将流量切换至备用链 路时, 启用中间倒换伪线, 所述中间倒换伪线为所述主双归属运营商设备 与备用链路中的备用双归属运营商设备之间建立的伪线;  An enabling unit, configured to enable an intermediate switching pseudowire when the primary link fails and the user equipment switches the traffic to the standby link, where the intermediate switching pseudowire is in the primary dual-homing carrier device and the standby link a pseudowire established between the alternate dual-homed carrier devices;
切换单元, 用于将流量切换至所述中间倒换伪线进行传输。 所述的双归属运营商设备, 还包括: And a switching unit, configured to switch the traffic to the intermediate switching pseudowire for transmission. The dual-homed carrier device further includes:
回切单元, 用于当所述主链路故障恢复、 所述用户端设备将流量延时 回切至所述主链路时, 将流量回切至所述主链路进行传输。  And a failback unit, configured to: when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
所述的双归属运营商设备, 还包括:  The dual-homed carrier device further includes:
连接建立单元, 用于与所述备用双归属运营商设备之间建立物理连接 和所述中间倒换伪线;  a connection establishing unit, configured to establish a physical connection and the intermediate switching pseudowire with the standby dual-homing carrier device;
设置单元, 用于将所述主链路与所述中间倒换伪线形成保护关系, 将 主伪线与所述中间倒换伪线关联, 当所述主链路发生故障、 用户端设备将 流量切换至备用链路时, 将所述中间倒换伪线使能; 当所述主链路故障恢 复、 所述用户端设备将流量延时回切至所述主链路时, 将所述中间倒换伪 线不使能。  a setting unit, configured to form a protection relationship between the primary link and the intermediate switching pseudowire, and associate a primary pseudowire with the intermediate switching pseudowire, and when the primary link fails, the user equipment switches the traffic When the backup link is to the standby link, the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the intermediate switching is reversed. The line is not enabled.
所述的双归属运营商设备, 还包括: 用链路的状态。  The dual-homed carrier device further includes: a state of using the link.
本发明实施例提供了一种伪线双归网络的切换系统, 包括:  An embodiment of the present invention provides a switching system for a pseudowire dual-homing network, including:
用户端设备, 用于当主链路发生故障时, 将流量切换至备用链路; 主链路中的主双归属运营商设备, 用于在所述用户端设备将流量切换 至备用链路时, 将流量切换至中间倒换伪线进行传输, 所述中间倒换伪线 为所述主双归属运营商设备与所述备用链路中的备用双归属运营商设备之 间建立的伪线。  The user equipment is configured to switch the traffic to the standby link when the primary link fails, and the primary dual-homing carrier device in the primary link, when the user equipment switches the traffic to the standby link. The traffic is switched to the intermediate switching pseudowire for transmission, and the intermediate switching pseudowire is a pseudowire established between the primary dual-homing operator equipment and the standby dual-homing carrier equipment in the standby link.
所述用户端设备, 还用于当所述主链路故障恢复时, 将流量延时回切 至所述主链路;  The user equipment is further configured to delay the traffic back to the primary link when the primary link fails to recover;
所述主链路中的主双归属运营商设备, 还用于在所述用户端设备将流 量延时回切至所述主链路时, 将流量回切至所述主链路进行传输。  The primary dual-homing carrier device in the primary link is further configured to: when the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
本发明实施例提供的伪线双归网络的切换方法通过新增的中间倒换伪 线, 提高了网络切换性能, 提高了回切性能, 保证了网络的稳定性, 提供 给客户更完善的服务。 附图说明 The switching method of the pseudowire dual-homing network provided by the embodiment of the present invention adopts a new intermediate switching pseudo The line improves the network switching performance, improves the switching performance, ensures the stability of the network, and provides customers with better services. DRAWINGS
图 1为现有普通 PW双归网络的场景拓朴图;  FIG. 1 is a schematic diagram of a scenario of a conventional PW dual-homing network;
图 2为本发明实施例中伪线双归网络的切换方法流程图;  2 is a flowchart of a method for switching a pseudowire dual-homing network according to an embodiment of the present invention;
图 3为本发明实施例中 PE2的模块交互图;  3 is a module interaction diagram of PE2 according to an embodiment of the present invention;
图 4为本发明实施例中 PW双归网络的场景拓朴图;  4 is a scenario top view of a PW dual-homing network according to an embodiment of the present invention;
图 5为本发明实施例中双归属运营商设备的结构示意图;  FIG. 5 is a schematic structural diagram of a dual-homed carrier device according to an embodiment of the present invention;
图 6为本发明实施例中另一种双归属运营商设备的结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of another dual-homing carrier device according to an embodiment of the present invention. detailed description
为使本发明实施例要解决的技术问题、 技术方案和优点更加清楚, 下 面将结合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will be more clearly described in the following description.
如图 2所示, 本发明实施例提供了一种伪线双归网络的切换方法, 包 括:  As shown in FIG. 2, an embodiment of the present invention provides a method for switching a pseudowire dual-homing network, including:
5101、 当主链路(AC1 )发生故障、 用户端设备(CE )将流量切换至 备用链路 ( AC2 ) 时, 主链路(AC1 ) 中的主双归属运营商设备 ( PE2 )启 用中间倒换伪线 ( I-PW ), I-PW为 PE2与 AC2中的备用双归属运营商设 备(PE3 )之间建立的伪线;  5101. When the primary link (AC1) fails and the user equipment (CE) switches traffic to the standby link (AC2), the primary dual-homed carrier device (PE2) in the primary link (AC1) enables intermediate switching pseudo Line (I-PW), the I-PW is a pseudowire established between PE2 and the alternate dual-homed carrier equipment (PE3) in AC2;
5102、 PE2将流量切换至 I-PW进行传输。  5102. PE2 switches the traffic to the I-PW for transmission.
步驟 S102完成之后, 流量在主伪线(PW1 ) + I-PW+ AC2所形成的路 径上转发, 完成主链路故障时流量的切换。  After the step S102 is completed, the traffic is forwarded on the path formed by the primary pseudowire (PW1) + I-PW+AC2, and the traffic is switched when the primary link fails.
切换性能分析: AC1链路发生故障, CE和 PE2均能即时感知, 一方面 CE会重新选择 AC2进行流量转发, CE侧流量切换性能 TCE切换性能 = TCE故障检 测 + TCE切换行为; 另一方面, PE2无需将 "AC1故障" 信息通过 oam mapping 技术传递给 PE1 , 只需要 PE2将流量转到 I-PW即可, PE2侧流量切换性能Switching performance analysis: The AC1 link is faulty, and both CE and PE2 can be immediately aware. On the one hand, the CE will re-select AC2 for traffic forwarding, and the CE side traffic switching performance T CE switching performance = T CE fault detection + TCE switching behavior; In terms, PE2 does not need to pass "AC1 fault" information through oam mapping. The technology is passed to PE1, only PE2 needs to transfer traffic to I-PW, and PE2 side traffic switching performance
TPE2切换性能 = TPE2故障检测 + TPE2切换行为。 由于流量依赖于两侧的路径选择, 整个网 络的流量切换性能为 MAX(TCE切换性能, TPE2切换性能), 减少了 TPE2故障传递的不确定 因素, 提高了网络切换性能。 TPE2 switching performance = TPE2 fault detection + TPE2 switching behavior. Since traffic depends on path selection on both sides, the traffic switching performance of the entire network is MAX (TCE handover performance, T PE2 handover performance), which reduces the uncertainty of T PE2 failure transmission and improves network handover performance.
在执行步驟 S101之前, 上述切换方法还可包括以下步驟:  Before the step S101 is performed, the foregoing switching method may further include the following steps:
PE2与 PE3之间建立物理连接和 I-PW;  Establish a physical connection and I-PW between PE2 and PE3.
PE2将 AC1与 I-PW形成保护关系, 将 PW1与 I-PW关联, 当 AC1发 生故障、 CE将流量切换至 AC2时, 将 I-PW使能; 当 AC1故障恢复、 CE 将流量延时回切至 AC1时, 将 I-PW不使能。  PE2 establishes a protection relationship between the AC1 and the I-PW, and associates the PW1 with the I-PW. When the AC1 fails and the CE switches the traffic to AC2, the I-PW is enabled. When the AC1 fails, the CE delays the traffic. When switching to AC1, the I-PW is disabled.
其中, AC1和 AC2的状态由 PE2与 CE通过协商获得。  The status of AC1 and AC2 is obtained through negotiation between PE2 and CE.
另外, 现有技术在回切时还存在以下问题: AC1 链路发生故障后, 流 量切换到备用路径(PE1-PE3-CE )双向转发; 当 AC1链路故障恢复时, 需 要将流量回切到主路径 ( PE1-PE2-CE )转发, 因为主路径是网络部署时运 营商更期望的转发路径, 可能具有 QoS等方面的优势。 现有的回切技术大 都采用 WTR延时回切方式(即 AC1恢复时不立即回切, 而是等待一段时 间再回切,主要为了防止 AC1状态震荡影响的流量切换震荡),在 PW双归 网络中, PE1和 CE各自均采用这种方式, AC1链路恢复时, CE和 PE2均 能够感知, 一方面 CE进行 WTR延时等待回切; 另外 PE2需要将 "AC1 恢复" 传递给 PE1 , PE1也进行 WTR延时等待回切。 CE和 PE1各自进行 WTR延时处理(WTR值是可单独配置的, 延时定时器单独维护的), 两者 之间又缺乏交互机制, 最终导致两者回切时机不一致, 其时间差就是回切 性能, 可能会产生不能忍受的大量丟包。  In addition, the following problems exist in the prior art: When the AC1 link fails, the traffic is switched to the alternate path (PE1-PE3-CE) for bidirectional forwarding. When the AC1 link recovers, the traffic needs to be switched back to The primary path (PE1-PE2-CE) is forwarded because the primary path is a more desirable forwarding path for the operator when the network is deployed, and may have advantages in terms of QoS. The existing switchback technology mostly adopts the WTR delay switchback mode (that is, the AC1 does not immediately switch back when it recovers, but waits for a period of time to switch back again, mainly to prevent the AC1 state oscillation from affecting the traffic switching oscillation). In the network, both PE1 and CE adopt this mode. When the AC1 link is restored, both CE and PE2 can be aware. On the one hand, the CE performs the WTR delay and waits for the switchback. In addition, PE2 needs to transfer the "AC1 recovery" to PE1, PE1. The WTR delay is also waited for the switchback. CE and PE1 each perform WTR delay processing (WTR values are separately configurable, delay timers are maintained separately), and there is no interaction mechanism between them. Eventually, the timing of the two switches is inconsistent, and the time difference is the switchback. Performance, can produce a lot of unbearable packet loss.
为了解决现有技术存在的上述问题, 上述切换方法还可包括以下步驟: 当 AC1故障恢复、 CE将流量延时回切至 AC1时, PE1将流量回切至 AC1进行传输。 回切性能分析: AC1链路故障恢复时, CE和 PE2均能即时感知, 但 PE2和 CE暂时并不处理流量回切, 此时不会有丟包; 当 CE的 WTR延时 后, CE会重新选择 AC1转发流量,其回切性能 TCE回切性能 = TCE回切行为( WTR 延时后直接触发回切行为, 因此无需 TCE故障检测 ); 另一方面, PE2获知 CE 回切到 AC1后 , PE2将流量回切到 AC1,其回切性能 TPE2回切性能 = TMC-LAG + TPE2 回切行为。 由于流量依赖于两侧的路径选择, 整个网络的流量切换性能为 MAX(TCE回切性能, TPE2回切性能),本发明回切方式仅依赖于 CE设备的 WTR延时 处理来控制整个网络的回切时机, 提高了回切性能, 避免了回切时机不一 致的问题。 In order to solve the above problems in the prior art, the foregoing switching method may further include the following steps: When the AC1 fails to recover and the CE delays the traffic back to AC1, PE1 switches back the traffic to AC1 for transmission. Switchback performance analysis: When the AC1 link is faulty, both CE and PE2 can detect the traffic immediately. However, PE2 and CE do not process the traffic switchback at this time. There is no packet loss at this time. When the WTR of the CE is delayed, the CE will Reselect AC1 forwarding traffic, and its switching performance T CE switching performance = TCE switching behavior (when the WTR delay directly triggers the switching behavior, so no TCE fault detection is required); on the other hand, PE2 knows that CE is switched back to AC1. PE2 will cut back the traffic to AC1, and its back-cut performance T PE2 back-cut performance = TMC-LAG + T PE2 . Since the traffic depends on the path selection on both sides, the traffic switching performance of the entire network is MAX (T CE switching performance, T PE2 switching performance), and the switchback mode of the present invention only depends on the WTR delay processing of the CE device to control the entire The back-cut timing of the network improves the back-cut performance and avoids the inconsistency of the switchback timing.
综上, 本发明实施例提供的伪线双归网络的切换方法通过新增中间倒 换伪线, 提高了网络切换性能, 提高了回切性能, 保证了网络的稳定性, 提供给客户更完善的服务。 并且该方法完全基于设备的现有硬件实现, 仅 需要提供软件控制层面的技术支持, 易于实施。  In summary, the switching method of the pseudowire dual-homing network provided by the embodiment of the present invention improves the network switching performance, improves the back-cut performance, ensures the stability of the network, and provides a more perfect solution for the customer by adding an intermediate switching pseudowire. service. And the method is completely based on the existing hardware implementation of the device, and only needs to provide technical support at the software control level, which is easy to implement.
下面举一具体实施例说明本发明实施例提供的切换方法  The following describes a handover method provided by an embodiment of the present invention.
如图 3所示, 在 PE2上设置有: 业务管理模块、 I-PW保护组模块及 MC-LAG模块; 其中,  As shown in FIG. 3, the PE2 is provided with: a service management module, an I-PW protection group module, and an MC-LAG module;
业务管理模块: 主要负责 AC信息和 PW信息的关联;层次上属于控制 面,服务于转发面; 进一步包括: PW转发表模块和 AC转发表模块; 其中, The service management module is mainly responsible for the association between the AC information and the PW information; at the level of the control plane, serving the forwarding plane; further comprising: a PW forwarding table module and an AC forwarding table module;
PW转发表模块: 主要实现 PW侧数据报文的接收处理逻辑, 即 PE设 备从 PW侧收到数据报文, 根据 PW转发表进行选路并转发出去; 层次上 属于转发面; PW forwarding table module: The receiving processing logic of the PW side data packet is mainly implemented, that is, the PE device receives the data packet from the PW side, performs routing according to the PW forwarding table, and forwards the packet; the level belongs to the forwarding plane;
AC转发表模块: 主要实现 AC侧数据报文的接收处理逻辑, 即 PE设 备从 AC侧收到数据报文,根据 AC转发表进行选路并转发出去; 层次上属 于转发面。  AC forwarding table module: It mainly implements the receiving processing logic of the AC side data packet, that is, the PE device receives the data packet from the AC side, performs routing according to the AC forwarding table, and forwards it; the level belongs to the forwarding plane.
I-PW保护组模块:主要维护 AC和 I-PW保护关系, AC默认为主路径, I-PW默认为备用路径; 根据 AC和 I-PW的状态来决定优选路径; 层次上 属于控制面; I-PW protection group module: Maintains the protection relationship between the AC and the I-PW. The AC defaults to the primary path. I-PW defaults to the alternate path; the preferred path is determined according to the state of the AC and I-PW; the control plane is hierarchically;
MC-LAG模块: 主要维护 AC的 active/standby状态; PE上 AC状态由 CE设备的 MC-LAG模块统一控制, 通过协议报文来告知。  MC-LAG module: Mainly maintains the active/standby state of the AC. The AC state on the PE is controlled by the MC-LAG module of the CE device and is notified by protocol packets.
结合图 4 , 本具体实施例实现 PW 双归网络的快速切换, 其中, " --—► " 代表 AC1故障前网络流量路径, " ► " 代表 AC1故障后 网络流程路径, 该实施例包括以下步驟:  With reference to FIG. 4, this embodiment implements fast switching of the PW dual-homing network, where "--►" represents the AC1 pre-failure network traffic path, and "►" represents the AC1 post-fault network flow path. This embodiment includes the following steps. :
步驟 A、 进行普通 PW双归网络的部署, 具体拓朴结构可参考图 1。 步驟 A具体包括:  Step A: Perform the deployment of the common PW dual-homing network. For the specific topology, refer to Figure 1. Step A specifically includes:
Al、 PE1和 PE2之间建立虚拟租用线 ( Virtual Leased Line, VLL )业 务, 形成 PW1;  A Virtual Leased Line (VLL) service is established between Al, PE1, and PE2 to form PW1.
A2、 PE1和 PE3之间建立 VLL业务, 形成 PW2;  A2, a VLL service is established between PE1 and PE3, and PW2 is formed.
A3、 PE1将 PW1和 PW2形成 PW双归保护组关系, PW1为主, PW2 为备;  A3 and PE1 form a PW dual-protection group relationship between PW1 and PW2, PW1 is the primary and PW2 is the standby.
A4、 PE2、 PE3、 CE部署 MC-LAG双归属网络, 将 AC1和 AC2形成 保护组关系, AC1为主, AC2为备。  A4, PE2, PE3, and CE are deployed in the MC-LAG dual-homed network. The AC1 and AC2 are in the protection group relationship. AC1 is the primary and AC2 is the standby.
步驟 A完成后, 普通 PW双归网络部署完成。  After step A is completed, the normal PW dual-homing network deployment is completed.
PE2上 "业务管理模块" 根据 VLL业务配置, 来维护 "AC转发表模 块" 和 "PW转发表模块"。 其中 "AC转发表模块" 形成 AC转发表(见表 1 ), "PW转发表模块" 形成 PW转发表(见表 2 ),,; 正常情况下, PE1-CE 的流量根据表 1、 表 2选择 "PE1-PE2-CE" 为转发路径, 流量能够互通。  The "Service Management Module" on PE2 maintains the "AC Forwarding Table Module" and "PW Forwarding Table Module" according to the VLL service configuration. The "AC forwarding table module" forms an AC forwarding table (see Table 1), and the "PW forwarding table module" forms a PW forwarding table (see Table 2). Normally, the traffic of PE1-CE is based on Table 1 and Table 2. Select "PE1-PE2-CE" as the forwarding path and the traffic can communicate with each other.
Figure imgf000011_0001
Figure imgf000011_0001
表 1: PE2设备 AC转发表 入口 出口 Table 1: PE forwarding table AC forwarding table Entrance Exit
PW1 AC1  PW1 AC1
表 2: PE2设备 PW转发表  Table 2: PE2 Device PW Forwarding Table
步驟 B、 在普通 PW双归网络的基础上, 新增 I-PW功能。  Step B: On the basis of the common PW dual-homing network, the I-PW function is added.
步驟 B具体包括:  Step B specifically includes:
Bl、 PE2和 PE3需要建立物理连接;  Bl, PE2 and PE3 need to establish a physical connection;
B2、 PE2和 PE3连接打通路由, 建立外层隧道;  B2, PE2 and PE3 are connected to each other to establish an outer tunnel;
B3、 PE2和 PE3上, 在 VLL业务上新建一条新 PW, 称为 I-PW, 并与 AC捆绑为 I-PW保护组。  On B3, PE2, and PE3, a new PW is created on the VLL service, which is called I-PW, and is bundled with the AC as an I-PW protection group.
步驟 B完成后, 新型 PW双归网络部署完成。  After step B is completed, the deployment of the new PW dual-homing network is completed.
其中, "I-PW保护组模块" 将 AC1与 I-PW形成保护关系, 默认 AC1 为 active, I-PW为 standby; "AC转发表模块"和 "PW转发表模块"受 "I-PW 保护组模块"影响,存在转发信息的更新,见表 3,表 4。正常情况下, PE1-CE 的流量根据表 3、 表 4中 active条目选择 "PE1-PE2-CE" 为转发路径, 流 量能够互通。
Figure imgf000012_0001
Among them, "I-PW protection group module" forms a protection relationship between AC1 and I-PW. By default, AC1 is active and I-PW is standby; "AC forwarding table module" and "PW forwarding table module" are protected by "I-PW". The group module "is affected, there is an update of forwarding information, see Table 3, Table 4. According to the active entries in Table 3 and Table 4, PE1 and PE2-CE are used as the forwarding path. The traffic can communicate with each other.
Figure imgf000012_0001
表 3: PE2设备 AC转发表  Table 3: PE2 Device AC Forwarding Table
Figure imgf000012_0002
Figure imgf000012_0002
表 4: PE2设备 PW转发表  Table 4: PE2 Device PW Forwarding Table
步驟 C、 AC1链路发生故障时, "MC-LAG模块" 立即与 CE进行协议 报文交互, MC-LAG协议会协商出 AC1为 standby, AC2为 active; "MC-LAG 模块" 通知 "I-PW保护组模块" 更新主备状态为 AC1为 standby, I-PW为 active; If the AC1 link fails, the MC-LAG module immediately exchanges protocol packets with the CE. The MC-LAG protocol negotiates that AC1 is standby and AC2 is active. The MC-LAG module notifies I- The PW protection group module updates the active/standby status to AC1 as standby and I-PW as Active;
步驟 D、 "I-PW保护组模块"会将更新后的主备状态通知给 "业务管理 模块", 由 "业务管理模块"来刷新转发表, 最终 "AC转发表模块"和 "PW 转发表模块"信息得以更新,见表 5、表 6; PE1-CE的流量根据表 6中 active 条目选择 "PE1-PE2-PE3-CE" 为转发路径, 流量能够互通;
Figure imgf000013_0001
Step D: The "I-PW protection group module" notifies the updated service status to the "service management module", and the "service management module" refreshes the forwarding table, and finally the "AC forwarding table module" and the "PW forwarding table" The information of the module is updated. See Table 5 and Table 6. The traffic of PE1-CE is based on the active entry in Table 6. "PE1-PE2-PE3-CE" is the forwarding path, and the traffic can communicate with each other.
Figure imgf000013_0001
表 5: PE2设备 AC转发表  Table 5: PE2 Device AC Forwarding Table
Figure imgf000013_0002
Figure imgf000013_0002
表 6: PE2设备 PW转发表  Table 6: PE2 Device PW Forwarding Table
至此, AC1链路发生故障后, 流量切换完成。  At this point, after the AC1 link fails, the traffic switching is completed.
切换性能分析: AC1链路发生故障, CE和 PE2均能即时感知, 一方面 CE会重新选择 AC2进行流量转发, CE侧流量切换性能 TCE切换性能 = TCE故障检 测 + TCE切换行为; 另一方面, PE2无需将 "AC1故障" 信息通过 oam mapping 技术传递给 PE1 , 此处只需要 PE2将流量转到 I-PW路径即可, PE2侧流量 切换性能 TPE2切换性能 = TPE2故障检测 + TPE2切换行为。 由于流量依赖于两侧的路径选 择, 整个网络的流量切换性能为 MAX(TCE 性能, TPE2 性能), 减少了 TPE2故障 传递的不可控因素, 其性能较普通 PW双归网络切换技术有了很大的提高。 Switching performance analysis: The AC1 link is faulty, and both CE and PE2 can be immediately aware. On the one hand, the CE will re-select AC2 for traffic forwarding, and the CE side traffic switching performance T CE switching performance = T CE fault detection + TCE switching behavior; On the other hand, the PE2 does not need to pass the "AC1 fault" information to PE1 through the oam mapping technology. Only PE2 needs to transfer traffic to the I-PW path. PE2 side traffic switching performance TPE2 switching performance = TPE2 fault detection + TPE2 switching behavior . Since the traffic depends on the path selection on both sides, the traffic switching performance of the entire network is MAX (TCE performance, TPE2 performance), which reduces the uncontrollable factors of T PE2 fault transmission. Its performance is much better than that of ordinary PW dual-homing network switching technology. Great improvement.
步驟 E、 AC1链路故障恢复时, 由于 CE采用 WTR延时回切策略, 此 时 "MC-LAG模块" 与 CE进行交互, MC-LAG协议仍会协商出 AC1 为 standby, AC2为 active, 其状态暂未改变, 对应的转发表状态仍保持不变, 流量依旧选择 "PE1-PE2-PE3-CE" 为转发路径, 流量能够互通;  In the case of the fault recovery of the AC1 link, the CE uses the WTR delay switchback policy. The MC-LAG module interacts with the CE. The MC-LAG protocol still negotiates that AC1 is standby and AC2 is active. The status of the forwarding table has not changed. The status of the corresponding forwarding table remains unchanged. The traffic is still selected as the forwarding path. The traffic can communicate with each other.
步驟 F、 CE设备 WTR超时后, MC-LAG协议会重新协商出 AC1为 active, AC2为 standby; 通过协议报文通知给 PE2的 "MC-LAG模块"; 步驟 G、 "MC-LAG模块" 响应到协商结果后, 通知 "I-PW保护组模 块" 更新主备状态为 AC1为 active, I-PW为 standby; Step F: After the WTR of the CE device times out, the MC-LAG protocol renegotiates AC1 as Active, AC2 is standby; notify the "MC-LAG module" of PE2 by protocol packet; Step G, "MC-LAG module" responds to the negotiation result, and informs the "I-PW protection group module" to update the active/standby status to AC1 is active and I-PW is standby;
步驟 H、 "I-PW保护组模块"会将更新后的主备状态通知给 "业务管理 模块", 由 "业务管理模块"来刷新转发表, 最终 "AC转发表模块"和 "PW 转发表模块"信息得以更新,见表 7、表 8; PE1-CE的流量根据表 8中 active 条目选择 "PE1-PE2 -CE" 为转发路径, 流量能够互通;
Figure imgf000014_0001
Step H: The "I-PW protection group module" notifies the updated service status to the "service management module", and the "service management module" refreshes the forwarding table, and finally the "AC forwarding table module" and the "PW forwarding table" The information of the module is updated. See Table 7 and Table 8. The traffic of PE1-CE is based on the active entry in Table 8. "PE1-PE2 -CE" is the forwarding path, and the traffic can communicate with each other.
Figure imgf000014_0001
表 7: PE2设备 AC转发表  Table 7: PE2 Device AC Forwarding Table
Figure imgf000014_0002
Figure imgf000014_0002
表 8: PE2设备 PW转发表  Table 8: PE2 Device PW Forwarding Table
至此, AC 1链路故障恢复且 WTR延时后, 流量回切完成。  At this point, after the AC 1 link fails and the WTR delays, the traffic switchback is completed.
回切性能分析: AC1链路故障恢复时, CE和 PE2均能即时感知, 但 MC-LAG的 AC1状态仍旧为 standby, PE2和 CE暂时并不处理流量回切, 此时不会有丟包; 当 CE的 WTR延时后, MC-LAG协议将 AC1状态重新 置为 active, —方面 CE会重新选择 AC1转发流量, 其回切性能 TCE回切性能 = TcE回切行为 ( WTR延时后直接触发回切行为, 因此无需 TCE故障检测 ); 另一方面, PE2的 "MC-LAG模块"响应协商结果后, 重新刷新转发表, 重新选择 AC1 路径转发流量 , 其回切性能 ΤΡΕ2回切性能 = TMC-LAG + TPE2回切行为。 由于流量依赖于 两侧的路径选择, 整个网络的流量切换性能为 MAX(TCE回切性能, TPE2回切性能), 避免了两端各自进行 WTR处理而导致的回切时机不一致问题, 仅依赖于 CE设备的 WTR延时处理来控制整个网络的回切时机, 提高了回切性能。 如图 5所示, 本发明实施例还提供了一种双归属运营商设备, 包括: 启用单元, 用于当主链路发生故障、 用户端设备将流量切换至备用链 路时, 启用中间倒换伪线, 中间倒换伪线为主双归属运营商设备与备用链 路中的备用双归属运营商设备之间建立的伪线; Switchback performance analysis: When the AC1 link is faulty, both CE and PE2 can be detected immediately. However, the AC1 state of the MC-LAG is still standby. PE2 and CE do not process traffic switchback. when the WTR delay CE, MC-LAG protocol AC1 state reset to active, - CE aspects will reselect forward traffic AC1, which back cut performance properties T = TcE CE switchback switchback behavior directly (after delay WTR Triggering the switchback behavior, so no TCE fault detection is required. On the other hand, after the "MC-LAG module" of PE2 responds to the negotiation result, the forwarding table is refreshed again, and the AC1 path forwarding traffic is reselected, and its switching performance is 回2. = TMC-LAG + TPE2 switchback behavior. Since the traffic depends on the path selection on both sides, the traffic switching performance of the entire network is MAX (T CE switchback performance, T PE2 switchback performance), which avoids the problem of inconsistency of the switchback timing caused by WTR processing at both ends. Relying on the WTR delay processing of the CE device to control the switchback timing of the entire network, improving the switchback performance. As shown in FIG. 5, an embodiment of the present invention further provides a dual-homing carrier device, including: an enabling unit, configured to enable intermediate switching pseudo when a primary link fails and a user equipment switches traffic to a standby link. The line, the intermediate switching pseudowire is a pseudowire established between the dual-homing operator equipment and the standby dual-homing carrier equipment in the standby link;
切换单元, 用于将流量切换至中间倒换伪线进行传输。  The switching unit is configured to switch the traffic to the intermediate switching pseudowire for transmission.
如图 6所示, 上述双归属运营商设备, 还可以包括:  As shown in FIG. 6, the dual-homed carrier device may further include:
回切单元, 用于当主链路故障恢复、 用户端设备将流量延时回切至主 链路时, 将流量回切至主链路进行传输。  The switchback unit is configured to perform traffic back to the primary link for transmission when the primary link fails to recover and the user equipment delays the traffic back to the primary link.
再如图 6所示, 上述双归属运营商设备, 还可以包括:  As shown in FIG. 6, the dual-homed carrier device may further include:
连接建立单元, 用于与备用双归属运营商设备之间建立物理连接和中 间倒换伪线;  a connection establishing unit, configured to establish a physical connection and an intermediate switching pseudowire with the standby dual-homed carrier device;
设置单元, 用于将主链路与中间倒换伪线形成保护关系, 将主伪线与 中间倒换伪线关联, 当主链路发生故障、 用户端设备将流量切换至备用链 路时, 将中间倒换伪线使能; 当主链路故障恢复、 用户端设备将流量延时 回切至主链路时, 将中间倒换伪线不使能。  The setting unit is configured to form a protection relationship between the primary link and the intermediate switching pseudowire, and associate the primary pseudowire with the intermediate switching pseudowire. When the primary link fails and the user equipment switches the traffic to the standby link, the intermediate switching is performed. The pseudowire is enabled. When the primary link recovers and the user equipment delays the traffic back to the primary link, the intermediate switching pseudowire is disabled.
再如图 6所示, 上述双归属运营商设备, 还可以包括:  As shown in FIG. 6, the dual-homed carrier device may further include:
状态获取单元, 用于与用户端设备通过协商获得主链路和备用链路的 状态。  The state obtaining unit is configured to obtain a state of the primary link and the standby link by negotiating with the client device.
本发明实施例提供的双归属运营商设备不仅提高了网络切换性能, 还 进一步提高了回切性能, 保证了网络的稳定性, 提供给客户更完善的服务。  The dual-homed carrier device provided by the embodiment of the invention not only improves the network switching performance, but also further improves the back-cut performance, ensures the stability of the network, and provides a more perfect service to the client.
另外, 本发明实施例还提供了一种伪线双归网络的切换系统, 包括: 用户端设备, 用于当主链路发生故障时, 将流量切换至备用链路; 主链路中的主双归属运营商设备, 用于在用户端设备将流量切换至备 用链路时, 将流量切换至中间倒换伪线进行传输, 中间倒换伪线为主双归 属运营商设备与备用链路中的备用双归属运营商设备之间建立的伪线。 其中, 用户端设备, 还可用于当主链路故障恢复时, 将流量延时回切 至主链路; In addition, the embodiment of the present invention further provides a switching system for a pseudowire dual-homing network, including: a client device, configured to switch traffic to a standby link when the primary link fails; The home carrier device is configured to switch the traffic to the intermediate switching pseudowire for transmission when the user equipment switches the traffic to the standby link, and the intermediate switching pseudowire is the standby dual in the dual-homed carrier device and the standby link. A pseudowire established between the home carrier devices. The user equipment can also be used to delay the traffic back to the primary link when the primary link fails.
主链路中的主双归属运营商设备, 还可用于在用户端设备将流量延时 回切至主链路时, 将流量回切至主链路进行传输。  The primary dual-homed carrier device in the primary link can also be used to switch traffic back to the primary link for transmission when the user equipment delays the traffic back to the primary link.
本发明实施例提供的伪线双归网络的切换系统不仅提高了网络切换性 能, 还进一步提高了回切性能, 保证了网络的稳定性, 提供给客户更完善 的服务。  The switching system of the pseudowire dual-homing network provided by the embodiment of the invention not only improves the network switching performance, but also further improves the switching performance, ensures the stability of the network, and provides a better service to the customer.
本领域普通技术人员可以理解, 实现上述事实的方法中的全部或部分 步驟是可以通过程序来指令相关的硬件来完成, 上述的程序可以存储于一 计算机所可读取的存储介质中, 该程序在执行时, 包括上述的步驟。 上述 的存储介质, 可以是 ROM/RAM、 磁盘、 光盘等。  It will be understood by those skilled in the art that all or part of the steps of the method for realizing the above facts may be completed by a program instructing related hardware, and the above program may be stored in a storage medium readable by a computer, the program When executed, the above steps are included. The above storage medium may be a ROM/RAM, a magnetic disk, an optical disk or the like.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种伪线双归网络的切换方法, 其特征在于, 所述方法包括: 当主链路发生故障、 用户端设备将流量切换至备用链路时, 主链路中 的主双归属运营商设备启用中间倒换伪线, 所述中间倒换伪线为所述主双 归属运营商设备与备用链路中的备用双归属运营商设备之间建立的伪线; 所述主双归属运营商设备将流量切换至所述中间倒换伪线进行传输。 A method for switching a pseudo-line dual-homing network, the method comprising: when a primary link fails, and the user equipment switches the traffic to the standby link, the primary dual-homing operator in the primary link The device enables the intermediate switching pseudowire, where the intermediate switching pseudowire is a pseudowire established between the primary dual-homed carrier device and the standby dual-homing carrier device in the standby link; the primary dual-homing carrier device The flow is switched to the intermediate switching pseudowire for transmission.
2、 如权利要求 1所述的切换方法, 其特征在于, 所述方法还包括: 当所述主链路故障恢复、 所述用户端设备将流量延时回切至所述主链 路时, 所述主双归属运营商设备将流量回切至所述主链路进行传输。 2. The handover method according to claim 1, wherein the method further comprises: when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, The primary dual-homed carrier device retries traffic to the primary link for transmission.
3、 如权利要求 1所述的切换方法, 其特征在于, 在所述当主链路发生 故障、 用户端设备将流量切换至备用链路时, 主链路中的主双归属运营商 设备启用中间倒换伪线之前, 所述方法还包括:  The handover method according to claim 1, wherein when the primary link fails and the user equipment switches the traffic to the standby link, the primary dual-homing carrier device in the primary link enables the middle. Before the pseudowire is reversed, the method further includes:
所述主双归属运营商设备与所述备用双归属运营商设备之间建立物理 连接和所述中间倒换伪线;  Establishing a physical connection and the intermediate switching pseudowire between the primary dual-homed carrier device and the standby dual-homing carrier device;
所述主双归属运营商设备将所述主链路与所述中间倒换伪线形成保护 关系, 将主伪线与所述中间倒换伪线关联, 当所述主链路发生故障、 用户 端设备将流量切换至备用链路时, 将所述中间倒换伪线使能; 当所述主链 路故障恢复、 所述用户端设备将流量延时回切至所述主链路时, 将所述中 间倒换伪线不使能。  The primary dual-homed carrier device forms a protection relationship between the primary link and the intermediate switching pseudowire, and associates the primary pseudowire with the intermediate switching pseudowire. When the primary link fails, the user equipment When the traffic is switched to the standby link, the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, The intermediate switching pseudowire is not enabled.
4、 如权利要求 1所述的切换方法, 其特征在于, 所述方法还包括: 和备用链路的状态。  4. The handover method according to claim 1, wherein the method further comprises: and a state of the standby link.
5、一种双归属运营商设备,其特征在于, 所述双归属运营商设备包括: 启用单元, 用于当主链路发生故障、 用户端设备将流量切换至备用链 路时, 启用中间倒换伪线, 所述中间倒换伪线为所述主双归属运营商设备 与备用链路中的备用双归属运营商设备之间建立的伪线; A dual-homed carrier device, the dual-homing carrier device includes: an enabling unit, configured to enable intermediate switching pseudo when the primary link fails and the user equipment switches traffic to the standby link a line, the intermediate switching pseudowire is the primary dual-homing carrier device a pseudowire established between the alternate dual-homed carrier device in the alternate link;
切换单元, 用于将流量切换至所述中间倒换伪线进行传输。  And a switching unit, configured to switch the traffic to the intermediate switching pseudowire for transmission.
6、 如权利要求 5所述的双归属运营商设备, 其特征在于, 所述双归属 运营商设备还包括:  6. The dual-homed carrier device of claim 5, wherein the dual-homing carrier device further comprises:
回切单元, 用于当所述主链路故障恢复、 所述用户端设备将流量延时 回切至所述主链路时, 将流量回切至所述主链路进行传输。  And a failback unit, configured to: when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
7、 如权利要求 5所述的双归属运营商设备, 其特征在于, 所述双归属 运营商设备还包括:  The dual-homed carrier device of claim 5, wherein the dual-homing carrier device further comprises:
连接建立单元, 用于与所述备用双归属运营商设备之间建立物理连接 和所述中间倒换伪线;  a connection establishing unit, configured to establish a physical connection and the intermediate switching pseudowire with the standby dual-homing carrier device;
设置单元, 用于将所述主链路与所述中间倒换伪线形成保护关系, 将 主伪线与所述中间倒换伪线关联, 当所述主链路发生故障、 用户端设备将 流量切换至备用链路时, 将所述中间倒换伪线使能; 当所述主链路故障恢 复、 所述用户端设备将流量延时回切至所述主链路时, 将所述中间倒换伪 线不使能。  a setting unit, configured to form a protection relationship between the primary link and the intermediate switching pseudowire, and associate a primary pseudowire with the intermediate switching pseudowire, and when the primary link fails, the user equipment switches the traffic When the backup link is to the standby link, the intermediate switching pseudowire is enabled; when the primary link fails to recover, and the user equipment delays the traffic back to the primary link, the intermediate switching is reversed. The line is not enabled.
8、 如权利要求 5所述的双归属运营商设备, 其特征在于, 所述双归属 运营商设备还包括: 用链路的状态。  8. The dual-homed carrier device of claim 5, wherein the dual-homed carrier device further comprises: a state of the link.
9、 一种伪线双归网络的切换系统, 其特征在于, 所述切换系统包括: 用户端设备, 用于当主链路发生故障时, 将流量切换至备用链路; 主链路中的主双归属运营商设备, 用于在所述用户端设备将流量切换 至备用链路时, 将流量切换至中间倒换伪线进行传输, 所述中间倒换伪线 为所述主双归属运营商设备与所述备用链路中的备用双归属运营商设备之 间建立的伪线。 A switching system for a pseudo-line dual-homing network, the switching system comprising: a user equipment, configured to switch traffic to a standby link when the primary link fails; The dual-homed carrier device is configured to switch the traffic to the intermediate switching pseudowire for transmitting, when the user equipment switches the traffic to the standby link, where the intermediate switching pseudowire is the primary dual-homing carrier device and A pseudowire established between the alternate dual-homed carrier devices in the standby link.
10、 如权利要求 9所述的切换系统, 其特征在于, 10. The switching system of claim 9 wherein:
所述用户端设备, 还用于当所述主链路故障恢复时, 将流量延时回切 至所述主链路;  The user equipment is further configured to delay the traffic back to the primary link when the primary link fails to recover;
所述主链路中的主双归属运营商设备, 还用于在所述用户端设备将流 量延时回切至所述主链路时, 将流量回切至所述主链路进行传输。  The primary dual-homing carrier device in the primary link is further configured to: when the user equipment delays the traffic back to the primary link, the traffic is switched back to the primary link for transmission.
PCT/CN2012/072915 2011-05-25 2012-03-23 Switching method, system and dual homing provider device for pseudowire dual homing network WO2012159489A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110137249.3 2011-05-25
CN201110137249.3A CN102325037B (en) 2011-05-25 2011-05-25 A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment

Publications (1)

Publication Number Publication Date
WO2012159489A1 true WO2012159489A1 (en) 2012-11-29

Family

ID=45452711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072915 WO2012159489A1 (en) 2011-05-25 2012-03-23 Switching method, system and dual homing provider device for pseudowire dual homing network

Country Status (2)

Country Link
CN (1) CN102325037B (en)
WO (1) WO2012159489A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325037B (en) * 2011-05-25 2016-01-20 中兴通讯股份有限公司 A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
CN102801466B (en) * 2012-08-17 2017-05-17 中兴通讯股份有限公司 Method and device for handling single optical fiber fault
CN103634209B (en) * 2013-09-13 2017-02-08 华为技术有限公司 Method and equipment for data transmission
CN105227332B (en) * 2014-05-28 2019-01-18 中兴通讯股份有限公司 PW double-returning protection switching method and system
CN105656776B (en) * 2014-12-01 2020-03-27 中兴通讯股份有限公司 Pseudo wire dual-homing protection switching system, method and device
CN104539532B (en) * 2015-01-09 2018-03-20 烽火通信科技股份有限公司 The system and method for NNI protections UNI based on LTE base station passed-back traffic
CN104753754A (en) * 2015-03-12 2015-07-01 杭州华三通信技术有限公司 Method and apparatus for transmitting messages
CN104753722B (en) * 2015-04-08 2018-01-02 烽火通信科技股份有限公司 A kind of DNI PW realization method and systems quickly switched
CN109756420B (en) * 2017-11-07 2021-09-24 中兴通讯股份有限公司 Detection method, storage medium and processor
CN111181876A (en) * 2018-11-12 2020-05-19 南京机电职业技术学院 Pseudo wire PW dual-homing protection switching method
CN110087333B (en) * 2019-04-26 2020-12-04 新华三技术有限公司 Method, device, equipment and storage medium for preventing service interruption
CN112769587A (en) * 2019-11-05 2021-05-07 中兴通讯股份有限公司 Forwarding method and device for access flow of dual-homing device and storage medium
CN111404813B (en) * 2020-03-25 2022-04-01 新华三信息安全技术有限公司 Communication method and device
CN111614553B (en) * 2020-03-25 2022-03-29 新华三信息安全技术有限公司 Communication method and device
CN111404812B (en) * 2020-03-25 2022-04-01 新华三信息安全技术有限公司 Communication method and device
CN111490932B (en) * 2020-03-25 2022-03-29 新华三信息安全技术有限公司 Communication method and device
CN113726645A (en) * 2021-08-06 2021-11-30 中盈优创资讯科技有限公司 STN network link-supplementing service switching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571390A (en) * 2003-04-28 2005-01-26 阿尔卡特Ip网络有限公司 Virtual private network fault tolerance
CN101227397A (en) * 2008-01-28 2008-07-23 华为技术有限公司 System, equipment and method for protecting link circuit
CN101753464A (en) * 2010-01-22 2010-06-23 中兴通讯股份有限公司 Routing convergence method, provider edge devices and virtual private network system
EP2273735A1 (en) * 2009-06-30 2011-01-12 Juniper Networks, Inc. Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
CN102325037A (en) * 2011-05-25 2012-01-18 中兴通讯股份有限公司 Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047601B (en) * 2006-04-10 2010-12-01 华为技术有限公司 Implementing method and system of double-attach network based on VPLS
CN102055719A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Method and device for protecting point-to-multipoint pseudo-wire

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571390A (en) * 2003-04-28 2005-01-26 阿尔卡特Ip网络有限公司 Virtual private network fault tolerance
CN101227397A (en) * 2008-01-28 2008-07-23 华为技术有限公司 System, equipment and method for protecting link circuit
EP2273735A1 (en) * 2009-06-30 2011-01-12 Juniper Networks, Inc. Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
CN101753464A (en) * 2010-01-22 2010-06-23 中兴通讯股份有限公司 Routing convergence method, provider edge devices and virtual private network system
CN102325037A (en) * 2011-05-25 2012-01-18 中兴通讯股份有限公司 Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment

Also Published As

Publication number Publication date
CN102325037A (en) 2012-01-18
CN102325037B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
WO2012159489A1 (en) Switching method, system and dual homing provider device for pseudowire dual homing network
EP2190150B1 (en) A method, device and system of multi-protocol label exchange traffic engineering flow capacity switch
JP4802280B2 (en) Method and system for high-reliability processing in networking of a Metro Ethernet network providing multi-functional services
JP5484590B2 (en) Method, device and system for processing service traffic based on pseudowire
US8300523B2 (en) Multi-chasis ethernet link aggregation
US8521896B2 (en) Method and system for negotiating the bidirectional forwarding detection session discriminator of pseudo wire
JP4899959B2 (en) VPN equipment
EP2242215B1 (en) Method for client data transmission through a packet switched provider network
US9800432B2 (en) Using ethernet ring protection switching with computer networks
US20130272114A1 (en) Pseudo wire switching method and device
WO2007012239A1 (en) A method for switching the serving services of virtual private lan and a system thereof
WO2009105974A1 (en) Method and apparatus for fast reroute in a multi-protocol label switching (mpls) virtual private network (vpn)
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
WO2012028029A1 (en) Switching method and system
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
WO2007144870A1 (en) Technique for providing interconnection between communication networks
WO2008046358A1 (en) A method and device to realize punch-through of point-to-multipoint network link status
EP3217608B1 (en) Switchback delay methods and devices
JP2013519268A (en) Data transfer method, data transfer apparatus, and data transfer system
WO2012024952A1 (en) Method and system for switching path based on point to multipoint service
WO2006079292A1 (en) A method for creating the path for the return label in the multi-protocol label switching system
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2014090083A1 (en) Service bearing method and apparatus during distributed resilient network interconnect
WO2011113395A2 (en) A method and apparatus for load balance
WO2011120360A1 (en) Method and system for realizing hot standby in centralized network nodes

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: 12790269

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: 12790269

Country of ref document: EP

Kind code of ref document: A1