[go: up one dir, main page]

WO2011011934A1 - Method and apparatus for ethernet tunnel segmentation protection - Google Patents

Method and apparatus for ethernet tunnel segmentation protection Download PDF

Info

Publication number
WO2011011934A1
WO2011011934A1 PCT/CN2009/074555 CN2009074555W WO2011011934A1 WO 2011011934 A1 WO2011011934 A1 WO 2011011934A1 CN 2009074555 W CN2009074555 W CN 2009074555W WO 2011011934 A1 WO2011011934 A1 WO 2011011934A1
Authority
WO
WIPO (PCT)
Prior art keywords
segment
protection
deb
traffic
spare
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2009/074555
Other languages
French (fr)
Chinese (zh)
Inventor
敖婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2011011934A1 publication Critical patent/WO2011011934A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Definitions

  • the present invention relates to a protection technology for an Ethernet tunnel, and in particular, to an Ethernet tunnel segmentation protection method and apparatus.
  • PBT technology is a connection-oriented Ethernet transmission technology, also known as Provider Backbone Bridge Traffic Engineering (PBB-TE).
  • PBB-TE Provider Backbone Bridge Traffic Engineering
  • the PBB-TE technology is based on the PBB technology.
  • the core of the technology is the improvement of the PBB technology.
  • the source device of the CE is inserted into the destination media access control (MAC) address of the backbone network (B-DA, Backbone Destination MAC Address ), Backbone Source MAC Address of the backbone network, Backbone Virtual Local Area Network Identity (B-VID, Backbone Virtual Local Area Network Identity), and Service Instance Tag (I-TAG, Service) Instance TAG ).
  • the forwarding path between the source device and the destination device of the CE is pre-statically configured.
  • the intermediate CE device can forward the data frame based on the B-DA and B-VID in the forwarding table.
  • the entire TESI must be switched, and the faulty link or the failed node passes.
  • the protection object of the PBB-TE end-to-end protection is TESI.
  • the TESI of a certain work is detected to be faulty, the user message entering the PBB-TE tunnel needs another header corresponding to the protection TESI. Repackaged to allow traffic to protect the PBB-TE tunnel.
  • PBB-TE segment protection becomes very necessary, that is, A partial segment of the PBB-TE tunnel needs to be protected to protect a set of traffic engineering service instances passing through the segment.
  • the prior art has not been able to provide a more effective PBB-TE segmentation protection scheme, which brings inconvenience to practical applications.
  • the main object of the present invention is to provide an Ethernet tunnel segmentation protection method and apparatus to implement segmentation protection for a PBB-TE tunnel.
  • the present invention provides an Ethernet tunnel segmentation protection method, the method comprising:
  • the domain border bridge DEB sends a connectivity check message to the peer DEB through the primary and backup segments in the protection domain, and performs state detection.
  • the method further includes: configuring a corresponding spare segment for the primary segment, where the primary segment and the spare segment form a closed ring structure to form the protection domain, And the two endpoints shared by the primary segment and the spare segment are the DEBs in the protection domain.
  • the step of sending a connectivity check message to the peer DEB further includes: periodically sending a connectivity check message to the peer DEB;
  • the steps to perform status detection include:
  • the DEB does not receive the connection sent by the peer DEB through the primary segment within a predetermined time If the message is checked, the main segment is determined to be faulty;
  • the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, it is determined that the spare segment has failed.
  • the step of performing protection switching on the traffic includes: if the primary segment fails, and the traffic transmission occupies the primary segment, and the spare segment is available, the traffic is Protection is switched to the spare segment;
  • the traffic protection is switched to the primary segment.
  • the step of switching the traffic protection to the spare segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to a port of the spare segment to which the DEB is connected;
  • the step of switching the traffic protection to the primary segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to a port of the primary segment to which the DEB is connected.
  • the connectivity check message is a continuity check message CCM message.
  • the invention also provides an Ethernet tunnel segment protection device, the device comprising:
  • a message sending module configured to send a connectivity check message to the peer DEB through the primary segment and the spare segment in the protection domain where the DEB is located, respectively, to perform state detection;
  • the protection switching module is configured to perform protection switching of the traffic when the primary segment or the spare segment occupied by the traffic transmission fails.
  • the device further includes: a configuration module, where the configuration module is configured as a spare segment corresponding to the configuration of the primary segment, wherein the primary segment and the spare segment form a closed annular structure to form the protection domain And the two endpoints shared by the primary segment and the spare segment are the DEBs in the protection domain.
  • the message sending module is configured to perform state detection by: if the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time, determining that the primary segment fails; If the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, determining that the spare segment fails;
  • the protection switching module is configured to perform protection switching on the traffic by: if the primary segment fails, and traffic transmission occupies the primary segment, and the spare segment is available, The traffic protection is switched to the spare segment; if the spare segment fails, and the traffic transmission occupies the spare segment, and the primary segment is available, the traffic protection is switched to the primary segment.
  • the protection switching module is configured to switch the traffic from the primary segment protection to the standby segment by changing the egress port of the forwarding table entry corresponding to the traffic stored by the DEB itself to the DEB connection.
  • the port of the spare segment and switching the traffic from the spare segment protection to the primary segment by changing the outgoing port of the forwarding table entry corresponding to the traffic stored by the DEB itself to the primary connected to the DEB The port of the segment.
  • the connectivity check message is a CCM message.
  • the method and device for protecting the segmentation of the Ethernet tunnel provided by the invention effectively implements the segmentation protection of the PBB-TE tunnel, and only protects the segment that needs to be protected, and solves the problem that the prior art local failure needs to be completed.
  • the disadvantages of Ethernet tunnel switching are to improve the utilization and reliability of the network. It has better flexibility in network protection and meets the requirements of actual networking.
  • FIG. 1 is a schematic diagram of an end-to-end protection of PBB-TE in the prior art
  • FIG. 2 is a flowchart of a method for protecting a segment of an Ethernet tunnel according to the present invention
  • FIG. 3 is a schematic diagram of a topology model for implementing Ethernet tunnel segmentation protection according to the present invention
  • FIG. 4 is a schematic diagram of topology structure of Ethernet tunnel segmentation protection according to an embodiment of the present invention
  • An Ethernet tunnel segmentation protection method provided by the present invention mainly includes the following steps:
  • Step 201 The Domain Edge Bridge (DEB) is configured to implement segmentation protection of the Ethernet tunnel by using the protection thereof.
  • the present invention introduces an intermediate segment protection model, which is an intermediate segment in the PBB-TE network.
  • a set of TESIs on the link (including the link on the segment and the intermediate node on the link) is protected.
  • FIG. 3 for the part to be protected in the PBB-TE network, there are two paths: a primary segment and a backup segment.
  • the primary segment and the spare segment share two endpoints. Segments and spare segments have different paths. They form a closed loop structure that forms a protective domain.
  • the two endpoints shared by the primary segment and the spare segment are called Domain Border Bridges (DEBs).
  • DEBs Domain Border Bridges
  • DEB includes a series of LANs and intermediate nodes between them.
  • main segment refers to an intermediate segment where the path of the planned data traffic (TESI) is taken when the network is working properly. This segment is protected by the protection domain.
  • spare segment is a segment that protects the primary segment within its protection domain. As shown in Figure 3, in the absence of a fault, the data traffic is forwarded on the primary segment between B C; when a failure occurs on the primary segment, endpoints B and C switch traffic to the alternate segment.
  • TESI is an instance of a MAC service consisting of a set of Ethernet Switch Paths (ESPs).
  • ESP is a one-way Ethernet forwarding path determined by a triple ⁇ B-DA, B-SA, 8- ⁇ 10>.
  • the two DEBs (Node B and Node C) in the model send connectivity check messages to the peer DEB through the primary and backup segments, respectively, for link detection.
  • the connectivity check message may be sent periodically or non-periodically.
  • Link detection is performed using the OAM (Operation Administration and Maintenance) mechanism and using the IEEE, Institute of Electrical and Electronics Engineers 802. lag standard.
  • the connectivity check message referred to in the present invention may be, but is not limited to, a continuity check message.
  • CCM Connectivity Check Message
  • Step 202 The DEB performs the protection switching of the traffic when it determines that the primary segment or the standby segment occupied by the traffic transmission is faulty by detecting the status of the primary segment and the standby segment in the protection domain.
  • a DEB when a DEB does not receive a CCM message sent from the spare segment within a predetermined time, it considers that a failure occurs on the spare segment, if the current traffic transmission occupies an alternate segment, and the primary segment is detected to be available. Then, the DEB performs a protection switching operation of the traffic, and switches the traffic from the standby segment to the primary segment for forwarding.
  • the specific protection switching operation is: DEB changes the egress port of the forwarding table entry corresponding to the traffic stored by the DEB. The port of the primary segment connected to the DEB, so that traffic is forwarded according to the new outgoing port.
  • the forwarding table entry that needs to be changed is the ⁇ 8-0, B-VID> corresponding to a group of TESIs protected by the protection domain; the outgoing port is the primary segment or the spare segment corresponding to the DEB. port.
  • the model shown in Figure 3 protects the middle segment of a PBB-TE network that requires a key protection component, and protects the Revertive mode and the Non-Revertive mode.
  • the invention achieves protection of a set of TESIs in a protected domain on a PBB-TE network.
  • Ethernet tunnel segmentation protection method will be described in detail below with reference to the embodiment shown in FIG. As shown in Figure 4, there is a set of TESIs that go through a common part of the path.
  • the main segments B ⁇ C and D ⁇ E ⁇ F are respectively protected, and the corresponding spare segments B ⁇ G ⁇ C and respectively are configured.
  • the two endpoints B and C are shared to form a protection domain I; the primary segment D ⁇ E ⁇ F and the spare segment D ⁇ H ⁇ F share two endpoints D and F to form a protection domain II.
  • the two protection domains are independent of each other, that is, the protection domain I and the protection domain II perform fault detection inside the domain itself, and the switching action of one domain does not affect the behavior of the other domain.
  • the B, C, D, and F nodes in Figure 4 are all DEBs. Protection domain I and protection domain II can share one endpoint, or multiple nodes in between.
  • the primary segment BC is replaced by an alternate segment.
  • the CCM message of the main segment is transmitted on the BC, and the CCM message of the spare segment is transmitted on the B ⁇ GC; the DEF of the main segment is protected by the DHF of the spare segment, and the CCM message of the main segment is transmitted on the DEF, on the DHF.
  • the present invention also provides an Ethernet tunnel segmentation protection device, which is applied to an Ethernet node (including DEB), as shown in FIG. 5, the device includes : Message sending module 10 and protection switching module 20.
  • the message sending module 10 checks the message and performs fault detection.
  • the protection switching module 20 is configured to perform protection switching on the traffic when the primary segment or the standby segment occupied by the traffic transmission fails.
  • the device further includes: a configuration module 30, configured to configure a corresponding spare segment for the main segment, the main segment and the spare segment form a closed ring structure to form a protection domain, and the main The two endpoints shared by the segment and the spare segment are the DEBs in the protection domain.
  • a configuration module 30 configured to configure a corresponding spare segment for the main segment, the main segment and the spare segment form a closed ring structure to form a protection domain, and the main The two endpoints shared by the segment and the spare segment are the DEBs in the protection domain.
  • the protection switching module 20 is further configured to: when the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time, if the traffic transmission occupies the primary segment and the spare segment is available, the traffic protection is switched to On the spare segment; when the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within the predetermined time, if the traffic transmission occupies the spare segment and the active segment is available, the traffic protection is switched to the primary segment.
  • the switching operation specifically includes: when the traffic protected by the protected domain needs to be switched from the primary segment protection to the standby segment, the outbound port of the forwarding table entry corresponding to the traffic stored by the DEB itself is changed to the standby segment connected to the DEB. Port: When the traffic protected by the protected domain needs to be switched from the backup segment protection to the primary segment, the egress port entry corresponding to the traffic stored in the DEB itself is changed to the port of the primary segment connected to the DEB.
  • the present invention effectively implements the segmentation protection of the PBB-TE tunnel, and only protects the segment that needs to be protected, thereby solving the disadvantages of the entire technology in the prior art that the entire Ethernet tunnel is switched. It improves the utilization and reliability of the network, provides better flexibility in network protection, and meets the requirements of actual networking.

Landscapes

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

Abstract

A method for Ethernet tunnel segmentation protection is provided, which includes: a Domain Edge Bridge (DEB) sends connectivity check messages to the opposite end DEB respectively through the primary segment and the backup segment within the protection domains in which the DEB resides to check the status; when the primary segment or the backup segment occupied by the traffic transmission is failed, the protection switching for the traffic is performed. An apparatus for Ethernet tunnel segmentation protection is also provided. Application of the method and the apparatus in the present invention enables the effective segmentation protection for the Ethernet tunnel, protects only the part of segments needing protection, overcomes the shortcoming that the whole Ethernet tunnel needs to be switched when a failure occurs locally in the prior art, and thereby the utilization as well as reliability of the network are improved, the better flexibility is provided in the networking implementation protection, and the requirements of the actual networking are satisfied.

Description

一种以太网隧道分段保护方法和装置  Ethernet tunnel segmentation protection method and device

技术领域 Technical field

本发明涉及以太网隧道的保护技术, 尤其涉及一种以太网隧道分段保护 方法和装置。  The present invention relates to a protection technology for an Ethernet tunnel, and in particular, to an Ethernet tunnel segmentation protection method and apparatus.

背景技术 Background technique

随着电信级以太网(CE, Carrier Ethernet )概念的提出, 满足电信网络需 求, 且面向连接的以太网技术一运营商骨干传送(PBT, Provider Backbone Transport )技术也随之产生。 随后, 国内外均有运营商釆用 PBT技术组网, 为 PBT技术在城域网内的发展提供了良好的开端。  With the concept of Carrier Ethernet (CE), the requirements of the telecommunication network are met, and a connection-oriented Ethernet technology (PBT, Provider Backbone Transport) technology is also produced. Subsequently, operators at home and abroad used PBT technology networking to provide a good start for the development of PBT technology in metropolitan area networks.

PBT技术是一种面向连接的以太网传输技术, 也称支持流量工程的运营 商骨干桥接 ( PBB-TE, Provider Backbone Bridge Traffic Engineering )技术。 PBB-TE技术基于 PBB技术, 其核心是对 PBB技术的改进, CE的源设备在 才艮文的头部插入骨干网的目的媒体接入控制 ( MAC, Media Access Control ) 地址( B-DA, Backbone Destination MAC Address ) 、 骨干网的源 MAC地址 ( B-SA, Backbone Source MAC Address )、 骨干网虚拟局域网标识(B-VID, Backbone Virtual Local Area Network Identity ) 以及服务实例标记(I-TAG, Service Instance TAG ) 。 CE的源设备和目的设备之间的转发路径是预先静态 配置的, 中间的 CE设备可以基于转发表中的 B-DA和 B-VID对数据帧进行 转发。  PBT technology is a connection-oriented Ethernet transmission technology, also known as Provider Backbone Bridge Traffic Engineering (PBB-TE). The PBB-TE technology is based on the PBB technology. The core of the technology is the improvement of the PBB technology. The source device of the CE is inserted into the destination media access control (MAC) address of the backbone network (B-DA, Backbone Destination MAC Address ), Backbone Source MAC Address of the backbone network, Backbone Virtual Local Area Network Identity (B-VID, Backbone Virtual Local Area Network Identity), and Service Instance Tag (I-TAG, Service) Instance TAG ). The forwarding path between the source device and the destination device of the CE is pre-statically configured. The intermediate CE device can forward the data frame based on the B-DA and B-VID in the forwarding table.

随着运营商级以太网概念的提出, 为了使以太网达到电信级别标准, 对 以太网的保护、 倒换提出了更高的要求。 在现有的 PBB-TE保护倒换技术中 , 支持对流量工程服务实例( TESI, Traffic Engineering Service Instance )的保护, 即一种端到端的隧道保护, 如图 1 所示, 某 TESI 的端到端主隧道为 A^B^C^D^E, A和 E表示该隧道实例的端; A F G E为该 TESI的 端到端备份隧道。 这种端到端的保护方案不但保护倒换时间较长, 而且牵涉 的节点较多, 缺少了对中间链路和节点的保护。 一旦中间某条链路或某个节 点出现故障, 则必须整条 TESI进行切换, 而且该故障链路或故障节点上通过 有多条 TESI时, 会引起多条 TESI的切换。 也就是说, PBB-TE端到端保护 的保护对象是 TESI, 当检测到某条工作的 TESI 出现故障, 则需对进入该 PBB-TE隧道的用户报文用另一条保护 TESI对应的头部进行重新封装, 使流 量走保护 PBB-TE隧道。 With the concept of carrier-class Ethernet, in order to make Ethernet reach the telecom level standard, higher requirements are placed on the protection and switching of Ethernet. In the existing PBB-TE protection switching technology, the protection of the Traffic Engineering Service Instance (TESI) is supported, that is, an end-to-end tunnel protection, as shown in Figure 1, the end-to-end of a TESI The main tunnel is A^B^C^D^E, A and E represent the end of the tunnel instance; AFGE is the end-to-end backup tunnel of the TESI. This end-to-end protection scheme not only protects the switching time longer, but also involves more nodes and lacks protection for intermediate links and nodes. Once a link or a node in the middle fails, the entire TESI must be switched, and the faulty link or the failed node passes. When there are multiple TESIs, it will cause multiple TESI switches. That is to say, the protection object of the PBB-TE end-to-end protection is TESI. When the TESI of a certain work is detected to be faulty, the user message entering the PBB-TE tunnel needs another header corresponding to the protection TESI. Repackaged to allow traffic to protect the PBB-TE tunnel.

对于以太网而言, 链路、 节点保护是以太网保护的一部分, 大部分的网 络故障都是出现在某条链路或某节点上, 因此 PBB-TE分段保护变得非常有 必要, 即需要对 PBB-TE隧道的局部段进行保护, 保护经过该段上的一组流 量工程服务实例。 然而, 现有技术还无法提供一种较有效的 PBB-TE分段保 护方案, 从而给实际应用带来不便。  For Ethernet, link and node protection are part of Ethernet protection. Most network failures occur on a certain link or a node. Therefore, PBB-TE segment protection becomes very necessary, that is, A partial segment of the PBB-TE tunnel needs to be protected to protect a set of traffic engineering service instances passing through the segment. However, the prior art has not been able to provide a more effective PBB-TE segmentation protection scheme, which brings inconvenience to practical applications.

发明内容 Summary of the invention

有鉴于此, 本发明的主要目的在于提供一种以太网隧道分段保护方法和 装置, 以实现对 PBB-TE隧道的分段保护。  In view of this, the main object of the present invention is to provide an Ethernet tunnel segmentation protection method and apparatus to implement segmentation protection for a PBB-TE tunnel.

为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:

本发明提供了一种以太网隧道分段保护方法, 该方法包括:  The present invention provides an Ethernet tunnel segmentation protection method, the method comprising:

域边界桥 DEB 分别通过其所在保护域内的主用段和备用段向对端的 DEB发送连通性检查消息 , 进行状态检测;  The domain border bridge DEB sends a connectivity check message to the peer DEB through the primary and backup segments in the protection domain, and performs state detection.

在流量传输所占用的主用段或备用段发生故障时, 执行对所述流量的保 护切换。  When the primary segment or the standby segment occupied by the traffic transmission fails, the protection switching of the traffic is performed.

进一步, 在 DEB发送连通性检查消息之前, 所述方法还包括: 为所述主 用段配置对应的备用段, 所述主用段和备用段组成封闭的环状结构, 形成所 述保护域,且所述主用段和备用段共用的两个端点即为所述保护域内的 DEB。  Further, before the DEB sends the connectivity check message, the method further includes: configuring a corresponding spare segment for the primary segment, where the primary segment and the spare segment form a closed ring structure to form the protection domain, And the two endpoints shared by the primary segment and the spare segment are the DEBs in the protection domain.

进一步, 所述方法中:  Further, in the method:

向对端的 DEB发送连通性检查消息的步骤还包括: 周期性地向对端的 DEB发送连通性检查消息;  The step of sending a connectivity check message to the peer DEB further includes: periodically sending a connectivity check message to the peer DEB;

进行状态检测的步骤包括:  The steps to perform status detection include:

如果所述 DEB在预定时间内没有收到对端的 DEB通过主用段发送的连 通性检查消息, 则判定所述主用段发生故障; If the DEB does not receive the connection sent by the peer DEB through the primary segment within a predetermined time If the message is checked, the main segment is determined to be faulty;

如果所述 DEB在预定时间内没有收到对端的 DEB通过备用段发送的连 通性检查消息, 则判定所述备用段发生故障。  If the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, it is determined that the spare segment has failed.

进一步, 所述方法中, 执行对所述流量的保护切换的步骤包括: 如果所述主用段发生故障, 且流量传输占用所述主用段, 同时所述备用 段可用, 则将所述流量保护切换到所述备用段上;  Further, in the method, the step of performing protection switching on the traffic includes: if the primary segment fails, and the traffic transmission occupies the primary segment, and the spare segment is available, the traffic is Protection is switched to the spare segment;

如果所述备用段发送故障, 且流量传输占用所述备用段, 同时所述主用 段可用, 则将所述流量保护切换到所述主用段上。  If the spare segment sends a failure and the traffic transmission occupies the spare segment while the primary segment is available, the traffic protection is switched to the primary segment.

进一步, 所述方法中:  Further, in the method:

将所述流量保护切换到所述备用段上的步骤包括:所述 DEB将自身所存 储的所述流量所对应的转发表条目的出端口更改为所述 DEB 所连接备用段 的端口;  The step of switching the traffic protection to the spare segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to a port of the spare segment to which the DEB is connected;

将所述流量保护切换到所述主用段上的步骤包括:所述 DEB将自身所存 储的所述流量所对应的转发表条目的出端口更改为所述 DEB 所连接主用段 的端口。  The step of switching the traffic protection to the primary segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to a port of the primary segment to which the DEB is connected.

进一步, 所述方法中,  Further, in the method,

所述连通性检查消息为连续性检测消息 CCM报文。  The connectivity check message is a continuity check message CCM message.

本发明还提供了一种以太网隧道分段保护装置, 该装置包括:  The invention also provides an Ethernet tunnel segment protection device, the device comprising:

消息发送模块,其设置成分别通过 DEB所在保护域内的主用段和备用段 向对端的 DEB发送连通性检查消息, 进行状态检测;  a message sending module, configured to send a connectivity check message to the peer DEB through the primary segment and the spare segment in the protection domain where the DEB is located, respectively, to perform state detection;

保护切换模块, 其设置成在流量传输所占用的主用段或备用段发生故障 时, 执行对所述流量的保护切换。  The protection switching module is configured to perform protection switching of the traffic when the primary segment or the spare segment occupied by the traffic transmission fails.

进一步, 所述装置还包括: 配置模块, 所述配置模块设置成为所述主用 段配置对应的备用段, 其中, 所述主用段和备用段组成封闭的环状结构, 形 成所述保护域, 且所述主用段和备用段共用的两个端点即为所述保护域内的 DEB。  Further, the device further includes: a configuration module, where the configuration module is configured as a spare segment corresponding to the configuration of the primary segment, wherein the primary segment and the spare segment form a closed annular structure to form the protection domain And the two endpoints shared by the primary segment and the spare segment are the DEBs in the protection domain.

进一步, 所述装置中, 所述消息发送模块是设置成通过如下方式进行状态检测: 如果所述 DEB 在预定时间内没有收到对端的 DEB通过主用段发送的连通性检查消息,则确 定所述主用段发生故障; 如果所述 DEB在预定时间内没有收到对端的 DEB 通过备用段发送的连通性检查消息, 则确定所述备用段发生故障; Further, in the device, The message sending module is configured to perform state detection by: if the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time, determining that the primary segment fails; If the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, determining that the spare segment fails;

所述保护切换模块是设置成通过如下方式执行对所述流量的保护切换: 如果所述主用段发生故障, 且流量传输占用所述主用段, 同时所述备用段可 用, 则将所述流量保护切换到所述备用段上; 如果所述备用段发生故障, 且 流量传输占用所述备用段, 同时所述主用段可用, 则将所述流量保护切换到 所述主用段上。  The protection switching module is configured to perform protection switching on the traffic by: if the primary segment fails, and traffic transmission occupies the primary segment, and the spare segment is available, The traffic protection is switched to the spare segment; if the spare segment fails, and the traffic transmission occupies the spare segment, and the primary segment is available, the traffic protection is switched to the primary segment.

进一步, 所述装置中,  Further, in the device,

所述保护切换模块是设置成通过如下方式将流量从主用段保护切换到备 用段:将所述 DEB自身所存储的所述流量所对应的转发表条目的出端口更改 为所述 DEB所连接备用段的端口; 以及通过如下方式将流量从备用段保护切 换到主用段:将所述 DEB自身所存储的所述流量所对应的转发表条目的出端 口更改为所述 DEB所连接主用段的端口。  The protection switching module is configured to switch the traffic from the primary segment protection to the standby segment by changing the egress port of the forwarding table entry corresponding to the traffic stored by the DEB itself to the DEB connection. The port of the spare segment; and switching the traffic from the spare segment protection to the primary segment by changing the outgoing port of the forwarding table entry corresponding to the traffic stored by the DEB itself to the primary connected to the DEB The port of the segment.

所述连通性检查消息为 CCM报文。  The connectivity check message is a CCM message.

本发明所提供的一种以太网隧道分段保护方法和装置, 有效实现了 PBB-TE隧道的分段保护,只对需要保护的部分段进行保护,解决了现有技术 局部发生故障需整条以太网隧道切换的弊端, 从而提高了网络的利用率和可 靠性, 在组网实施保护上具有较好的灵活性, 且满足了实际组网的需求。  The method and device for protecting the segmentation of the Ethernet tunnel provided by the invention effectively implements the segmentation protection of the PBB-TE tunnel, and only protects the segment that needs to be protected, and solves the problem that the prior art local failure needs to be completed. The disadvantages of Ethernet tunnel switching are to improve the utilization and reliability of the network. It has better flexibility in network protection and meets the requirements of actual networking.

附图概述 BRIEF abstract

图 1为现有技术中 PBB-TE的一种端到端保护的示意图;  1 is a schematic diagram of an end-to-end protection of PBB-TE in the prior art;

图 2为本发明一种以太网隧道分段保护方法的流程图;  2 is a flowchart of a method for protecting a segment of an Ethernet tunnel according to the present invention;

图 3为本发明用以实现以太网隧道分段保护的拓朴模型的示意图; 图 4为本发明实施例的以太网隧道分段保护的拓朴结构示意图; 图 5为本发明一种以太网隧道分段保护装置的组成结构示意图。 本发明的较佳实施方式 3 is a schematic diagram of a topology model for implementing Ethernet tunnel segmentation protection according to the present invention; FIG. 4 is a schematic diagram of topology structure of Ethernet tunnel segmentation protection according to an embodiment of the present invention; FIG. Schematic diagram of the structure of the tunnel segment protection device. Preferred embodiment of the invention

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。  The technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings and specific embodiments.

本发明所提供的一种以太网隧道分段保护方法, 如图 2所示, 主要包括 以下步骤:  An Ethernet tunnel segmentation protection method provided by the present invention, as shown in FIG. 2, mainly includes the following steps:

步骤 201 , 域边界桥(DEB, Domain Edge Bridge )分别通过其所在保护 为实现以太网隧道分段保护, 本发明引入一种中间段保护模型, 该模型 是对 PBB-TE网络中的一中间段 (包括段上的链路和链路上的中间节点)上 的一组 TESI进行保护。 如图 3所示, 对于 PBB-TE网络中需要加以保护的部 分配置有主用段( Primary Segment )和备用段( Backup Segment ) 两条路径, 主用段和备用段共用两个端点, 主用段和备用段具有不同的路径。 它们形成 一个封闭的环形结构, 组成一个保护域。 主用段和备用段共用的这两个端点 称为域边界桥 ( DEB , Domain Edge Bridge ) , DEB之间在主用段和备用段上 可以无中间节点, 也可以有一个或多个中间节点, 例如: DEB之间包括一系 列局域网和介于其间的中间节点。  Step 201: The Domain Edge Bridge (DEB) is configured to implement segmentation protection of the Ethernet tunnel by using the protection thereof. The present invention introduces an intermediate segment protection model, which is an intermediate segment in the PBB-TE network. A set of TESIs on the link (including the link on the segment and the intermediate node on the link) is protected. As shown in FIG. 3, for the part to be protected in the PBB-TE network, there are two paths: a primary segment and a backup segment. The primary segment and the spare segment share two endpoints. Segments and spare segments have different paths. They form a closed loop structure that forms a protective domain. The two endpoints shared by the primary segment and the spare segment are called Domain Border Bridges (DEBs). There may be no intermediate nodes between the DEBs on the primary and secondary segments, or one or more intermediate nodes. For example: DEB includes a series of LANs and intermediate nodes between them.

所谓主用段, 是指在网络工作正常时, 规划数据流量(TESI )所走的路 径所在的某一中间段, 该段受到保护域保护。 所谓备用段, 是在其保护域内 对主用段进行保护的一条段。 如图 3所示, 在没有故障发生的情况下, 数据 流量在 B C之间的主用段上进行转发; 当主用段上出现故障, 端点 B、 C将 流量切换到备用段上。  The so-called main segment refers to an intermediate segment where the path of the planned data traffic (TESI) is taken when the network is working properly. This segment is protected by the protection domain. The so-called spare segment is a segment that protects the primary segment within its protection domain. As shown in Figure 3, in the absence of a fault, the data traffic is forwarded on the primary segment between B C; when a failure occurs on the primary segment, endpoints B and C switch traffic to the alternate segment.

TESI是由一组以太网交换路径( ESP, Ethernet Switch Path )组成的 MAC 服务实例。 ESP是一条单向的以太网转发路径, 该路径由一个三元组 <B-DA, B-SA, 8-¥10>来确定。  TESI is an instance of a MAC service consisting of a set of Ethernet Switch Paths (ESPs). ESP is a one-way Ethernet forwarding path determined by a triple <B-DA, B-SA, 8-¥10>.

该模型中的两个 DEB (节点 B和节点 C )分别通过主用段和备用段向对 端的 DEB发送连通性检查消息, 进行链路检测。 连通性检查消息可以周期性 的发送,也可以非周期性的发送。例如: 利用操作管理维护(OAM, Operation Administration and Maintenance )机制, 并釆用电气和电子工程师协会 ( IEEE, Institute of Electrical and Electronics Engineers ) 802. lag标准执行链路检测。 本发明所指的连通性检查消息可以是但不仅限于连续性检测消息The two DEBs (Node B and Node C) in the model send connectivity check messages to the peer DEB through the primary and backup segments, respectively, for link detection. The connectivity check message may be sent periodically or non-periodically. For example: Link detection is performed using the OAM (Operation Administration and Maintenance) mechanism and using the IEEE, Institute of Electrical and Electronics Engineers 802. lag standard. The connectivity check message referred to in the present invention may be, but is not limited to, a continuity check message.

( CCM, Connectivity Check Message )才艮文。 (CCM, Connectivity Check Message).

步骤 202 , DEB通过对保护域中的主用段和备用段的状态检测, 在确定 流量传输所占用的主用段或备用段发生故障时, 执行对流量的保护切换。  Step 202: The DEB performs the protection switching of the traffic when it determines that the primary segment or the standby segment occupied by the traffic transmission is faulty by detecting the status of the primary segment and the standby segment in the protection domain.

在图 3所示的模型中, 当某个 DEB (节点 B或节点 C )在预定时间内没 有收到从主用段上发来的 CCM报文, 则认为主用段上发生故障, 如果当前 的流量传输占用的是主用段, 且检测到备用段可用, 则该 DEB执行流量的保 护切换操作, 将流量从主用段切换到备用段上进行转发, 具体的保护切换操 作为: DEB 将自身所存储的该流量所对应的转发表条目的出端口更改为该 DEB所连接备用段的端口, 从而使得流量按照新的出端口转发;  In the model shown in Figure 3, when a DEB (Node B or Node C) does not receive a CCM message sent from the primary segment within a predetermined time, it is considered that a failure occurs on the primary segment, if currently The traffic transmission occupies the primary segment, and when the spare segment is detected, the DEB performs the protection switching operation of the traffic, and the traffic is switched from the primary segment to the spare segment for forwarding. The specific protection switching operation is: DEB The egress port of the forwarding table entry corresponding to the traffic stored by itself is changed to the port of the spare segment to which the DEB is connected, so that the traffic is forwarded according to the new egress port;

或者,当某个 DEB在预定时间内没有收到从备用段上发来的 CCM报文, 则认为备用段上发生故障, 如果当前的流量传输占用的是备用段, 且检测到 主用段可用, 则该 DEB执行流量的保护切换操作, 将流量从备用段切换到主 用段上进行转发, 具体的保护切换操作为: DEB将自身所存储的该流量所对 应的转发表条目的出端口更改为该 DEB所连接主用段的端口,从而使得流量 按照新的出端口转发。  Or, when a DEB does not receive a CCM message sent from the spare segment within a predetermined time, it considers that a failure occurs on the spare segment, if the current traffic transmission occupies an alternate segment, and the primary segment is detected to be available. Then, the DEB performs a protection switching operation of the traffic, and switches the traffic from the standby segment to the primary segment for forwarding. The specific protection switching operation is: DEB changes the egress port of the forwarding table entry corresponding to the traffic stored by the DEB. The port of the primary segment connected to the DEB, so that traffic is forwarded according to the new outgoing port.

其中,上述需要更改的转发表条目即为受该保护域保护的一组 TESI所对 应的<8-0 , B-VID>; 上述的出端口即为主用段或备用段在 DEB上对应的 端口。  The forwarding table entry that needs to be changed is the <8-0, B-VID> corresponding to a group of TESIs protected by the protection domain; the outgoing port is the primary segment or the spare segment corresponding to the DEB. port.

图 3所示的模型能够对 PBB-TE网络中某一需要重点保护部分的中间段 进行保护, 且保护支持反转(Revertive )模式和非反转(Non-Revertive )模 式。通过本发明实现了对 PBB-TE网络上经过保护域中的一组 TESI进行保护。  The model shown in Figure 3 protects the middle segment of a PBB-TE network that requires a key protection component, and protects the Revertive mode and the Non-Revertive mode. The invention achieves protection of a set of TESIs in a protected domain on a PBB-TE network.

下面结合图 4所示的实施例对上述以太网隧道分段保护方法进行详细阐 述。 如图 4所示, 有一组 TESIs, 其经过共同一部分路径

Figure imgf000008_0001
The above Ethernet tunnel segmentation protection method will be described in detail below with reference to the embodiment shown in FIG. As shown in Figure 4, there is a set of TESIs that go through a common part of the path.
Figure imgf000008_0001

对主用段 B^C和 D^E^F分别加以保护,分别配置对应的备用段 B^G^C 和

Figure imgf000008_0002
共用两个端点 B、 C, 形成保 护域 I; 主用段 D^E^F和备用段 D^H^F共用两个端点 D、 F , 形成保护 域 II。 这两个保护域是相互独立的, 即保护域 I和保护域 II在自身域的内部 进行故障检测,并且其中一个域的切换动作不会对另一个域的行为产生影响。 图 4中的 B、 C、 D、 F节点都是 DEB。 保护域 I和保护域 II可以共用一个端 点, 或中间相隔多个节点。 The main segments B^C and D^E^F are respectively protected, and the corresponding spare segments B^G^C and respectively are configured.
Figure imgf000008_0002
The two endpoints B and C are shared to form a protection domain I; the primary segment D^E^F and the spare segment D^H^F share two endpoints D and F to form a protection domain II. The two protection domains are independent of each other, that is, the protection domain I and the protection domain II perform fault detection inside the domain itself, and the switching action of one domain does not affect the behavior of the other domain. The B, C, D, and F nodes in Figure 4 are all DEBs. Protection domain I and protection domain II can share one endpoint, or multiple nodes in between.

在保护域 I中, 主用段 B C由备用段

Figure imgf000009_0001
实现保护, B C上传 输主用段的 CCM报文, B^G C上传输备用段的 CCM报文;主用段 D E F 由备用段 D H F实现保护, D E F上传输主用段的 CCM报文, D H F 上传输备用段的 CCM报文。 当检测发现主用段 B C出现故障, 且 TESIs的 传输占用主用段 B^C, 同时检测到备用段 B^G^C可用时, 将 TESIs切换 到备用段
Figure imgf000009_0002
出 现故障, 且 TESIs的传输占用主用段 D^E^F , 同时检测到备用段 D^H^F 可用时, 将 TESIs切换到备用段 D H F上, 反之亦然。 In protection domain I, the primary segment BC is replaced by an alternate segment.
Figure imgf000009_0001
To achieve protection, the CCM message of the main segment is transmitted on the BC, and the CCM message of the spare segment is transmitted on the B^GC; the DEF of the main segment is protected by the DHF of the spare segment, and the CCM message of the main segment is transmitted on the DEF, on the DHF. Transfer the CCM message of the spare segment. When the detection finds that the main segment BC is faulty, and the TESIs transmission occupies the main segment B^C, and detects that the spare segment B^G^C is available, the TESIs are switched to the spare segment.
Figure imgf000009_0002
A fault occurs, and the TESIs transmission occupies the main segment D^E^F, and when the spare segment D^H^F is detected, the TESIs are switched to the spare segment DHF, and vice versa.

为实现上述的以太网隧道分段保护方法, 本发明还提供了一种以太网隧 道分段保护装置, 该装置应用于以太网的节点中(包括 DEB ) , 如图 5所示, 该装置包括: 消息发送模块 10和保护切换模块 20。 其中, 消息发送模块 10, 性检查消息, 进行故障检测。 保护切换模块 20, 用于在流量传输所占用的主 用段或备用段发生故障时, 执行对流量的保护切换。  To implement the foregoing Ethernet tunnel segmentation protection method, the present invention also provides an Ethernet tunnel segmentation protection device, which is applied to an Ethernet node (including DEB), as shown in FIG. 5, the device includes : Message sending module 10 and protection switching module 20. The message sending module 10 checks the message and performs fault detection. The protection switching module 20 is configured to perform protection switching on the traffic when the primary segment or the standby segment occupied by the traffic transmission fails.

较佳的, 该装置在上述模块的基础上进一步包括: 配置模块 30, 用于为 主用段配置对应的备用段, 主用段和备用段组成封闭的环状结构, 形成保护 域, 且主用段和备用段共用的两个端点即为保护域内的 DEB。  Preferably, the device further includes: a configuration module 30, configured to configure a corresponding spare segment for the main segment, the main segment and the spare segment form a closed ring structure to form a protection domain, and the main The two endpoints shared by the segment and the spare segment are the DEBs in the protection domain.

保护切换模块 20进一步用于, 在预定时间内 DEB没有收到对端的 DEB 通过主用段发送的连通性检查消息时, 如果流量传输占用主用段, 同时备用 段可用, 则将流量保护切换到备用段上; 在预定时间内 DEB没有收到对端的 DEB通过备用段发送的连通性检查消息时, 如果流量传输占用备用段, 同时 主用段可用, 则将流量保护切换到主用段上。 切换操作具体包括: 在需要将 受保护域保护的流量从主用段保护切换到备用段时,将 DEB自身所存储的该 流量所对应的转发表条目的出端口更改为 DEB所连接备用段的端口;在需要 将受保护域保护的流量从备用段保护切换到主用段时,将 DEB自身所存储的 该流量所对应的转发表条目的出端口更改为 DEB所连接主用段的端口。  The protection switching module 20 is further configured to: when the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time, if the traffic transmission occupies the primary segment and the spare segment is available, the traffic protection is switched to On the spare segment; when the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within the predetermined time, if the traffic transmission occupies the spare segment and the active segment is available, the traffic protection is switched to the primary segment. The switching operation specifically includes: when the traffic protected by the protected domain needs to be switched from the primary segment protection to the standby segment, the outbound port of the forwarding table entry corresponding to the traffic stored by the DEB itself is changed to the standby segment connected to the DEB. Port: When the traffic protected by the protected domain needs to be switched from the backup segment protection to the primary segment, the egress port entry corresponding to the traffic stored in the DEB itself is changed to the port of the primary segment connected to the DEB.

以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。 The above description is only a preferred embodiment of the present invention and is not intended to limit the protection of the present invention. Scope.

工业实用性 Industrial applicability

与现有技术相比, 本发明有效实现了 PBB-TE隧道的分段保护, 只对需 要保护的部分段进行保护, 解决了现有技术局部发生故障需整条以太网隧道 切换的弊端, 从而提高了网络的利用率和可靠性, 在组网实施保护上具有较 好的灵活性, 且满足了实际组网的需求。  Compared with the prior art, the present invention effectively implements the segmentation protection of the PBB-TE tunnel, and only protects the segment that needs to be protected, thereby solving the disadvantages of the entire technology in the prior art that the entire Ethernet tunnel is switched. It improves the utilization and reliability of the network, provides better flexibility in network protection, and meets the requirements of actual networking.

Claims

权 利 要 求 书 Claim 1、 一种以太网隧道分段保护方法, 其包括:  1. An Ethernet tunnel segmentation protection method, comprising: 域边界桥 DEB 分别通过其所在保护域内的主用段和备用段向对端的 DEB发送连通性检查消息 , 进行状态检测;  The domain border bridge DEB sends a connectivity check message to the peer DEB through the primary and backup segments in the protection domain, and performs state detection. 在流量传输所占用的主用段或备用段发生故障时, 执行对所述流量的保 护切换。  When the primary segment or the standby segment occupied by the traffic transmission fails, the protection switching of the traffic is performed. 2、根据权利要求 1所述以太网隧道分段保护方法, 在发送连通性检查消 息的步骤之前, 所述方法还包括: 为所述主用段配置其对应的备用段, 所述 主用段和备用段组成封闭的环状结构, 形成所述保护域, 且所述主用段和备 用段共用的两个端点即为所述保护域内的 DEB。  The Ethernet tunnel segmentation protection method according to claim 1, before the step of transmitting the connectivity check message, the method further includes: configuring the corresponding spare segment for the primary segment, the primary segment And the spare segment constitutes a closed ring structure, forming the protection domain, and the two endpoints shared by the primary segment and the spare segment are DEBs in the protection domain. 3、 根据权利要求 1或 2所述以太网隧道分段保护方法, 其中: 向对端的 DEB发送连通性检查消息的步骤包括: 向对端的 DEB周期性 地发送连通性检查消息;  The Ethernet tunnel segmentation protection method according to claim 1 or 2, wherein: the step of transmitting a connectivity check message to the peer DEB comprises: periodically transmitting a connectivity check message to the peer DEB; 进行状态检测的步骤包括:  The steps to perform status detection include: 如果所述 DEB在预定时间内没有收到对端的 DEB通过主用段发送的连 通性检查消息, 则确定所述主用段发生故障; 以及  Determining that the primary segment has failed if the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time; 如果所述 DEB在预定时间内没有收到对端的 DEB通过备用段发送的连 通性检查消息, 则确定所述备用段发生故障。  If the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, it is determined that the spare segment has failed. 4、 根据权利要求 1或 2或 3所述以太网隧道分段保护方法, 其中, 执行 对所述流量的保护切换的步骤包括:  The Ethernet tunnel segmentation protection method according to claim 1 or 2 or 3, wherein the step of performing protection switching on the traffic includes: 如果所述主用段发生故障, 且流量传输占用所述主用段, 同时所述备用 段可用, 则将所述流量保护切换到所述备用段上;  If the primary segment fails, and the traffic transmission occupies the primary segment, and the spare segment is available, the traffic protection is switched to the spare segment; 如果所述备用段发送故障, 且流量传输占用所述备用段, 同时所述主用 段可用, 则将所述流量保护切换到所述主用段上。  If the spare segment sends a failure and the traffic transmission occupies the spare segment while the primary segment is available, the traffic protection is switched to the primary segment. 5、 根据权利要求 4所述以太网隧道分段保护方法, 其中:  5. The Ethernet tunnel segmentation protection method according to claim 4, wherein: 将所述流量保护切换到所述备用段上的步骤包括:所述 DEB将自身所存 储的所述流量所对应的转发表条目的出端口更改为所述 DEB 所连接备用段 的端口; The step of switching the traffic protection to the spare segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to an alternate segment connected to the DEB Port 将所述流量保护切换到所述主用段上的步骤包括:所述 DEB将自身所存 储的所述流量所对应的转发表条目的出端口更改为所述 DEB 所连接主用段 的端口。  The step of switching the traffic protection to the primary segment includes: the DEB changing an egress port of a forwarding table entry corresponding to the traffic stored by itself to a port of the primary segment to which the DEB is connected. 6、 根据权利要求 1或 2所述以太网隧道分段保护方法, 其中, 所述连通 性检查消息为连续性检测消息 CCM报文。  The Ethernet tunnel segmentation protection method according to claim 1 or 2, wherein the connectivity check message is a continuity detection message CCM message. 7、 一种以太网隧道分段保护装置, 其包括:  7. An Ethernet tunnel segmentation protection device, comprising: 消息发送模块,其设置成分别通过 DEB所在保护域内的主用段和备用段 向对端的 DEB发送连通性检查消息 , 进行状态检测;  a message sending module, configured to send a connectivity check message to the peer DEB through the primary segment and the spare segment in the protection domain where the DEB is located, respectively, to perform state detection; 保护切换模块, 其设置成在流量传输所占用的主用段或备用段发生故障 时, 执行对所述流量的保护切换。  The protection switching module is configured to perform protection switching of the traffic when the primary segment or the spare segment occupied by the traffic transmission fails. 8、根据权利要求 7所述以太网隧道分段保护装置,其还包括: 配置模块, 所述配置模块设置成为所述主用段配置对应的备用段, 其中, 所述主用段和 备用段组成封闭的环状结构, 形成所述保护域, 且所述主用段和备用段共用 的两个端点即为所述保护域内的 DEB。  The Ethernet tunnel segment protection device of claim 7, further comprising: a configuration module, wherein the configuration module is configured as a spare segment corresponding to the configuration of the primary segment, wherein the primary segment and the spare segment The closed loop structure is formed to form the protection domain, and the two endpoints shared by the primary segment and the spare segment are DEBs in the protection domain. 9、 根据权利要求 7或 8所述以太网隧道分段保护装置, 其中,  The Ethernet tunnel segment protection device according to claim 7 or 8, wherein 所述消息发送模块是设置成通过如下方式进行状态检测: 如果所述 DEB 在预定时间内没有收到对端的 DEB通过主用段发送的连通性检查消息,则确 定所述主用段发生故障; 如果所述 DEB在预定时间内没有收到对端的 DEB 通过备用段发送的连通性检查消息, 则确定所述备用段发生故障;  The message sending module is configured to perform state detection by: if the DEB does not receive the connectivity check message sent by the peer DEB through the primary segment within a predetermined time, determining that the primary segment fails; If the DEB does not receive the connectivity check message sent by the peer DEB through the spare segment within a predetermined time, determining that the spare segment fails; 所述保护切换模块是设置成通过如下方式执行对所述流量的保护切换: 如果所述主用段发生故障, 且流量传输占用所述主用段, 同时所述备用段可 用, 则将所述流量保护切换到所述备用段上; 如果所述备用段发生故障, 且 流量传输占用所述备用段, 同时所述主用段可用, 则将所述流量保护切换到 所述主用段上。  The protection switching module is configured to perform protection switching on the traffic by: if the primary segment fails, and traffic transmission occupies the primary segment, and the spare segment is available, The traffic protection is switched to the spare segment; if the spare segment fails, and the traffic transmission occupies the spare segment, and the primary segment is available, the traffic protection is switched to the primary segment. 10、 根据权利要求 9所述以太网隧道分段保护装置, 其中,  10. The Ethernet tunnel segment protection device according to claim 9, wherein 所述保护切换模块是设置成通过如下方式将所述流量保护切换到所述备 用段上:将所述 DEB自身所存储的所述流量所对应的转发表条目的出端口更 改为所述 DEB所连接备用段的端口; 以及通过如下方式将所述流量保护切换 到所述主用段上:将所述 DEB自身所存储的所述流量所对应的转发表条目的 出端口更改为所述 DEB所连接主用段的端口。 The protection switching module is configured to switch the traffic protection to the spare segment by: outputting an egress port of a forwarding table entry corresponding to the traffic stored by the DEB itself Changing to the port of the spare segment to which the DEB is connected; and switching the traffic protection to the primary segment by: outputting an egress port of the forwarding table entry corresponding to the traffic stored by the DEB itself Change to the port of the primary segment to which the DEB is connected. 11、 根据权利要求 7或 8所述以太网隧道分段保护装置, 其中, 所述连 通性检查消息为 CCM报文。  The Ethernet tunnel segment protection device according to claim 7 or 8, wherein the connectivity check message is a CCM message.
PCT/CN2009/074555 2009-07-30 2009-10-22 Method and apparatus for ethernet tunnel segmentation protection Ceased WO2011011934A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009100899774A CN101989917A (en) 2009-07-30 2009-07-30 Ethernet tunnel subsection protection method and device
CN200910089977.4 2009-07-30

Publications (1)

Publication Number Publication Date
WO2011011934A1 true WO2011011934A1 (en) 2011-02-03

Family

ID=43528702

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/074555 Ceased WO2011011934A1 (en) 2009-07-30 2009-10-22 Method and apparatus for ethernet tunnel segmentation protection

Country Status (2)

Country Link
CN (1) CN101989917A (en)
WO (1) WO2011011934A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9033555B2 (en) 2012-04-27 2015-05-19 Phoseon Technology, Inc. Wrap-around window for lighting module

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209035B (en) * 2011-05-25 2014-10-15 杭州华三通信技术有限公司 Traffic forwarding method and devices
US9451500B2 (en) 2011-11-16 2016-09-20 Telefonaktiebolaget Lm Ericsson (Publ) Conditional routing technique
CN104067577B (en) * 2011-11-16 2017-03-15 瑞典爱立信有限公司 Techniques used for network routing
CN105591841A (en) * 2015-12-31 2016-05-18 盛科网络(苏州)有限公司 Connectivity detection method of VXLAN tunnel

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030147344A1 (en) * 2002-02-07 2003-08-07 Stewart Mark A. W. Scaleable line-based protection for connection oriented communications protocols
CN101436976A (en) * 2007-11-13 2009-05-20 华为技术有限公司 Method, system and equipment for forwarding data frame

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030147344A1 (en) * 2002-02-07 2003-08-07 Stewart Mark A. W. Scaleable line-based protection for connection oriented communications protocols
CN101436976A (en) * 2007-11-13 2009-05-20 华为技术有限公司 Method, system and equipment for forwarding data frame

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9033555B2 (en) 2012-04-27 2015-05-19 Phoseon Technology, Inc. Wrap-around window for lighting module

Also Published As

Publication number Publication date
CN101989917A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
US9509591B2 (en) Technique for dual homing interconnection between communication networks
CN102396193B (en) Method for client data transmission over packet switching provider network
CN101710877B (en) Method, device and system for processing traffic flow based on pseudowire
CN101364926B (en) Method and apparatus for network protection
CN101931520B (en) Switching method and system
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN101227399B (en) Message transmission method, system and forwarding node
CN101860482B (en) Two-layer virtual private network fast re-route method and device
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2011144088A2 (en) Method for service protection and access device
CN108075968A (en) A kind of network system and pseudo-line service processing method
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
US9716639B2 (en) Protection switching method and system
WO2012146097A1 (en) Vpls network and ethernet ring switching method and device
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
CN100531136C (en) Method and system for transmitting message in virtual special network link fault
CN104702498B (en) A kind of method and device reducing equipment room light connects quantity by harmonious protection
EP2448190A1 (en) Local protection method of ethernet tunnel and sharing node of work sections of protection domain
EP1958364A2 (en) Vpls remote failure indication
WO2011017892A1 (en) Method and apparatus for implementing load sharing for communication traffic
CN103746891A (en) Ring network access service protection method, device and system thereof
CN102739533A (en) Method and provider edges (PEs) for rapidly switching layer 3 virtual private network (L3 VPN)
WO2011088713A1 (en) Method for protection group nesting, and method and system for ethernet protection switching
CN102064998B (en) Ethernet path protection switching method and system
CN102195794B (en) A kind of fast switch over method of Ethernet trail protection and device

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

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

Country of ref document: EP

Kind code of ref document: A1