WO2015067048A1 - Vpls cross-domain redundancy protection method and system - Google Patents

Vpls cross-domain redundancy protection method and system Download PDF

Info

Publication number
WO2015067048A1
WO2015067048A1 PCT/CN2014/079885 CN2014079885W WO2015067048A1 WO 2015067048 A1 WO2015067048 A1 WO 2015067048A1 CN 2014079885 W CN2014079885 W CN 2014079885W WO 2015067048 A1 WO2015067048 A1 WO 2015067048A1
Authority
WO
WIPO (PCT)
Prior art keywords
spe
vpls
boundary node
domain
node
Prior art date
Application number
PCT/CN2014/079885
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 中兴通讯股份有限公司
Priority to RU2016118682A priority Critical patent/RU2016118682A/en
Publication of WO2015067048A1 publication Critical patent/WO2015067048A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Definitions

  • the present invention relates to the field of communications, and in particular to a VPLS cross-domain redundancy protection method and system.
  • a Pseudo Wire (PW) connection must be established between nodes of a virtual private LAN service (VPLS) network.
  • VPLS virtual private LAN service
  • UOB PW The pseudowire
  • hierarchical H-VPLS is usually used.
  • the SPOKE PW is used to connect between adjacent HUB domains, enabling communication between all nodes and reducing the number of HUB connections.
  • communication between the two domains is inevitably interrupted.
  • the use of SPOKE PW to walk through TUNNEL FRR can effectively protect the link failure, but once the boundary SPE node fails, the link still cannot be effectively protected. Therefore, whether the SPOKE PW fails or the boundary SPE node fails, the link will still be unable to be effectively protected and cause traffic loss.
  • an effective solution has not been proposed yet.
  • a VPLS cross-domain redundancy protection method including: when a first pseudowire PW between a first VPLS domain and a second VPLS domain fails, using a first VPLS domain Performing data forwarding with the second pseudowire PW between the second VPLS domain, where the first PW is connected between the first SPE boundary node in the first VPLS domain and the third SPE boundary node in the second VPLS domain, The second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, and the second SPE boundary node and the fourth SPE boundary node are respectively in the first VPLS domain.
  • the second VPLS domain is added.
  • the first SPE border node and the second SPE border node communicate through the ICCP link, where the content of the communication includes: configuration information of the first PW, status information of the first PW, configuration information of the second PW, And the status information of the second PW, where the status information of the first PW is used to indicate whether the first PW has a fault, and the second PW status information is used to indicate whether the second PW has a fault.
  • the first PW state information includes: first detection state information and first protocol state information, where the first detection state information includes: bfd, tp-oam of the first PW; the second PW state information includes: Detecting the status information and the second protocol status information, where the second detection status information includes: bfd, tp-oam of the second PW ; wherein the first protocol status information and the second protocol status information both include: PW negotiation result, external Layer lsp, or tunnel state.
  • the method further comprises: performing data forwarding using the first PW and the second PW in the event of a failure of the ICCP link, and blocking the HUB PW between the first SPE boundary node and the second SPE boundary node.
  • the method further includes: when the first SPE border node fails, using the second PW for data forwarding.
  • the method further comprises: when the first SPE boundary node and the ICCP link both fail, use the second PW for data forwarding, and block the HUB PW between the first SPE boundary node and the second SPE boundary node.
  • the first SPE boundary node and the second SPE boundary node constitute an active end device
  • the third SPE boundary node and the fourth SPE boundary node constitute a passive end device.
  • the method further includes: blocking the second PW, and learning to delete the second PW at the active end device
  • the media access controls the MAC, and notifies the passive device and the other passive devices connected to the passive device to perform the MAC revocation operation and re-learn the MAC; the first SPE border node notifies the result that the first PW is determined to be the working PW
  • the third SPE border node, and the second SPE border node notify the fourth SPE border node of the result that the second PW is determined to be the backup PW.
  • a VPLS cross-domain redundancy protection system including: a switching module, configured to: when a first pseudowire PW between a first VPLS domain and a second VPLS domain fails, Performing data forwarding using a second pseudowire PW between the first VPLS domain and the second VPLS domain, where the first PW is connected to the first SPE boundary node in the first VPLS domain and the third in the second VPLS domain. Between the SPE boundary nodes, the second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, and the second SPE boundary node and the fourth SPE boundary node are in advance.
  • the settings are added in the first VPLS domain and the second VPLS domain, respectively.
  • the first SPE border node and the second SPE border node communicate through the ICCP link, where the content of the communication includes: configuration information of the first PW, status information of the first PW, configuration information of the second PW, and The second PW status information, where the status information of the first PW is used to indicate whether the first PW has a fault, and the status information of the second PW is used to indicate whether the second PW has a fault.
  • data forwarding between two VPLS domains is performed by using a standby PW preset between two adjacent VPLS domains.
  • FIG. 2 is a schematic structural diagram of a VPLS cross-domain redundancy protection method system according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a working mode of a boundary SPE of a cross-domain H-VPLS according to a preferred embodiment of the present invention
  • FIG. 5 is a PW link according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a working mode of a boundary node SPE when a boundary node fails according to a preferred embodiment of the present invention
  • FIG. 7 is a schematic diagram of a working mode of a boundary SPE when ICCP signaling fails according to a preferred embodiment of the present invention.
  • FIG. 8 is a decision flow chart of MC-PW-GROUP according to a preferred embodiment of the present invention
  • FIG. 9 is a schematic diagram of processing of MC-PW-GROUP decision result forwarding in accordance with a preferred embodiment of the present invention
  • the embodiment of the present invention mainly provides a VPLS cross-domain redundancy protection method and system (establishing a protection decision mechanism between adjacent VPLS domains) to achieve redundancy backup of inter-domain PW and SPE nodes. purpose. After the working PW (or the working PW-side SPE) fails, the backup PW and SPE can start working in time to ensure that the traffic between the entire domain remains unblocked.
  • the embodiment of the invention provides a VPLS cross-domain redundancy protection method.
  • FIG. 1 is a flowchart of a VPLS cross-domain redundancy protection method according to an embodiment of the present invention. As shown in FIG.
  • the method mainly includes the following steps (step S102): Step S102, when a first VPLS domain and a second VPLS domain are used.
  • Step S102 data forwarding is performed by using a second pseudowire PW between the first VPLS domain and the second VPLS domain, where the first PW is connected to the first in the first VPLS domain.
  • the second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, The two SPE boundary nodes and the fourth SPE boundary node are added in advance in the first VPLS domain and the second VPLS domain, respectively.
  • the data forwarding between the two VPLS domains can be continued by using the standby PW preset between the two adjacent VPLS domains. Ensure that the data is not interrupted.
  • the first SPE border node and the second SPE border node may communicate through the ICCP link, where the content of the communication may include: configuration information of the first PW, status information of the first PW, and second PW And the configuration information of the second PW, where the status information of the first PW is used to indicate whether the first PW is faulty, and the second PW status information is used to indicate whether the second PW is faulty.
  • the first PW state information may include: first detection state information and first protocol state information, where the first detection state information may include: bfd, tp-oam of the first PW; second PW state The information includes: second detection status information and second protocol status information, where the second detection status information may include: bfd, tp-oam of the second PW; wherein the first protocol status information and the second protocol status information are both Includes: PW negotiation results, outer lsp, or tunnel status.
  • the first PW and the second PW may be used for data forwarding, and the HUB PW between the first SPE boundary node and the second SPE boundary node is blocked.
  • the second PW may be used for data forwarding.
  • the second PW may be used for data forwarding, and the HUB PW between the first SPE boundary node and the second SPE boundary node is blocked.
  • the first SPE boundary node and the second SPE boundary node constitute an active end device
  • the third SPE boundary node and the fourth SPE boundary node constitute a passive end device.
  • the second PW may also be blocked, and the media access control MAC learned by the second PW is deleted at the active end device. And notifying the passive device and the other passive devices adjacent to the passive device to perform the MAC revocation operation and re-learning the MAC; the first SPE boundary node notifying the third SPE boundary node of the result that the first PW is determined to be the working PW, And the second SPE border node notifies the fourth SPE boundary node of the result that the second PW is determined to be the backup PW.
  • the embodiment of the invention further provides a VPLS cross-domain redundancy protection system.
  • the system includes: a switching module 10.
  • the switching module 10 is configured to use a second pseudowire PW between the first VPLS domain and the second VPLS domain when the first pseudowire PW between the first VPLS domain and the second VPLS domain fails.
  • the first PW is connected between the first SPE boundary node in the first VPLS domain and the third SPE boundary node in the second VPLS domain, and the second PW is connected to the second in the first VPLS domain.
  • the second SPE boundary node and the fourth SPE boundary node are added in advance in the first VPLS domain and the second VPLS domain, respectively, between the SPE boundary node and the fourth SPE boundary node in the second VPLS domain.
  • the first SPE border node and the second SPE border node may communicate through the ICCP link, where the content of the communication may include: configuration information of the first PW, status information of the first PW, and second PW The configuration information, and the second PW status information, where the status information of the first PW is used to indicate whether the first PW has a fault, and the status information of the second PW is used to indicate whether the second PW has a fault.
  • the VPLS cross-domain redundancy protection method and system provided by the foregoing embodiments solve the problem that the link failure and the boundary node failure in the VPLS domain are likely to cause communication interruption and traffic loss, and the inter-domain link failure and the boundary node are reduced. The effect of traffic loss caused by a fault.
  • the VPLS cross-domain redundancy protection method and system provided by the foregoing embodiments are described and illustrated in more detail below with reference to FIG. 3 to FIG. 10 and the preferred embodiment.
  • the preferred embodiment relates to a packet-switched communication network.
  • the present embodiment proposes to deploy a redundant SPOKE PW.
  • the SPOKE PW between the inter-domain boundary nodes is redundantly protected by a specific blocking selection method, and does not cause a forwarding loop.
  • an SPE boundary node is added to each VPLS connection domain, and a SPOKE PW is added as a backup PW between the newly added boundary nodes, and the current redundancy negotiation mechanism is used to determine that the current operation should be performed.
  • the PW is used for forwarding, and the PW that is not working is blocked by traffic. Reference may be made to FIG. 4 (FIG.
  • FIG. 4 is a schematic diagram of a boundary SPE working mode of an inter-area H-VPLS according to a preferred embodiment of the present invention), as shown in FIG. 4, whether the inter-domain SPOKE PW fault or the boundary SPE fault decision mechanism can The correct selection of the working PW in time can reduce the traffic loss caused by the inter-domain link failure and the boundary node failure.
  • ICCP can be utilized for signaling communication between SPE devices.
  • the ICCP's TCP/IP channel ensures proper and orderly delivery of signaling.
  • Two boundary nodes of one VPLS Hub domain are selected as the active decision master (master) device, and two boundary nodes of the other VPLS Hub domain are used as passive decision-making (slave) devices.
  • the neighboring mac withdraw is advertised on the blocked SPE node, and the decision result of the PW redundancy selection needs to be notified to the border node of another VPLS domain. If the decision result received by the peer border SPE is not forwarded by the SPOKE PW of the SPE node, the MAC withdraw is notified to the neighbor.
  • the decision mechanism it is possible to select a new one for the current working SPOKE PW failure (here, FIG. 5, FIG.
  • the forwarded PW information causes other nodes in the two domains to refresh the mac forwarding entries.
  • the traffic converges on the new available link in a shorter period of time, reducing the loss of traffic.
  • the implementation process of the preferred embodiment mainly includes:
  • FIG. 3 is a schematic diagram of a cross-domain H-VPLS deployment manner according to a preferred embodiment of the present invention.
  • SPE1 and SPE2 are in the boundary of a full mesh VPLS domain
  • SPE3 and SPE4 are in another full mesh at the boundary.
  • the boundary of the VPLS domain There is a SPOKE pseudowire PW1 (ie, the above first PW) connection between SPE 1 and SPE 3, and a SPOKE pseudowire PW2 (ie, the above second PW) connection between SPE 2 and SPE 4.
  • the configuration selects SPE 1 and SPE 2 as the master node, and SPE 3 and SPE 4 as the slave nodes.
  • the MC-PW-GROUP On the SPE 1 and the SPE 2, the MC-PW-GROUP is deployed. PW1 and PW2 are added as the active and standby members of the protection group.
  • the MC-PW-GROUP on SPE 1 and SPE 2 are associated with the ICCP application, using the same roid to identify the matching protection group.
  • the detection status of the PW for example, bfd, tp-oam, etc.
  • the protocol status for example, the pw negotiation result, the outer layer lsp or the tunnel status, etc.
  • PW status information the information may be used to indicate the PW. Whether there is a fault, SPE 1 and SPE 2 need to synchronize this part of the information.
  • both SPE 1 and SPE 2 After both SPE 1 and SPE 2 get the PW1 and PW2 status information, the forwarding result can be determined. If both PW1 and PW2 are fault-free, PW1 is preferred as the working PW; if one PW is faulty, the non-faulty PW is selected; if both PW1 and PW2 are faulty, PW1 is selected.
  • 6 is a schematic diagram of a working mode of a boundary SPE when a boundary node fails according to a preferred embodiment of the present invention, as shown in FIG.
  • FIG. 8 is a decision flow chart of MC-PW-GROUP according to a preferred embodiment of the present invention.
  • the MC-PW-GROUP decision result affects the PW forwarding traffic. For the decision result of the MC-PW-GROUP, the traffic of the working pw is opened, and the PW traffic that does not work is blocked.
  • the mac that is blocked by the pw is actively deleted, and mac withdraw is sent to the neighbor PE and the inter-domain SPE, so that each node refreshes the mac entries on all PWs.
  • the SPE on the active side also needs to send the SPOKE PW to the active/standby to the passive SPE. If the passive side SPE receives the SPOKE PW and is selected as the inactive PW, it deletes the mac learned from the PW and sends a MAC withdraw to its neighbor PE. Through the above traffic blocking and mac withdraw transmission, it can ensure that traffic between domains converges to the SPOKE PW of the decision.
  • FIG. 9 is a schematic diagram of processing of forwarding of MC-PW-GROUP decision results according to a preferred embodiment of the present invention.
  • SPE node failure or ICCP signaling failure for redundancy protection. If SPE1 fails (see Figure 6), the ICCP chain break causes the signaling interaction to be interrupted and the MC-PW-GROUP negotiation fails. SPE2 will release the traffic forwarding from PW2 and issue a mac withdraw to the PW.
  • FIG. 7 is a schematic diagram of the operation of the boundary SPE when the ICCP signaling fails according to a preferred embodiment of the present invention. As shown in Figure 7, if the ICCP link fails, the signaling is interrupted, SPE 1 And SPE 2 will release traffic forwarding from PW1 and PW2 respectively. However, if PW1, PW2, PW3, and PW4 are in the forwarding state, a forwarding loop will be formed.
  • FIG. 10 is a schematic diagram of processing of forwarding when ICCP signaling fails according to a preferred embodiment of the present invention.
  • each of the above modules can be implemented by hardware.
  • a processor including the above modules, or each of the above modules is located in one processor.
  • software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention.
  • a VPLS cross-domain redundancy protection method and system provided by the embodiments of the present invention have the following beneficial effects: When a current working PW between two adjacent VPLS domains fails, the use is performed. The standby PW preset between the two adjacent VPLS domains performs data forwarding between the two VPLS domains to ensure that the data is not interrupted, and the traffic caused by the inter-domain link failure and the boundary node failure is reduced. The effect of the loss.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A VPLS cross-domain redundancy protection method and system. The method comprises: when a first pseudo wire (PW) between a first VPLS domain between a second VPLS domain is faulty, performing data forwarding by using a second PW between the first VPLS domain and the second VPLS domain, the first PW being connected between a first SPE border node in the first VPLS domain and a third SPE border node in the second VPLS domain, the second PW being connected between a second SPE border node in the first VPLS domain and a four SPE border node in the second VPLS domain, and the second SPE border node and the four SPE border node being respectively added to the first VPLS domain and the second VPLS domain in advance. Therefore, a traffic loss caused by a link fault between domains and a border node fault is reduced.

Description

VPLS跨域冗余保护方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种 VPLS跨域冗余保护方法及系统。 背景技术 由于全连接的虚拟专用局域网业务 (Virtual Private Lan Service, 简称为 VPLS) 网络各节点之间必须建立伪线 (Pseudo Wire, 简称为 PW) 连接, 随着拓扑中节点数 目的增长, 其集线器伪线 (HUB PW) 规模呈指数增长, 这无疑加重了网络的信令开 销与维护成本。 为了减少连接数过大, 通常会采用层次化的 H-VPLS。 如图 1所示, 在相邻的 HUB域之间用 SPOKE PW进行连通, 能够使得所有的节点之间能够通信, 并减少了 HUB连接数。 但是, 一旦关键的 SPOKE PW失效, 则两个域之间的通讯必 然中断。采用 SPOKE PW走 TUNNEL FRR的方式虽然对链路失效能够进行有效保护, 但是一旦边界 SPE节点失效链路仍然无法得到有效保护。 因此, 无论是 SPOKE PW发生故障或是边界 SPE节点发生故障, 都将导致链路 仍然无法得到有效保护而造成流量损失。 针对相关技术中 VPLS域间链路故障和边界节点故障容易引起通信中断和流量损 失的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种 VPLS跨域冗余保护方法及系统, 以至少解决上述问题。 根据本发明的一个方面,提供了一种 VPLS跨域冗余保护方法,包括:当第一 VPLS 域的与第二 VPLS 域之间的第一伪线 PW发生故障时, 使用第一 VPLS域的与第二 VPLS域之间的第二伪线 PW进行数据转发, 其中, 第一 PW连接于第一 VPLS域中 的第一 SPE边界节点和第二 VPLS域中的第三 SPE边界节点之间,第二 PW连接于第 一 VPLS域中的第二 SPE边界节点和第二 VPLS域中的第四 SPE边界节点之间,第二 SPE边界节点、 第四 SPE边界节点是预先分别在第一 VPLS域、 第二 VPLS域中增加 设置的。 优选地,第一 SPE边界节点和第二 SPE边界节点通过 ICCP链路进行通信,其中, 通信的内容包括: 第一 PW的配置信息、第一 PW的状态信息、第二 PW的配置信息, 以及第二 PW的状态信息, 其中, 第一 PW的状态信息用于指示第一 PW是否存在故 障, 第二的 PW状态信息用于指示第二 PW是否存在故障。 优选地, 第一 PW状态信息包括: 第一检测状态信息和第一协议状态信息, 其中, 第一检测状态信息包括: 第一 PW的 bfd、 tp-oam; 第二 PW状态信息包括: 第二检测 状态信息和第二协议状态信息,其中,第二检测状态信息包括:第二 PW的 bfd、tp-oam; 其中,第一协议状态信息和第二协议状态信息均包括: PW协商结果、外层 lsp、或 tunnel 状态。 优选地, 该方法还包括: 在 ICCP链路发生故障的情况下, 使用第一 PW和第二 PW进行数据转发, 并阻塞第一 SPE边界节点和第二 SPE边界节点之间的 HUB PW。 优选地, 该方法还包括: 当第一 SPE边界节点发生故障时, 使用第二 PW进行数 据转发。 优选地, 该方法还包括: 当第一 SPE边界节点和 ICCP链路均发生故障时, 使用 第二 PW进行数据转发, 并阻塞第一 SPE边界节点和第二 SPE边界节点之间的 HUB PW。 优选地, 第一 SPE边界节点和第二 SPE边界节点构成主动端设备, 第三 SPE边 界节点和第四 SPE边界节点构成被动端设备。 优选地,在根据预置的 PW优先级和 PW的工作状态做出将第一 PW作为工作 PW 决定的情况下, 该方法还包括: 阻塞第二 PW, 在主动端设备删除第二 PW学到的媒 体接入控制 MAC,并通知被动设备和逐次与被动设备连接相邻的其它被动设备以进行 MAC撤销操作并重学 MAC; 第一 SPE边界节点将第一 PW被决定为工作 PW的结果 通知给第三 SPE边界节点,和第二 SPE边界节点将第二 PW被决定为备份 PW的结果 通知给第四 SPE边界节点。 根据本发明的另一方面, 提供了一种 VPLS跨域冗余保护系统, 包括: 倒换模块, 设置为当第一 VPLS域的与第二 VPLS域之间的第一伪线 PW发生故障时, 使用第一 VPLS域的与第二 VPLS域之间的第二伪线 PW进行数据转发, 其中, 第一 PW连接 于第一 VPLS域中的第一 SPE边界节点和第二 VPLS域中的第三 SPE边界节点之间, 第二 PW连接于第一 VPLS域中的第二 SPE边界节点和第二 VPLS域中的第四 SPE边 界节点之间, 第二 SPE边界节点、 第四 SPE边界节点是预先分别在第一 VPLS域、 第 二 VPLS域中增加设置的。 优选地,第一 SPE边界节点和第二 SPE边界节点通过 ICCP链路进行通信,其中, 通信的内容包括: 第一 PW的配置信息、第一 PW的状态信息、第二 PW的配置信息, 以及第二 PW状态信息,其中,第一 PW的状态信息用于指示第一 PW是否存在故障, 第二 PW的状态信息用于指示第二 PW是否存在故障。 通过本发明, 采用在两个相邻 VPLS域之间的当前工作 PW发生故障的情况下, 使用在两个相邻 VPLS域之间预先设置的备用 PW进行两个 VPLS域之间的数据转发, 以保证数据不中断的方式, 解决了 VPLS域间链路故障和边界节点故障容易引起通信 中断和流量损失的问题, 达到了降低由域间链路故障和边界节点故障而引起的流量损 失的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的 VPLS跨域冗余保护方法流程图; 图 2是根据本发明实施例的 VPLS跨域冗余保护方法系统的结构示意图; 图 3是根据本发明优选实施例的跨域 H- VPLS的部署方式示意图; 图 4是根据本发明优选实施例的跨域 H- VPLS的边界 SPE工作方式示意图; 图 5是根据本发明优选实施例的 PW链路故障时边界 SPE的工作方式示意图; 图 6是根据本发明优选实施例的边界节点故障时边界 SPE工作方式示意图; 图 7是根据本发明优选实施例的 ICCP信令失效时边界 SPE的工作方式示意图; 图 8是根据本发明优选实施例的 MC-PW-GROUP的决策流程图; 图 9是根据本发明优选实施例的 MC-PW-GROUP决策结果对转发的处理示意图; 图 10是根据本发明优选实施例的 ICCP信令失效时对转发的处理示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 为了解决上述技术问题, 本发明实施例主要提供一种 VPLS跨域冗余保护方法及 系统 (在相邻 VPLS域间建立保护决策机制), 来达到实现域间 PW和 SPE节点的冗 余备份的目的。 在工作 PW (或工作 PW—端的 SPE) 失效后, 备份 PW和 SPE能够 及时开始工作, 确保整个域间流量保持畅通。 本发明实施例提供了一种 VPLS跨域冗余保护方法。 图 1是根据本发明实施例的 VPLS跨域冗余保护方法流程图,如图 1所示,该方法主要包括以下步骤(步骤 S102): 步骤 S102, 当第一 VPLS域的与第二 VPLS域之间的第一伪线 PW发生故障时, 使用第一 VPLS域的与第二 VPLS域之间的第二伪线 PW进行数据转发, 其中, 第一 PW连接于第一 VPLS域中的第一 SPE边界节点和第二 VPLS域中的第三 SPE边界节 点之间, 第二 PW连接于第一 VPLS域中的第二 SPE边界节点和第二 VPLS域中的第 四 SPE边界节点之间,第二 SPE边界节点、第四 SPE边界节点是预先分别在第一 VPLS 域、 第二 VPLS域中增加设置的。 通过该步骤, 当两个相邻 VPLS域之间的当前工作 PW发生故障时, 可以使用在 两个相邻 VPLS域之间预先设置的备用 PW继续进行两个 VPLS域之间的数据转发, 以保证数据不中断。 在本实施例中, 第一 SPE边界节点和第二 SPE边界节点可以通过 ICCP链路进行 通信, 其中, 通信的内容可以包括: 第一 PW的配置信息、 第一 PW的状态信息、 第 二 PW的配置信息, 以及第二 PW的状态信息, 其中, 第一 PW的状态信息用于指示 第一 PW是否存在故障, 第二的 PW状态信息用于指示第二 PW是否存在故障。 在本实施例中, 第一 PW状态信息可以包括: 第一检测状态信息和第一协议状态 信息, 其中, 第一检测状态信息可以包括: 第一 PW的 bfd、 tp-oam; 第二 PW状态信 息包括: 第二检测状态信息和第二协议状态信息, 其中, 第二检测状态信息可以包括: 第二 PW的 bfd、 tp-oam; 其中, 第一协议状态信息和第二协议状态信息均可以包括: PW协商结果、 外层 lsp、 或 tunnel状态。 在本实施例中, 在 ICCP链路发生故障的情况下, 可以使用第一 PW和第二 PW 进行数据转发,并阻塞第一 SPE边界节点和第二 SPE边界节点之间的 HUB PW。优选 地, 当第一 SPE边界节点发生故障时, 可以使用第二 PW进行数据转发。 在本实施例中, 当第一 SPE边界节点和 ICCP链路均发生故障时, 可以使用第二 PW进行数据转发, 并阻塞第一 SPE边界节点和第二 SPE边界节点之间的 HUB PW。 在发生这三种故障的情况下, 通过本实施例可以保证数据转发不中断。 在本实施例中, 第一 SPE边界节点和第二 SPE边界节点构成主动端设备, 第三 SPE边界节点和第四 SPE边界节点构成被动端设备。 在根据预置的 PW优先级和 PW的工作状态做出将第一 PW作为工作 PW决定的 情况下,还可以阻塞第二 PW,在主动端设备删除第二 PW学到的媒体接入控制 MAC, 并通知被动设备和逐次与被动设备连接相邻的其它被动设备以进行 MAC撤销操作并 重学 MAC; 第一 SPE边界节点将第一 PW被决定为工作 PW的结果通知给第三 SPE 边界节点, 和第二 SPE边界节点将第二 PW被决定为备份 PW的结果通知给第四 SPE 边界节点。 本发明实施例还提供了一种 VPLS跨域冗余保护系统。 图 2是根据本发明实施例 的 VPLS跨域冗余保护方法系统的结构示意图, 如图 2所示, 该系统包括: 倒换模块 10。 其中,倒换模块 10,设置为当第一 VPLS域的与第二 VPLS域之间的第一伪线 PW 发生故障时,使用第一 VPLS域的与第二 VPLS域之间的第二伪线 PW进行数据转发, 其中, 第一 PW连接于第一 VPLS域中的第一 SPE边界节点和第二 VPLS域中的第三 SPE边界节点之间,第二 PW连接于第一 VPLS域中的第二 SPE边界节点和第二 VPLS 域中的第四 SPE边界节点之间, 第二 SPE边界节点、 第四 SPE边界节点是预先分别 在第一 VPLS域、 第二 VPLS域中增加设置的。 在本实施例中, 第一 SPE边界节点和第二 SPE边界节点可以通过 ICCP链路进行 通信, 其中, 通信的内容可以包括: 第一 PW的配置信息、 第一 PW的状态信息、 第 二 PW的配置信息, 以及第二 PW状态信息, 其中, 第一 PW的状态信息用于指示第 一 PW是否存在故障, 第二 PW的状态信息用于指示第二 PW是否存在故障。 采用上述实施例提供的 VPLS跨域冗余保护方法和系统, 解决了 VPLS域间链路 故障和边界节点故障容易引起通信中断和流量损失的问题, 达到了降低由域间链路故 障和边界节点故障而引起的流量损失的效果。 下面结合图 3至图 10以及优选实施例对上述实施例提供的 VPLS跨域冗余保护方 法及系统进行更加详细的描述和说明。 本优选实施例主要涉及包交换通信网络, 在使用层次化 VPLS网络进行拓扑部署 时, 为了防止因 SPOKE PW失效而导致 VPLS域间无法进行通信, 本实施例提出了部 署一条冗余的 SPOKE PW,并通过特定的阻塞选取方式使得域间边界节点间的 SPOKE PW具备冗余保护, 并且不会导致转发环路。 在本优选实施例中, 在每个 VPLS全连接域里面增加一个 SPE边界节点, 并在新 增的边界节点之间增加一条 SPOKE PW作为备份 PW, 通过恰当的冗余协商机制决策 出当前应该工作的 PW用于转发, 并将不工作的 PW进行流量阻塞。 这里可以参考图 4 (图 4是根据本发明优选实施例的跨域 H- VPLS的边界 SPE工作方式示意图), 如图 4所示,无论是域间 SPOKE PW故障还是边界 SPE故障决策机制都能够及时正确选取 工作 PW, 可以降低由域间链路故障和边界节点故障而引起的流量损失。 在本优选实施例中,可以利用 ICCP进行 SPE设备之间的信令通信。ICCP的 TCP/IP 通道能够确保信令的正确且有序的传递。 选取一个 VPLS Hub域的两个边界节点作为 主动决策端 (master)设备,另一个 VPLS Hub域的两个边界节点作为被动决策端(slave) 设备。主动决策端的两个 SPE之间通过 ICCP进行信令的交互, 同步配置和状态信息, 并能据此做出决策判断。 最终选取出工作的 PW, 将不工作的 PW予以阻塞。 在进行 阻塞的 SPE节点上通告邻居 mac withdraw, PW冗余选取的决策结果还需要通知对另 一个 VPLS域的边界节点。 对端边界 SPE收到的决策结果若为本 SPE节点的 SPOKE PW不转发, 则向邻居通告 mac withdraw。 通过该决策机制, 能够在当前工作 SPOKE PW故障 (这里可以看出图 5, 图 5是根据本发明优选实施例的 PW链路故障时边界 SPE的工作方式示意图) 时, 选择出新的用于转发的 PW息, 使得两个域内的其他节 点刷新 mac转发表项, 流量在较短的时间内收敛到新的可用链路上, 减少了流量的损 失。 进一步地, 该优选实施例的实施过程主要包括: The present invention relates to the field of communications, and in particular to a VPLS cross-domain redundancy protection method and system. A Pseudo Wire (PW) connection must be established between nodes of a virtual private LAN service (VPLS) network. As the number of nodes in the topology increases, the hub The pseudowire (HUB PW) scale grows exponentially, which undoubtedly increases the signaling overhead and maintenance costs of the network. In order to reduce the number of connections too large, hierarchical H-VPLS is usually used. As shown in Figure 1, the SPOKE PW is used to connect between adjacent HUB domains, enabling communication between all nodes and reducing the number of HUB connections. However, once the critical SPOKE PW fails, communication between the two domains is inevitably interrupted. The use of SPOKE PW to walk through TUNNEL FRR can effectively protect the link failure, but once the boundary SPE node fails, the link still cannot be effectively protected. Therefore, whether the SPOKE PW fails or the boundary SPE node fails, the link will still be unable to be effectively protected and cause traffic loss. In view of the problem that the link failure between the VPLS domain and the fault of the boundary node are likely to cause communication interruption and traffic loss in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a VPLS cross-domain redundancy protection method and system to solve at least the above problems. According to an aspect of the present invention, a VPLS cross-domain redundancy protection method is provided, including: when a first pseudowire PW between a first VPLS domain and a second VPLS domain fails, using a first VPLS domain Performing data forwarding with the second pseudowire PW between the second VPLS domain, where the first PW is connected between the first SPE boundary node in the first VPLS domain and the third SPE boundary node in the second VPLS domain, The second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, and the second SPE boundary node and the fourth SPE boundary node are respectively in the first VPLS domain. , the second VPLS domain is added. Preferably, the first SPE border node and the second SPE border node communicate through the ICCP link, where the content of the communication includes: configuration information of the first PW, status information of the first PW, configuration information of the second PW, And the status information of the second PW, where the status information of the first PW is used to indicate whether the first PW has a fault, and the second PW status information is used to indicate whether the second PW has a fault. Preferably, the first PW state information includes: first detection state information and first protocol state information, where the first detection state information includes: bfd, tp-oam of the first PW; the second PW state information includes: Detecting the status information and the second protocol status information, where the second detection status information includes: bfd, tp-oam of the second PW ; wherein the first protocol status information and the second protocol status information both include: PW negotiation result, external Layer lsp, or tunnel state. Preferably, the method further comprises: performing data forwarding using the first PW and the second PW in the event of a failure of the ICCP link, and blocking the HUB PW between the first SPE boundary node and the second SPE boundary node. Preferably, the method further includes: when the first SPE border node fails, using the second PW for data forwarding. Preferably, the method further comprises: when the first SPE boundary node and the ICCP link both fail, use the second PW for data forwarding, and block the HUB PW between the first SPE boundary node and the second SPE boundary node. Preferably, the first SPE boundary node and the second SPE boundary node constitute an active end device, and the third SPE boundary node and the fourth SPE boundary node constitute a passive end device. Preferably, in the case that the first PW is determined as the working PW according to the preset PW priority and the working state of the PW, the method further includes: blocking the second PW, and learning to delete the second PW at the active end device The media access controls the MAC, and notifies the passive device and the other passive devices connected to the passive device to perform the MAC revocation operation and re-learn the MAC; the first SPE border node notifies the result that the first PW is determined to be the working PW The third SPE border node, and the second SPE border node notify the fourth SPE border node of the result that the second PW is determined to be the backup PW. According to another aspect of the present invention, a VPLS cross-domain redundancy protection system is provided, including: a switching module, configured to: when a first pseudowire PW between a first VPLS domain and a second VPLS domain fails, Performing data forwarding using a second pseudowire PW between the first VPLS domain and the second VPLS domain, where the first PW is connected to the first SPE boundary node in the first VPLS domain and the third in the second VPLS domain. Between the SPE boundary nodes, the second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, and the second SPE boundary node and the fourth SPE boundary node are in advance. The settings are added in the first VPLS domain and the second VPLS domain, respectively. Preferably, the first SPE border node and the second SPE border node communicate through the ICCP link, where the content of the communication includes: configuration information of the first PW, status information of the first PW, configuration information of the second PW, and The second PW status information, where the status information of the first PW is used to indicate whether the first PW has a fault, and the status information of the second PW is used to indicate whether the second PW has a fault. According to the present invention, in the case that the current working PW between two adjacent VPLS domains fails, data forwarding between two VPLS domains is performed by using a standby PW preset between two adjacent VPLS domains. In order to ensure uninterrupted data, the problem of communication interruption and traffic loss caused by link failure and boundary node failure in VPLS domain is solved, and the effect of reducing traffic loss caused by inter-domain link failure and boundary node failure is achieved. . BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flowchart of a VPLS cross-domain redundancy protection method according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a VPLS cross-domain redundancy protection method system according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a working mode of a boundary SPE of a cross-domain H-VPLS according to a preferred embodiment of the present invention; FIG. 5 is a PW link according to a preferred embodiment of the present invention. FIG. 6 is a schematic diagram of a working mode of a boundary node SPE when a boundary node fails according to a preferred embodiment of the present invention; FIG. 7 is a schematic diagram of a working mode of a boundary SPE when ICCP signaling fails according to a preferred embodiment of the present invention. 8 is a decision flow chart of MC-PW-GROUP according to a preferred embodiment of the present invention; FIG. 9 is a schematic diagram of processing of MC-PW-GROUP decision result forwarding in accordance with a preferred embodiment of the present invention; FIG. Schematic diagram of the processing of forwarding when the ICCP signaling of the preferred embodiment fails. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In order to solve the above technical problem, the embodiment of the present invention mainly provides a VPLS cross-domain redundancy protection method and system (establishing a protection decision mechanism between adjacent VPLS domains) to achieve redundancy backup of inter-domain PW and SPE nodes. purpose. After the working PW (or the working PW-side SPE) fails, the backup PW and SPE can start working in time to ensure that the traffic between the entire domain remains unblocked. The embodiment of the invention provides a VPLS cross-domain redundancy protection method. FIG. 1 is a flowchart of a VPLS cross-domain redundancy protection method according to an embodiment of the present invention. As shown in FIG. 1 , the method mainly includes the following steps (step S102): Step S102, when a first VPLS domain and a second VPLS domain are used. When the first pseudowire PW fails, data forwarding is performed by using a second pseudowire PW between the first VPLS domain and the second VPLS domain, where the first PW is connected to the first in the first VPLS domain. Between the SPE boundary node and the third SPE boundary node in the second VPLS domain, the second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, The two SPE boundary nodes and the fourth SPE boundary node are added in advance in the first VPLS domain and the second VPLS domain, respectively. Through this step, when the current working PW between the two adjacent VPLS domains fails, the data forwarding between the two VPLS domains can be continued by using the standby PW preset between the two adjacent VPLS domains. Ensure that the data is not interrupted. In this embodiment, the first SPE border node and the second SPE border node may communicate through the ICCP link, where the content of the communication may include: configuration information of the first PW, status information of the first PW, and second PW And the configuration information of the second PW, where the status information of the first PW is used to indicate whether the first PW is faulty, and the second PW status information is used to indicate whether the second PW is faulty. In this embodiment, the first PW state information may include: first detection state information and first protocol state information, where the first detection state information may include: bfd, tp-oam of the first PW; second PW state The information includes: second detection status information and second protocol status information, where the second detection status information may include: bfd, tp-oam of the second PW; wherein the first protocol status information and the second protocol status information are both Includes: PW negotiation results, outer lsp, or tunnel status. In this embodiment, in the case that the ICCP link fails, the first PW and the second PW may be used for data forwarding, and the HUB PW between the first SPE boundary node and the second SPE boundary node is blocked. Preferably, when the first SPE border node fails, the second PW may be used for data forwarding. In this embodiment, when both the first SPE border node and the ICCP link fail, the second PW may be used for data forwarding, and the HUB PW between the first SPE boundary node and the second SPE boundary node is blocked. In the case where these three types of failures occur, data forwarding can be ensured without interruption by this embodiment. In this embodiment, the first SPE boundary node and the second SPE boundary node constitute an active end device, and the third SPE boundary node and the fourth SPE boundary node constitute a passive end device. In the case that the first PW is determined as the working PW according to the preset PW priority and the working state of the PW, the second PW may also be blocked, and the media access control MAC learned by the second PW is deleted at the active end device. And notifying the passive device and the other passive devices adjacent to the passive device to perform the MAC revocation operation and re-learning the MAC; the first SPE boundary node notifying the third SPE boundary node of the result that the first PW is determined to be the working PW, And the second SPE border node notifies the fourth SPE boundary node of the result that the second PW is determined to be the backup PW. The embodiment of the invention further provides a VPLS cross-domain redundancy protection system. FIG. 2 is a schematic structural diagram of a VPLS cross-domain redundancy protection method system according to an embodiment of the present invention. As shown in FIG. 2, the system includes: a switching module 10. The switching module 10 is configured to use a second pseudowire PW between the first VPLS domain and the second VPLS domain when the first pseudowire PW between the first VPLS domain and the second VPLS domain fails. Performing data forwarding, where the first PW is connected between the first SPE boundary node in the first VPLS domain and the third SPE boundary node in the second VPLS domain, and the second PW is connected to the second in the first VPLS domain. The second SPE boundary node and the fourth SPE boundary node are added in advance in the first VPLS domain and the second VPLS domain, respectively, between the SPE boundary node and the fourth SPE boundary node in the second VPLS domain. In this embodiment, the first SPE border node and the second SPE border node may communicate through the ICCP link, where the content of the communication may include: configuration information of the first PW, status information of the first PW, and second PW The configuration information, and the second PW status information, where the status information of the first PW is used to indicate whether the first PW has a fault, and the status information of the second PW is used to indicate whether the second PW has a fault. The VPLS cross-domain redundancy protection method and system provided by the foregoing embodiments solve the problem that the link failure and the boundary node failure in the VPLS domain are likely to cause communication interruption and traffic loss, and the inter-domain link failure and the boundary node are reduced. The effect of traffic loss caused by a fault. The VPLS cross-domain redundancy protection method and system provided by the foregoing embodiments are described and illustrated in more detail below with reference to FIG. 3 to FIG. 10 and the preferred embodiment. The preferred embodiment relates to a packet-switched communication network. When a hierarchical VPLS network is used for topology deployment, in order to prevent the VPLS domain from communicating due to the failure of the SPOKE PW, the present embodiment proposes to deploy a redundant SPOKE PW. The SPOKE PW between the inter-domain boundary nodes is redundantly protected by a specific blocking selection method, and does not cause a forwarding loop. In the preferred embodiment, an SPE boundary node is added to each VPLS connection domain, and a SPOKE PW is added as a backup PW between the newly added boundary nodes, and the current redundancy negotiation mechanism is used to determine that the current operation should be performed. The PW is used for forwarding, and the PW that is not working is blocked by traffic. Reference may be made to FIG. 4 (FIG. 4 is a schematic diagram of a boundary SPE working mode of an inter-area H-VPLS according to a preferred embodiment of the present invention), as shown in FIG. 4, whether the inter-domain SPOKE PW fault or the boundary SPE fault decision mechanism can The correct selection of the working PW in time can reduce the traffic loss caused by the inter-domain link failure and the boundary node failure. In the preferred embodiment, ICCP can be utilized for signaling communication between SPE devices. The ICCP's TCP/IP channel ensures proper and orderly delivery of signaling. Two boundary nodes of one VPLS Hub domain are selected as the active decision master (master) device, and two boundary nodes of the other VPLS Hub domain are used as passive decision-making (slave) devices. The two SPEs on the active decision side exchange signaling through ICCP, synchronize configuration and status information, and make decision decisions based on this. Finally, the working PW is selected to block the non-working PW. The neighboring mac withdraw is advertised on the blocked SPE node, and the decision result of the PW redundancy selection needs to be notified to the border node of another VPLS domain. If the decision result received by the peer border SPE is not forwarded by the SPOKE PW of the SPE node, the MAC withdraw is notified to the neighbor. Through the decision mechanism, it is possible to select a new one for the current working SPOKE PW failure (here, FIG. 5, FIG. 5 is a schematic diagram of the working mode of the boundary SPE when the PW link fails according to a preferred embodiment of the present invention) The forwarded PW information causes other nodes in the two domains to refresh the mac forwarding entries. The traffic converges on the new available link in a shorter period of time, reducing the loss of traffic. Further, the implementation process of the preferred embodiment mainly includes:
( 1 ) MC-PW-GROUP决策状态协商。 图 3是根据本发明优选实施例的跨域 H-VPLS的部署方式示意图, 如图 3所示, SPE1和 SPE2处于一个 full mesh的 VPLS域的边界, SPE3和 SPE4处于另一个在边界 full mesh的 VPLS域的边界。 SPE 1和 SPE 3之间有 SPOKE伪线 PW1 (即上述第一 PW) 连接, SPE 2和 SPE 4之间有 SPOKE伪线 PW2 (即上述第二 PW) 连接。 配置 选择 SPE 1和 SPE 2作为主动端 (master)节点, SPE 3和 SPE 4作为被动端 (slave) 节点。 SPE 1和 SPE 2上进行 MC-PW-GROUP部署, PW1和 PW2分别作为保护组的 主用成员和备用成员加入。 SPE 1和 SPE 2上的 MC-PW-GROUP都关联 ICCP应用, 使用相同的 roid来标识匹配保护组。此处,可以将 PW的检测状态(例如, bfd、 tp-oam 等) 以及协议状态 (例如, pw协商结果、 外层 lsp或 tunnel状态等) 统称为 PW状态 信息, 这些信息可以用于指示 PW是否存在故障, SPE 1和 SPE 2之间需要相互同步 这部分信息。 (1) MC-PW-GROUP decision state negotiation. FIG. 3 is a schematic diagram of a cross-domain H-VPLS deployment manner according to a preferred embodiment of the present invention. As shown in FIG. 3, SPE1 and SPE2 are in the boundary of a full mesh VPLS domain, and SPE3 and SPE4 are in another full mesh at the boundary. The boundary of the VPLS domain. There is a SPOKE pseudowire PW1 (ie, the above first PW) connection between SPE 1 and SPE 3, and a SPOKE pseudowire PW2 (ie, the above second PW) connection between SPE 2 and SPE 4. The configuration selects SPE 1 and SPE 2 as the master node, and SPE 3 and SPE 4 as the slave nodes. On the SPE 1 and the SPE 2, the MC-PW-GROUP is deployed. PW1 and PW2 are added as the active and standby members of the protection group. The MC-PW-GROUP on SPE 1 and SPE 2 are associated with the ICCP application, using the same roid to identify the matching protection group. Here, the detection status of the PW (for example, bfd, tp-oam, etc.) and the protocol status (for example, the pw negotiation result, the outer layer lsp or the tunnel status, etc.) may be collectively referred to as PW status information, and the information may be used to indicate the PW. Whether there is a fault, SPE 1 and SPE 2 need to synchronize this part of the information.
SPE 1和 SPE 2都得到了 PW1和 PW2状态信息后, 便可以决策出转发结果。 如 果 PW1和 PW2都无故障, 则优先选择 PW1作为工作 PW; 如果有一条 PW有故障, 则选择无故障的 PW工作; 如果 PW1和 PW2都有故障, 则选择 PW1工作。 图 6是根据本发明优选实施例的边界节点故障时边界 SPE工作方式示意图, 如图After both SPE 1 and SPE 2 get the PW1 and PW2 status information, the forwarding result can be determined. If both PW1 and PW2 are fault-free, PW1 is preferred as the working PW; if one PW is faulty, the non-faulty PW is selected; if both PW1 and PW2 are faulty, PW1 is selected. 6 is a schematic diagram of a working mode of a boundary SPE when a boundary node fails according to a preferred embodiment of the present invention, as shown in FIG.
6所示, 在边界 SPE失效和 ICCP信令失效的场景下, 流量被中断, 每个边界 SPE在 MC-PW-GROUP信令协商失效时, 要将本地 SPOKE PW置为转发, 并且阻塞本域内 两个边界设备之间的 HUB PW以防止成环。 详细流程描述请参见图 8 (图 8是根据本 发明优选实施例的 MC-PW-GROUP的决策流程图)。 (2) MC-PW-GROUP决策结果对 PW转发流量进行影响。 针对 MC-PW-GROUP的决策结果, 将工作 pw的流量打开, 将不工作的 PW流量 进行阻塞。 在主动端, 主动删除阻塞 pw上学到的 mac, 并向域内邻居 PE及域间 SPE 发送 mac withdraw, 使得各个节点刷新所有 PW上的 mac条目。 主动侧的 SPE还需要将 SPOKE PW是否被选为转发(active/standby)发送到被动 端 SPE。被动侧 SPE如果收到 SPOKE PW被选为非活动 PW, 则删除从该 PW上学到 的 mac, 并向其邻居 PE发送 mac withdraw。 通过以上的流量阻塞及 mac withdraw的发送, 可以确保域间的流量收敛到所决策 的 SPOKE PW上。两个 SPOKE PW互为保护, 确保了 PW链路故障(请参见图 5 )发 生时, 网络流量转发不受影响。 流程描述请参考图 9 (图 9是根据本发明优选实施例 的 MC-PW-GROUP决策结果对转发的处理示意图)。 (3 ) SPE节点失效或 ICCP信令故障进行冗余保护。 如果 SPE1 失效 (请参见图 6), ICCP断链导致信令交互中断, MC-PW-GROUP 协商失效。 SPE2会将 PW2放开流量转发, 并且向该 PW上发出 mac withdraw, SPE 4 从 SPOKE PW收到 mac withdraw后会将其进一步传递到邻居节点。 最终流量能收敛 至 lj PW2. 图 7是根据本发明优选实施例的 ICCP信令失效时边界 SPE的工作方式示意图, 如图 7所示,如果单纯 ICCP链路失效导致信令中断时, SPE 1和 SPE 2会分别将 PW1 和 PW2放开流量转发。 但是 PW1、 PW2、 PW3、 PW4都处于可转发状态会形成转发 环路, 因此一旦 MC-PW-GROUP无法协商成功, 则在开启 SPOKE PW的时候, 还要 将 SPE之间的 hub伪线 PW3进行阻塞。详细流程描述请参见图 10 (图 10是根据本发 明优选实施例的 ICCP信令失效时对转发的处理示意图)。 需要说明的是, 上述各个模块是可以通过硬件来实现的。 例如: 一种处理器, 包 括上述各个模块, 或者, 上述各个模块分别位于一个处理器中。 在另外一个实施例中, 还提供了一种软件, 该软件用于执行上述实施例及优选实 施方式中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述软件, 该存储介质包括但不限于: 光盘、 软盘、 硬盘、 可擦写存储器等。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 在两个相邻 VPLS域 之间的当前工作 PW发生故障的情况下, 使用在两个相邻 VPLS域之间预先设置的备 用 PW进行两个 VPLS域之间的数据转发, 以保证数据不中断, 可以解决 VPLS域间 链路故障和边界节点故障容易引起通信中断和流量损失的问题, 达到了降低由域间链 路故障和边界节点故障而引起的流量损失的效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 如上所述, 本发明实施例提供的一种 VPLS跨域冗余保护方法及系统具有以下有 益效果: 采用在两个相邻 VPLS域之间的当前工作 PW发生故障的情况下, 使用在两 个相邻 VPLS域之间预先设置的备用 PW进行两个 VPLS域之间的数据转发, 以保证 数据不中断的方式, 达到了降低由域间链路故障和边界节点故障而引起的流量损失的 效果。 As shown in Figure 6, in the scenario where the border SPE fails and the ICCP signaling fails, the traffic is interrupted. Each border SPE sets the local SPOKE PW to be forwarded when the MC-PW-GROUP signaling negotiation fails, and blocks the domain. HUB PW between two border devices to prevent looping. For a detailed process description, please refer to FIG. 8 (FIG. 8 is a decision flow chart of MC-PW-GROUP according to a preferred embodiment of the present invention). (2) The MC-PW-GROUP decision result affects the PW forwarding traffic. For the decision result of the MC-PW-GROUP, the traffic of the working pw is opened, and the PW traffic that does not work is blocked. On the active side, the mac that is blocked by the pw is actively deleted, and mac withdraw is sent to the neighbor PE and the inter-domain SPE, so that each node refreshes the mac entries on all PWs. The SPE on the active side also needs to send the SPOKE PW to the active/standby to the passive SPE. If the passive side SPE receives the SPOKE PW and is selected as the inactive PW, it deletes the mac learned from the PW and sends a MAC withdraw to its neighbor PE. Through the above traffic blocking and mac withdraw transmission, it can ensure that traffic between domains converges to the SPOKE PW of the decision. The two SPOKE PWs are mutually protected, ensuring that network traffic forwarding is not affected when a PW link failure (see Figure 5) occurs. For a description of the process, please refer to FIG. 9 (FIG. 9 is a schematic diagram of processing of forwarding of MC-PW-GROUP decision results according to a preferred embodiment of the present invention). (3) SPE node failure or ICCP signaling failure for redundancy protection. If SPE1 fails (see Figure 6), the ICCP chain break causes the signaling interaction to be interrupted and the MC-PW-GROUP negotiation fails. SPE2 will release the traffic forwarding from PW2 and issue a mac withdraw to the PW. After receiving the mac withdraw from the SPOKE PW, SPE 4 will further forward it to the neighbor node. The final traffic can converge to lj PW2. Figure 7 is a schematic diagram of the operation of the boundary SPE when the ICCP signaling fails according to a preferred embodiment of the present invention. As shown in Figure 7, if the ICCP link fails, the signaling is interrupted, SPE 1 And SPE 2 will release traffic forwarding from PW1 and PW2 respectively. However, if PW1, PW2, PW3, and PW4 are in the forwarding state, a forwarding loop will be formed. Therefore, once the MC-PW-GROUP cannot be negotiated successfully, when the SPOKE PW is enabled, the hub pseudowire PW3 between the SPEs is also performed. Blocked. For a detailed description of the process, please refer to FIG. 10 (FIG. 10 is a schematic diagram of processing of forwarding when ICCP signaling fails according to a preferred embodiment of the present invention). It should be noted that each of the above modules can be implemented by hardware. For example: a processor, including the above modules, or each of the above modules is located in one processor. In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments. In another embodiment, a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like. From the above description, it can be seen that the present invention achieves the following technical effects: In the case where the current working PW between two adjacent VPLS domains fails, the pre-set between two adjacent VPLS domains is used. The standby PW performs data forwarding between the two VPLS domains to ensure that the data is not interrupted. This can solve the problem that the link failure and boundary node faults in the VPLS domain are likely to cause communication interruption and traffic loss, and the inter-domain link failure is reduced. And the effect of traffic loss caused by the failure of the boundary node. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. Industrial Applicability As described above, a VPLS cross-domain redundancy protection method and system provided by the embodiments of the present invention have the following beneficial effects: When a current working PW between two adjacent VPLS domains fails, the use is performed. The standby PW preset between the two adjacent VPLS domains performs data forwarding between the two VPLS domains to ensure that the data is not interrupted, and the traffic caused by the inter-domain link failure and the boundary node failure is reduced. The effect of the loss.

Claims

权 利 要 求 书 Claim
1. 一种 VPLS跨域冗余保护方法, 包括: 当第一 VPLS域的与第二 VPLS域之间的第一伪线 PW发生故障时, 使用 所述第一 VPLS域的与所述第二 VPLS域之间的第二伪线 PW进行数据转发, 其中, 所述第一 PW连接于所述第一 VPLS域中的第一 SPE边界节点和所述第 二 VPLS域中的第三 SPE边界节点之间, 所述第二 PW连接于所述第一 VPLS 域中的第二 SPE边界节点和所述第二 VPLS域中的第四 SPE边界节点之间,所 述第二 SPE边界节点、所述第四 SPE边界节点是预先分别在所述第一 VPLS域、 所述第二 VPLS域中增加设置的。 A VPLS cross-domain redundancy protection method, including: when the first pseudowire PW between the first VPLS domain and the second VPLS domain fails, using the first VPLS domain and the second Data forwarding is performed on the second pseudowire PW between the VPLS domains, where the first PW is connected to the first SPE boundary node in the first VPLS domain and the third SPE boundary node in the second VPLS domain. The second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, the second SPE boundary node, the The fourth SPE boundary node is added in advance in the first VPLS domain and the second VPLS domain, respectively.
2. 根据权利要求 1所述的方法,其中,所述第一 SPE边界节点和第二 SPE边界节 点通过 ICCP链路进行通信, 其中, 2. The method of claim 1, wherein the first SPE boundary node and the second SPE boundary node communicate via an ICCP link, wherein
通信的内容包括: 所述第一 PW的配置信息、 所述第一 PW的状态信息、 所述第二 PW的配置信息, 以及所述第二 PW的状态信息,其中,所述第一 PW 的状态信息用于指示所述第一 PW是否存在故障, 所述第二的 PW状态信息用 于指示所述第二 PW是否存在故障。  The content of the communication includes: configuration information of the first PW, status information of the first PW, configuration information of the second PW, and status information of the second PW, where the first PW The status information is used to indicate whether the first PW is faulty, and the second PW status information is used to indicate whether the second PW has a fault.
3. 根据权利要求 1所述的方法, 其中, 3. The method according to claim 1, wherein
所述第一 PW状态信息包括: 第一检测状态信息和第一协议状态信息, 其 中, 所述第一检测状态信息包括: 所述第一 PW的 bfd、 tp-oam;  The first PW state information includes: first detection state information and first protocol state information, where the first detection state information includes: bfd, tp-oam of the first PW;
所述第二 PW状态信息包括: 第二检测状态信息和第二协议状态信息, 其 中, 所述第二检测状态信息包括: 所述第二 PW的 bfd、 tp-oam; 其中, 所述第一协议状态信息和所述第二协议状态信息均包括: PW协商 结果、 外层 lsp、 或 tunnel状态。  The second PW state information includes: second detection state information and second protocol state information, where the second detection state information includes: bfd, tp-oam of the second PW; wherein, the first Both the protocol status information and the second protocol status information include: a PW negotiation result, an outer layer lsp, or a tunnel status.
4. 根据权利要求 2所述的方法, 其中, 所述方法还包括: 在所述 ICCP链路发生故障的情况下, 使用所述第一 PW和所述第二 PW 进行数据转发,并阻塞所述第一 SPE边界节点和所述第二 SPE边界节点之间的 The method according to claim 2, wherein the method further comprises: performing data forwarding using the first PW and the second PW in case the ICCP link fails, and blocking the Between the first SPE boundary node and the second SPE boundary node
5. 根据权利要求 1所述的方法, 其中, 所述方法还包括: The method according to claim 1, wherein the method further comprises:
当所述第一 SPE边界节点发生故障时, 使用所述第二 PW进行数据转发。 根据权利要求 2所述的方法, 其中, 所述方法还包括: 当所述第一 SPE边界节点和所述 ICCP链路均发生故障时, 使用所述第二 PW进行数据转发, 并阻塞所述第一 SPE边界节点和所述第二 SPE边界节点之 间的 HUB PW。 根据权利要求 1所述的方法,其中,所述第一 SPE边界节点和所述第二 SPE边 界节点构成主动端设备,所述第三 SPE边界节点和所述第四 SPE边界节点构成 被动端设备。 根据权利要求 7所述的方法, 其中, 在根据预置的 PW优先级和 PW的工作状 态做出将所述第一 PW作为工作 PW决定的情况下, 所述方法还包括: When the first SPE border node fails, the second PW is used for data forwarding. The method according to claim 2, wherein the method further comprises: when the first SPE border node and the ICCP link both fail, using the second PW for data forwarding, and blocking the A HUB PW between the first SPE boundary node and the second SPE boundary node. The method according to claim 1, wherein said first SPE boundary node and said second SPE boundary node constitute an active end device, and said third SPE boundary node and said fourth SPE boundary node constitute a passive end device . The method according to claim 7, wherein, in the case that the first PW is determined as the working PW according to the preset PW priority and the working state of the PW, the method further includes:
阻塞所述第二 PW, 在所述主动端设备删除所述第二 PW学到的媒体接入 控制 MAC, 并通知所述被动设备和逐次与所述被动设备连接相邻的其它被动 设备以进行 MAC撤销操作并重学 MAC; 所述第一 SPE边界节点将所述第一 PW被决定为工作 PW的结果通知给所 述第三 SPE边界节点,和所述第二 SPE边界节点将所述第二 PW被决定为备份 PW的结果通知给所述第四 SPE边界节点。 一种 VPLS跨域冗余保护系统, 包括: 倒换模块, 设置为当第一 VPLS域的与第二 VPLS域之间的第一伪线 PW 发生故障时,使用所述第一 VPLS域的与所述第二 VPLS域之间的第二伪线 PW 进行数据转发, 其中, 所述第一 PW连接于所述第一 VPLS域中的第一 SPE边 界节点和所述第二 VPLS域中的第三 SPE边界节点之间, 所述第二 PW连接于 所述第一 VPLS域中的第二 SPE边界节点和所述第二 VPLS域中的第四 SPE边 界节点之间,所述第二 SPE边界节点、所述第四 SPE边界节点是预先分别在所 述第一 VPLS域、 所述第二 VPLS域中增加设置的。 根据权利要求 1所述的系统,其中,所述第一 SPE边界节点和第二 SPE边界节 点通过 ICCP链路进行通信, 其中,  Blocking the second PW, deleting, by the active end device, the media access control MAC learned by the second PW, and notifying the passive device and other passive devices that are connected to the passive device one by one for performing The MAC revokes the operation and re-learns the MAC; the first SPE border node notifies the third SPE boundary node that the first PW is determined to be the working PW, and the second SPE boundary node sets the second The PW is determined to notify the fourth SPE border node as a result of backing up the PW. A VPLS inter-domain redundancy protection system, comprising: a switching module, configured to use the first VPLS domain when the first pseudowire PW between the first VPLS domain and the second VPLS domain fails Data forwarding is performed on the second pseudowire PW between the second VPLS domains, where the first PW is connected to the first SPE boundary node in the first VPLS domain and the third in the second VPLS domain. Between the SPE boundary nodes, the second PW is connected between the second SPE boundary node in the first VPLS domain and the fourth SPE boundary node in the second VPLS domain, and the second SPE boundary node The fourth SPE boundary node is added in advance in the first VPLS domain and the second VPLS domain, respectively. The system of claim 1, wherein the first SPE boundary node and the second SPE boundary node communicate via an ICCP link, wherein
通信的内容包括: 所述第一 PW的配置信息、 所述第一 PW的状态信息、 所述第二 PW的配置信息, 以及所述第二 PW状态信息, 其中, 所述第一 PW 的状态信息用于指示所述第一 PW是否存在故障, 所述第二 PW的状态信息用 于指示所述第二 PW是否存在故障。  The content of the communication includes: the configuration information of the first PW, the status information of the first PW, the configuration information of the second PW, and the second PW status information, where the status of the first PW The information is used to indicate whether the first PW is faulty, and the status information of the second PW is used to indicate whether the second PW is faulty.
PCT/CN2014/079885 2013-11-05 2014-06-13 Vpls cross-domain redundancy protection method and system WO2015067048A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2016118682A RU2016118682A (en) 2013-11-05 2014-06-13 METHOD AND SYSTEM OF CROSS-DOMAIN RESERVATION OF VIRTUAL PRIVATE LOCAL NETWORK (VChLS)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310542984.1A CN104618233A (en) 2013-11-05 2013-11-05 VPLS cross-domain redundancy protection method and system
CN201310542984.1 2013-11-05

Publications (1)

Publication Number Publication Date
WO2015067048A1 true WO2015067048A1 (en) 2015-05-14

Family

ID=53040853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079885 WO2015067048A1 (en) 2013-11-05 2014-06-13 Vpls cross-domain redundancy protection method and system

Country Status (3)

Country Link
CN (1) CN104618233A (en)
RU (1) RU2016118682A (en)
WO (1) WO2015067048A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528700B (en) * 2016-06-22 2021-08-17 中兴通讯股份有限公司 Cross-domain edge device, layered VPLS network and broadcast flow processing method thereof
CN107547291B (en) * 2016-06-28 2021-02-12 华为技术有限公司 Performance monitoring method and device and router
CN111698152B (en) * 2019-03-15 2021-09-14 华为技术有限公司 Fault protection method, node and storage medium
CN112737937B (en) * 2019-10-14 2022-09-16 中国电信股份有限公司 Information cross-domain notification method, system and boundary router

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090201831A1 (en) * 2008-02-07 2009-08-13 Cisco Technology, Inc. Vpls n-pe redundancy using pseudo wire fast failover
US20110164617A1 (en) * 2010-01-05 2011-07-07 Futurewei Technologies, Inc. Enhanced Hierarchical Virtual Private Local Area Network Service (VPLS) System and Method for Ethernet-Tree (E-Tree) Services
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire
US20120155484A1 (en) * 2009-08-20 2012-06-21 Sergeev Andrew Technique for dual homing interconnection between communication networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090201831A1 (en) * 2008-02-07 2009-08-13 Cisco Technology, Inc. Vpls n-pe redundancy using pseudo wire fast failover
US20120155484A1 (en) * 2009-08-20 2012-06-21 Sergeev Andrew Technique for dual homing interconnection between communication networks
US20110164617A1 (en) * 2010-01-05 2011-07-07 Futurewei Technologies, Inc. Enhanced Hierarchical Virtual Private Local Area Network Service (VPLS) System and Method for Ethernet-Tree (E-Tree) Services
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire

Also Published As

Publication number Publication date
RU2016118682A (en) 2017-12-11
CN104618233A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
JP5508289B2 (en) Network recovery system and method from multilink failure
CN101999224B (en) Redundant Ethernet automatic protection switching access to virtual private lan services
EP2117176B1 (en) Method for implementing intersecting ring network with arbitrary topology, node and intersecting ring network
US9800432B2 (en) Using ethernet ring protection switching with computer networks
US8724452B2 (en) Technique for protecting communication traffic in a connection having redundancy
US8780700B2 (en) Triggering a redundant router master/backup status change based on switch connectivity
WO2012028029A1 (en) Switching method and system
WO2010045832A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
JP6056089B2 (en) Method, apparatus and system for hot standby by two computers
US8199637B2 (en) VPLS remote failure indication
JP2009524332A (en) VPLS failure protection for ring networks
WO2009039698A1 (en) Ethernet ring system, its main node and intialization method
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2015067048A1 (en) Vpls cross-domain redundancy protection method and system
WO2011147299A1 (en) Fast reroute method and apparatus in layer-2 virtual private network
WO2012146097A1 (en) Vpls network and ethernet ring switching method and device
WO2013007124A1 (en) Method and system for advertising virtual router redundancy protocol link protection
WO2014101125A1 (en) Aggregation group link negotiation method, device and system
WO2012071905A1 (en) Method and system for protecting ring network uplink
WO2011147298A1 (en) Method and apparatus for resetting layer 3 virtual private network routes
WO2012068866A1 (en) Method and system for refreshing media access control in ethernet ring network
US20140192633A1 (en) System and method for providing fast and efficient flushing of a forwarding database in a network processor
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
KR101299443B1 (en) Method for protection switching
JP4944986B2 (en) Transmission path system and transmission path construction method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016118682

Country of ref document: RU

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14860470

Country of ref document: EP

Kind code of ref document: A1