WO2009076885A1 - 以太网故障检测及收敛的方法和节点设备 - Google Patents

以太网故障检测及收敛的方法和节点设备 Download PDF

Info

Publication number
WO2009076885A1
WO2009076885A1 PCT/CN2008/073397 CN2008073397W WO2009076885A1 WO 2009076885 A1 WO2009076885 A1 WO 2009076885A1 CN 2008073397 W CN2008073397 W CN 2008073397W WO 2009076885 A1 WO2009076885 A1 WO 2009076885A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
ethernet
link
node device
protocol
Prior art date
Application number
PCT/CN2008/073397
Other languages
English (en)
French (fr)
Inventor
Xindong Teng
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to EP08861952A priority Critical patent/EP2204947A4/en
Publication of WO2009076885A1 publication Critical patent/WO2009076885A1/zh
Priority to US12/791,523 priority patent/US20100238800A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • 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/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and node device for detecting and converging Ethernet faults. Background technique
  • STP Shorting Tree Protocol
  • RSTP Rapid Spanning Tree Protocol
  • the message exchange information is pruneed by the STA (Spanning Tree Algorithm) on the root node as the root node, blocking the redundant link, thereby eliminating the network. Possible loops.
  • STA Session Tree Algorithm
  • the path from the root node to the other nodes forms a tree structure.
  • the network recalculates through the STP protocol, activates the redundant backup link to restore the connectivity of the network, and implements network self-healing (ie, protection switching). .
  • the re-convergence of the STP protocol takes a long time, usually at the minute level, and it is difficult to meet the needs of practical applications, thereby generating the RSTP protocol.
  • the basic principle of the RSTP protocol is the same as that of the STP protocol. However, by optimizing and improving the STP protocol (mainly changing the port state transition mode, the convergence speed can be accelerated), and the network convergence time reaches the second level.
  • the MSTP (Multiple Spanning Tree Protocol) protocol is similar to the STP/RSTP protocol. It mainly supports VLAN (Virtual Local Area Network).
  • EAPS Error Network Automatic Protection Switching
  • EAPS can realize the self-healing of the Ethernet ring network.
  • one node is configured as a master node in the Ethernet ring network, and the other nodes are transit nodes, and the two nodes connected to the ring network are configured as a primary port and a secondary port respectively.
  • the secondary port is blocked to avoid loops, and data packets are transmitted to other nodes through the primary port.
  • the link fails the faulty point is notified to the primary node through the EAPS protocol packet, and the primary node opens the secondary port. Data packets are transmitted to other nodes through the secondary port, ensuring the reachability of each node of the ring network.
  • the convergence speed of the EAPS protocol is faster than that of the RSTP protocol. However, EAPS only supports ring networks and cannot support networking in any topology. 3)
  • the RRPP (Rapid Ring Protection Protocol) protocol is an extension of the EAPS protocol. Its convergence time is shorter than the EAPS protocol and supports a richer network topology.
  • the RRPP protocol supports one aggregation ring with multiple access rings. As shown in Figure 3, the application of the RRPP protocol in a primary ring with two dual-homing rings: Configure a primary ring and two sub-rings in the RRPP domain, and configure the primary node and the transit node in the primary ring.
  • the nodes intersecting the subrings are configured as the edge node and the assistant edge node respectively; the primary node and the transit node of the subring are respectively configured in the subring; the two ports connected to the ring of the primary ring and the primary ring are configured as the primary port and Secondary port.
  • the primary port of the primary ring and the sub-ring are blocked.
  • the primary port of the primary node sends a connectivity check packet to its secondary port to detect connectivity.
  • the node at the fault informs the master node through the RRPP protocol packet.
  • the master node opens the blocked secondary port and sends a message to inform other nodes to refresh the related forwarding entries, thus implementing protection switching.
  • the above-mentioned STP (RSTP) / EAPS/RRPP protocol can be used to prevent loops in the Layer 2 network.
  • the protocol is re-converged by the HEL lo message mechanism of the protocol or the port-aware UP/DOWN event. The convergence time is slower.
  • Ethernet 0AM includes protocols such as IEEE 802. 3ah, 802. lag, and ITU-T Y. 1731.
  • 0AM can not only detect faults on point-to-point links (direct link between two-node devices), but also support end-to-end (cross-node between two-node devices) for fault detection.
  • the point-to-point 0 ⁇ can not cross other nodes between the two nodes during operation, mainly implementing the operation, maintenance and management of the Ethernet physical link; the end-to-end 0AM belongs to the service level Ethernet 0AM function, and the link running 0AM is two. Multiple nodes can be spanned between nodes.
  • the CE (Cl EDGE Edge) device is directly connected to the PE (Provider Edge) device.
  • the link fault detection between the CE and the PE is performed inside the PE device.
  • Link connectivity detection is performed.
  • end-to-end connectivity detection can be performed between the CE and the CE.
  • Protocols such as STP (RSTP)/EAPS/RRPP are slow in fault detection and network convergence.
  • the corresponding network convergence mechanism is not established in the 0AM protocol. After detecting a link fault, network convergence cannot be completed, which affects the service. Running, reducing network reliability. Summary of the invention
  • the embodiment of the present invention provides a method and node device for detecting and converging an Ethernet fault.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for detecting and converging an Ethernet fault, where the method includes: Fault detection of links based on operation, maintenance, and management protocols;
  • the network convergence is performed according to the type of the Ethernet, using a corresponding Layer 2 network protection protocol.
  • an embodiment of the present invention further provides a node device, where the node device includes:
  • a detecting module (301), configured to perform fault detection on the link according to an operation, maintenance, and management protocol;
  • the convergence module (302) is configured to perform network convergence by using a corresponding Layer 2 network protection protocol according to the type of the Ethernet after the detection module (301) detects the link failure.
  • the link fault detection is performed by using the Ethernet 0AM.
  • the network convergence is performed by using the corresponding Layer 2 network protection protocol, which improves the fault detection speed of the network.
  • FIG. 2 is a schematic diagram of application of the EAPS protocol in an Ethernet ring network in the prior art
  • FIG. 3 is a schematic diagram of application of the RRPP protocol in an Ethernet ring network in the prior art
  • FIG. 4 is a schematic diagram of fault detection of Ethernet 0AM in the prior art
  • FIG. 5 is a flowchart of a method for detecting and converging an Ethernet fault according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic diagram of application of a method for detecting and converging faults in a general-purpose Ethernet according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of a method for detecting and converging Ethernet faults according to Embodiment 2 of the present invention
  • FIG. 8 is a schematic diagram of application of a method for detecting and converging faults in an Ethernet ring network according to Embodiment 2 of the present invention
  • FIG. 9 is a schematic diagram of a method for detecting and converging faults when a transmission device exists between two nodes according to Embodiment 2 of the present invention.
  • FIG. 10 is a structural diagram of a node device according to Embodiment 3 of the present invention.
  • FIG. 11 is another structural diagram of a node device according to Embodiment 3 of the present invention.
  • FIG. 12 is still another structural diagram of a node device according to Embodiment 3 of the present invention. detailed description
  • the fault detection is performed by running 0AM in the Ethernet. After detecting the link fault, the network convergence is performed by using the corresponding Layer 2 network protection protocol, thereby improving the fault detection speed.
  • the embodiment of the invention provides a method for detecting and converging Ethernet faults, including:
  • the network convergence is performed according to the type of the Ethernet and the corresponding Layer 2 network protection protocol.
  • an embodiment of the present invention provides a method for detecting and converging an Ethernet fault, which specifically includes:
  • the node in the Ethernet periodically sends a CC (Continuity Check) packet of 0AM to the neighboring node to detect the fault of the link at both ends of the node.
  • CC Continuousity Check
  • each node sends a 0AM CC message to its neighbors to check whether the link between the nodes is normal.
  • the node If the node does not receive the CC message sent by the neighboring node within a preset time, it determines that the link between the node and the adjacent node fails.
  • node A will not receive the CC message sent by the node B to the node B within the preset time. Similarly, the node B will not receive the CC message. To the CC message sent by node A, node A and node B will determine the link failure between AB.
  • the node uses the STP protocol to perform network convergence.
  • the node uses the STP protocol to perform network convergence.
  • the specific process is as follows:
  • the node sends a link failure message to other nodes in the Ethernet according to the STP protocol;
  • the other nodes After receiving the link fault message, the other nodes clear their forwarding table and recalculate the network forwarding path according to the STP protocol to complete network convergence.
  • the 0AM can also determine whether the link quality is deteriorated according to the performance parameters such as the error frame and the number of periodic error frames, that is, the 0AM can also detect the link single pass or the quality degradation situation. In this case, 0AM can also recalculate the good quality link using the STP protocol.
  • the network convergence can be performed by using the RSTP/MSTP protocol.
  • the specific convergence process is similar to that described in FIG. 102, and details are not described herein again.
  • the link fault detection is performed through the 0AM in the general-purpose Ethernet network, and the network fault detection speed is improved.
  • the STP/RSTP/MSTP protocol is used to perform network convergence in time, thereby improving network reliability. .
  • an Ethernet ring network (a topology with a ring-shaped Ethernet) is used as an example.
  • the RRPP protocol can be used for network convergence.
  • an embodiment of the present invention provides a method for detecting and converging an Ethernet fault, which specifically includes:
  • a node in the Ethernet ring network periodically sends a 0AM CC message to the neighboring node.
  • the node If the node does not receive the CC message sent by the neighboring node within a preset time, it determines that the link between the node and the adjacent node is faulty.
  • the node adopts the RRPP protocol to perform network convergence.
  • the node sets its own fault port to the DOWN state according to the RRPP protocol, and sends a link fault message to the master node in the Ethernet ring network through another port.
  • the master node After receiving the link fault message, the master node sets its own secondary port to the forwarding state, and sends a link notification message to other nodes in the Ethernet ring network except the primary node through its primary port and secondary port according to the RRPP protocol. ;
  • the transit node sends a link failure packet to the primary node through its own port connected to the Ethernet ring network according to the RRPP protocol.
  • the 0AM protocol may be run between the soil port and the secondary port of the soil node. , Perform link connectivity detection.
  • the 0AM protocol can be run between the primary port and the secondary port of the primary node to detect link connectivity.
  • the EAPS protocol can be used for network convergence.
  • the specific convergence process is similar to that described in 202, and is not described here.
  • a transmission device may exist between two nodes in the Ethernet.
  • SONET Synchronous Optical Network
  • SDH Synchronous Digital Hierarchy Protocol
  • Node via ADM Additional Datarop
  • Link fault detection can also be performed through the 0AM protocol. After a link fault is detected, the corresponding protocol is used for protection switching to perform network convergence.
  • the method of fault detection and convergence is the same as that described in Embodiment 1.
  • the method for fault detection and convergence of the Ethernet ring network is the same as that described in Embodiment 2, and details are not described herein again.
  • the link fault detection is performed through the 0AM in the Ethernet ring network, which improves the speed of network fault detection.
  • the RRPP/EAPS protocol is used to perform network convergence in time to improve the reliability of the network.
  • an embodiment of the present invention provides a node device, where the node device includes:
  • the detecting module 301 is configured to perform fault detection on the link according to the operation, maintenance, and management protocol;
  • the convergence module 302 is configured to perform network convergence by using a corresponding Layer 2 network protection protocol according to the type of the Ethernet after the detection module 301 detects the link fault.
  • the foregoing detection module 301 may specifically include:
  • the sending unit 3011 is configured to periodically send, to the neighboring node device of the node device, a connectivity detection message of the operation, maintenance, and management protocol;
  • the determining unit 3012 is configured to determine, when the node device does not receive the connectivity detection packet sent by the neighboring node device of the node device within a preset time, determine a link failure between the node device and the neighboring node device.
  • the convergence module 302 may specifically include:
  • the sending unit 3021 is configured to: after the detecting module 301 detects the link failure, send a link fault message to other node devices in the Ethernet according to the spanning tree protocol;
  • the receiving unit 3022 is configured to receive a link failure message sent by another node device.
  • the clearing unit 3023 is configured to: after the receiving unit 3022 receives the link failure message, clear the forwarding table of the node device; and the calculating unit 3024 is configured to recalculate the network forwarding path according to the spanning tree protocol.
  • the convergence module 302 may specifically include: a setting unit 3025, configured to: after the detection module 301 detects a link failure, the node device according to the fast ring network protection protocol. The faulty port is placed in a blocked state;
  • the sending unit 3026 is configured to send, by using another port of the node device, a link failure message to the master node device in the Ethernet ring network;
  • the receiving unit 3027 is configured to receive a link notification message sent by the master node device.
  • the clearing unit 3028 is configured to: after the receiving unit 3027 receives the link notification message sent by the master node device, clear the forwarding table of the node device.
  • the detection module 301 performs fault detection on the network link according to the 0AM protocol, and improves the speed of network fault detection.
  • the convergence module 302 uses the corresponding protocol to perform network convergence according to the network type.
  • the STP protocol is used for network convergence.
  • the RRPP protocol can be used for network convergence to improve network reliability.
  • the embodiments of the present invention may be implemented by software, and the corresponding software may be stored in a readable storage medium, such as a hard disk, a floppy disk or an optical disk of a computer.
  • a readable storage medium such as a hard disk, a floppy disk or an optical disk of a computer.

Description

以太网故障检测及收敛的方法和节点设备 技术领域
本发明涉及通信领域, 特别涉及一种以太网故障检测及收敛的方法和节点设备。 背景技术
现有技术中, 在以太网中主要通过以下三种协议来进行链路故障检测以及网络收敛:
1 ) STP ( Spanning Tree Protocol , 生成树协议) 协议禾口 RSTP (Rapid Spanning Tree Protocol , 快速生成树协议) 协议主要用于解决以太网中的广播环路问题。 参见图 1, STP 的原理是首先在网络中选举出根节点(根桥),并且通过网络节点(桥或交换机)间互发 BPDU 书
(Bridge Protocol Data Unit, 桥协议数据单元) 报文交换信息, 在各节点上以根节点为 中心通过 STA ( Spanning Tree Algorithm, 生成树算法) 进行剪枝, 阻断冗余链路, 从而 消除网络中可能的环路。 STP收敛之后, 从根节点到其它节点的路径形成树状结构。 当网络 中的活动路径出现故障之后 (如物理链路不通), 网络会通过 STP协议进行重新计算, 激活 冗余备份链路恢复网络的连通性, 从而实现网络的故障自愈 (即保护切换)。
STP协议重新收敛的时间较长, 一般是在分钟级别, 难以满足实际应用的需要, 由此产 生了 RSTP协议。 RSTP协议的基本原理与 STP协议相同, 但是通过对 STP协议进行优化和改 进 (主要是改变了端口状态的转换方式, 可以加快收敛速度), 使网络收敛的时间达到了秒 级。
MSTP (Multiple Spanning Tree Protocol , 多生成树协议) 协议与 STP/RSTP协议的 基本原理是类似的, 它主要是实现了对 VLAN (Virtual Local Area Network, 虚拟局域网) 的支持。
2 ) EAPS ( Ethernet Automatic Protection Switching,以太网自动保护切换)由 Extreme Networks提出, EAPS可以实现以太环网的故障自愈。 参见图 2, 在以太环网中配置一个节 点为主节点, 其它节点为传输节点, 主节点与环网相连的两个节点分别配置为主端口和副 端口。 正常情况下, 副端口被阻塞以避免环路, 数据报文通过主端口传送到其它节点; 当 链路发生故障时, 故障点通过 EAPS协议报文通知主节点, 主节点打开副端口, 此时数据报 文通过副端口传送到其它节点, 保证了环网各节点的可达性。 EAPS协议的收敛速度比 RSTP 协议快, 但 EAPS只支持环网, 不能支持任意拓扑的组网。 3 ) RRPP ( Rapid Ring Protection Protocol , 快速环保护协议) 协议是对 EAPS协议 的扩展, 它的收敛时间比 EAPS协议更短, 并且支持更为丰富的网络拓扑。 RRPP协议除了支 持单环结构外, 还支持一个汇聚环带多个接入环。 参见图 3, 为 RRPP协议在一个主环带两 个双归子环中的应用场景: 在 RRPP域中分别配置一个主环和两个子环, 主环中配置主节点 和传输节点, 其中与两个子环相交的节点分别配置为边缘节点和辅助边缘节点; 子环中分 别配置子环的主节点和传输节点; 主环和子环的主节点与环相接的两个端口分别配置为主 端口和副端口。 正常情况下, 主环和子环的副端口都被阻塞, 以避免网络中形成环路, 主 节点的主端口向其副端口发送连通性检测报文, 以检测连通性。 当网络中出现故障时, 故 障处的节点通过 RRPP协议报文通知主节点, 主节点打开阻塞的副端口, 并且发消息通知其 它节点刷新相关的转发表项, 从而实现保护倒换。
上述 STP ( RSTP) /EAPS/RRPP 等协议都可以用于防止二层网络出现环路, 主要通过协 议的 Hel lo消息机制或者直接感知端口 UP/DOWN事件来触发协议的重新收敛, 存在的问题 是收敛时间较慢。
现有技术中,还有可以通过以太网 OAMC Operations, Administration and Maintenance, 操作维护和管理) 进行链路故障检测, 以太网 0AM包括 IEEE 802. 3ah、 802. lag和 ITU-T Y. 1731 等协议, 0AM不仅可以实现点到点链路 (两节点设备间为直连链路) 的故障检测, 还可以支持端到端 (两节点设备间跨多个节点) 的故障检测。 点到点的 0ΑΜ在运行时两节 点之间不能跨其它节点, 主要实现以太网物理链路的操作、 维护和管理; 端到端的 0AM属 于业务级的以太网 0AM功能, 运行 0AM的链路两节点之间可以跨越多个节点。
参见图 4, CE ( Cl ient Edge, 用户边缘) 设备与 PE (Provider Edge, 提供者边缘) 设备之间为直连链路, 可以在 CE与 PE之间进行链路故障检测, 在 PE设备内部 (运营商网 络) 进行链路连通性检测, 此外在 CE与 CE之间也可以进行端到端的连通性检测。
在实现本发明的过程中, 发明人发现上述现有技术至少存在以下缺点:
STP ( RSTP) /EAPS/RRPP等协议在进行故障检测及网络收敛时速度慢; 而 0AM协议中没 有制定相应的网络收敛机制, 在检测到链路故障后, 不能完成网络收敛, 影响了业务的运 行, 降低了网络可靠性。 发明内容
为了提高以太网的链路故障检测及收敛的速度, 本发明实施例提供了一种以太网故障 检测及收敛的方法和节点设备。 所述技术方案如下:
一方面, 本发明实施例提供了一种以太网故障检测及收敛的方法, 所述方法包括: 根据操作、 维护和管理协议对链路进行故障检测;
当检测到链路故障后, 根据所述以太网的类型, 采用相应的二层网络保护协议, 进行 网络收敛。
另一方面, 本发明实施例还提供了一种节点设备, 所述节点设备包括:
检测模块 (301 ), 用于根据操作、 维护和管理协议对链路进行故障检测;
收敛模块(302), 用于当所述检测模块(301 )检测到链路故障后, 根据以太网的类型, 采用相应的二层网络保护协议, 进行网络收敛。
本发明实施例提供的技术方案的有益效果是:
本发明实施例通过以太网 0AM进行链路故障检测, 在检测到链路故障后, 采用相应的 二层网络保护协议进行网络收敛, 提高了网络的故障检测速度。 附图说明
图 1是现有技术中 STP/RSTP协议的应用示意图;
图 2是现有技术中 EAPS协议在以太环网中的应用示意图;
图 3是现有技术中 RRPP协议在以太环网中的应用示意图;
图 4是现有技术中以太网 0AM的故障检测示意图;
图 5是本发明实施例 1提供的以太网故障检测及收敛的方法流程图;
图 6是本发明实施例 1提供的通用以太网中故障检测及收敛的方法的应用示意图; 图 7是本发明实施例 2提供的以太网故障检测及收敛的方法流程图;
图 8是本发明实施例 2提供的以太环网中故障检测及收敛的方法的应用示意图; 图 9是本发明实施例 2提供的两节点之间存在传输设备时故障检测及收敛的方法的应 用示意图;
图 10是本发明实施例 3提供的节点设备的结构图;
图 11是本发明实施例 3提供的节点设备的另一种结构图;
图 12是本发明实施例 3提供的节点设备的又一种结构图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
本发明实施例通过在以太网中运行 0AM进行故障检测, 在检测到链路故障后, 采用相 应的二层网络保护协议进行网络收敛, 提高了故障检测速度。 本发明实施例提供了一种以太网故障检测及收敛的方法, 包括:
根据操作、 维护和管理协议对链路进行故障检测;
当检测到链路故障后, 根据以太网的类型, 采用相应的二层网络保护协议, 进行网络 收敛。
实施例 1
本实施例以通用以太网 (任意拓扑结构的以太网) 为例进行说明, 首先在以太网中运 行 0AM检测节点之间的链路是否故障, 如果是, 则采用 STP协议进行保护倒换。 参见图 5, 本发明实施例提供了一种以太网故障检测及收敛的方法, 具体包括:
101: 以太网中的节点周期性地向相邻节点发送 0AM的 CC ( Continuity Check, 连通性 检测) 报文, 对节点两端的链路进行故障检测。
参见图 6, 为一个通用以太网, 在该网络中每个节点都向自己的相邻节点发送 0AM 的 CC报文, 检测节点之间的链路是否正常。
102: 如果节点在预设的时间内未收到相邻节点发送的 CC报文, 则判定节点与相邻节 点之间的链路发生故障。
参见图 6, 如果节点 A和节点 B之间的链路发生故障, 则节点 A在预设的时间内会收不 到节点 B向其发送的 CC报文, 同理, 节点 B也会收不到节点 A向其发送的 CC报文, 这时 节点 A和节点 B会判定 AB之间的链路故障。
103: 节点采用 STP协议, 进行网络收敛。
在本实施例中, 在检测到链路故障后, 节点采用 STP协议进行网络收敛, 具体过程如 下:
节点根据 STP协议向以太网中的其它节点发送链路故障消息;
其它节点收到链路故障消息后, 清除自己的转发表, 并根据 STP协议重新计算网络转 发路径, 完成网络收敛。
进一步地, 在本实施例中, 由于 0AM还可以根据错误帧、 周期错误帧数等性能参数来 判断链路质量是否变差, 即 0AM还可以检测到链路单通或质量劣化的情形, 在这种情形下, 0AM也可以采用 STP协议重新计算质量好的链路。
上述实施例中, 在通过 0AM协议检测到链路故障后, 还可以采用 RSTP/MSTP协议进行 网络收敛, 具体收敛过程与 102中所述类似, 这里不再赘述。
本实施例在通用以太网中通过 0AM进行链路故障检测, 提高了网络故障检测的速度; 在检测到故障链路后, 采用 STP/RSTP/MSTP协议及时进行网络收敛, 提高了网络的可靠性。
实施例 2 本实施例以以太环网 (拓扑结构为环形的以太网) 为例进行说明, 对于以太环网, 通 过运行 0AM检测到网络链路故障后, 还可以采用 RRPP协议进行网络收敛。 参见图 7, 本发 明实施例提供了一种以太网故障检测及收敛的方法, 具体包括:
201: 以太环网中的节点周期性地向相邻节点发送 0AM的 CC报文。
202: 如果节点在预设的时间内未收到相邻节点发送的 CC报文, 则判定节点和相邻节 点之间的链路发生故障。
203: 节点采用 RRPP协议, 进行网络收敛。
在检测到链路故障后, 节点采用 RRPP协议进行网络收敛的具体过程如下:
节点根据 RRPP协议将自己的故障端口置为 DOWN状态, 并通过另一端口向以太环网中 的主节点发送链路故障消息;
主节点收到链路故障消息后, 将自己的副端口置为转发状态, 并根据 RRPP协议, 通过 自己的主端口和副端口向以太环网中除主节点以外的其它节点发送链路通知消息;
其它节点收到链路通知消息后, 清除自己的转发表, 完成网络收敛。
参见图 8, 图中主节点和相邻的传输节点之间的链路发生故障后, 传输节点根据 RRPP 协议通过自己接入以太环网的另一端口向主节点发送链路故障报文。
进一步地, 在本实施例中, 为了防止节点本身发生故障时不能进行故障上报的问题, 在采用 0AM协议进行链路故障检测时, 还可以在土节点的土端口和副端口之间运行 0AM协 议, 进行链路连通性检测。 参见图 8, 在每个节点向相邻节点发送 0AM的 CC报文进行链路 故障检测的同时, 还可以在主节点的主端口和副端口之间运行 0AM协议, 进行链路连通性 检测。
实施例 2中,在通过 0AM协议检测到链路故障后,还可以采用 EAPS协议进行网络收敛, 具体收敛过程与 202中所述类似, 这里不再赘述。
进一步地, 在上述实施例 1和实施例 2中, 以太网中的两节点之间还可以存在传输设 备, 参见图 9, 在 SONET ( Synchronous Optical Network, 同步光网络) 中, 运行 SDH ( Synchronous Digital Hierarchy , 同步数字体系) 协议, 节点通过 ADM ( Add-Drop
Multiplexer, 分插复用器) 与 网络相连, 对于这种情况, 也可以通过 0AM协议进行链路 故障检测, 检测到链路故障后, 采用相应的协议进行保护倒换, 进行网路收敛。 对于通用 以太网来说, 故障检测及收敛的方法与实施例 1 中所述相同, 以太环网的故障检测及收敛 的方法与实施例 2中所述相同, 这里不再赘述。
本实施例在以太环网中通过 0AM进行链路故障检测, 提高了网络故障检测的速度; 在 检测到故障链路后, 采用 RRPP/EAPS协议及时进行网络收敛, 提高了网络的可靠性。 实施例 3
参见图 10, 本发明实施例提供了一种节点设备, 节点设备包括:
检测模块 301, 用于根据操作、 维护和管理协议对链路进行故障检测;
收敛模块 302, 用于当检测模块 301检测到链路故障后, 根据以太网的类型, 采用相应 的二层网络保护协议, 进行网络收敛。
参见图 11, 上述检测模块 301可以具体包括:
发送单元 3011, 用于周期性地向节点设备的相邻节点设备发送操作、 维护和管理协议 的连通性检测报文;
判断单元 3012, 用于当节点设备在预设的时间内未收到节点设备的相邻节点设备发送 的连通性检测报文时, 则判定节点设备与相邻节点设备之间的链路故障。
进一步地, 当以太网为通用以太网时, 上述收敛模块 302可以具体包括:
发送单元 3021, 用于当检测模块 301检测到链路故障后, 根据生成树协议向以太网中 的其它节点设备发送链路故障消息;
接收单元 3022, 用于接收其它节点设备发送的链路故障消息;
清除单元 3023,用于在接收单元 3022接收到链路故障消息后,清除节点设备的转发表; 计算单元 3024, 用于根据生成树协议重新计算网络转发路径。
进一步地, 参见图 12, 当以太网为以太环网时, 上述收敛模块 302可以具体包括: 设置单元 3025, 用于当检测模块 301检测到链路故障后, 根据快速环网保护协议将节 点设备的故障端口置为阻塞状态;
发送单元 3026, 用于通过节点设备的另一端口向以太环网中的主节点设备发送链路故 障消息;
接收单元 3027, 用于接收主节点设备发送的链路通知消息;
清除单元 3028, 用于在接收单元 3027接收到主节点设备发送的链路通知消息后, 清除 节点设备的转发表。
本实施例中检测模块 301根据 0AM协议对网络链路进行故障检测, 提高了网络故障检 测的速度; 当检测模块 301检测到故障链路后, 收敛模块 302根据网络类型采用相应的协 议进行网络收敛, 对于通用以太网, 通过采用 STP协议进行网络收敛, 当网络拓扑类型为 环网时, 还可以 RRPP协议进行网络收敛, 提高了网络的可靠性。
本发明实施例可以通过软件实现, 相应的软件可以存储在可读取的存储介质中, 例如, 计算机的硬盘、 软盘或光盘中。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种以太网故障检测及收敛的方法, 其特征在于, 所述方法包括:
根据操作、 维护和管理协议对链路进行故障检测;
当检测到链路故障后, 根据以太网的类型, 采用相应的二层网络保护协议, 进行网络 收敛。
2. 根据权利要求 1所述的以太网故障检测及收敛的方法, 其特征在于, 所述根据操作、 维护和管理协议对链路进行故障检测, 具体包括:
节点周期性地向相邻节点发送操作、 维护和管理协议的连通性检测报文;
如果所述节点在预设的时间内未收到所述相邻节点发送的连通性检测报文, 则所述节 点与相邻节点之间的链路故障。
3. 根据权利要求 1或 2所述的以太网故障检测及收敛的方法, 其特征在于, 当所述以 太网为通用以太网时, 所述采用相应的二层网络保护协议, 进行网络收敛, 具体包括: 所述节点根据生成树协议向所述以太网中的其它节点发送链路故障消息;
所述其它节点收到所述链路故障消息后, 清除自己的转发表, 并根据所述生成树协议 重新计算网络转发路径。
4. 根据权利要求 1或 2所述的以太网故障检测及收敛的方法, 其特征在于, 当所述以 太网为以太环网时, 所述采用相应的二层网络保护协议, 进行网络收敛, 具体包括:
所述节点根据快速环网保护协议将自己的故障端口置为阻塞状态, 并通过另一端口向 所述以太环网中的主节点发送链路故障消息;
所述主节点收到所述链路故障消息后, 将自己的副端口置为转发状态, 并根据所述快 速环网保护协议, 通过自己的主端口和副端口向所述以太环网中除所述主节点以外的其它 节点发送链路通知消息;
所述其它节点收到所述链路通知消息后, 清除自己的转发表。
5. 一种节点设备, 其特征在于, 所述节点设备包括:
检测模块 (301 ), 用于根据操作、 维护和管理协议对链路进行故障检测;
收敛模块(302), 用于当所述检测模块(301 )检测到链路故障后, 根据以太网的类型, 采用相应的二层网络保护协议, 进行网络收敛。
6. 根据权利要求 5所述的节点设备, 其特征在于, 所述检测模块 (301 ) 具体包括: 发送单元 (3011 ), 用于周期性地向所述节点设备的相邻节点设备发送操作、 维护和管 理协议的连通性检测报文;
判断单元 (3012), 用于当所述节点设备在预设的时间内未收到所述节点设备的相邻节 点设备发送的连通性检测报文时, 则判定所述节点设备与相邻节点设备之间的链路故障。
7. 根据权利要求 5或 6所述的节点设备, 其特征在于, 当所述以太网为通用以太网时, 所述收敛模块 (302 ) 具体包括:
发送单元 (3021 ), 用于当所述检测模块 (301 ) 检测到链路故障后, 根据生成树协议 向以太网中的其它节点设备发送链路故障消息;
接收单元 (3022), 用于接收所述其它节点设备发送的链路故障消息;
清除单元 (3023), 用于在所述接收单元 (3022 ) 接收到链路故障消息后, 清除所述节 点设备的转发表;
计算单元 (3024), 用于根据所述生成树协议重新计算网络转发路径。
8. 根据权利要求 5或 6所述的节点设备, 其特征在于, 当所述以太网为以太环网时, 所述收敛模块 (302 ) 具体包括:
设置单元 (3025), 用于当所述检测模块 (301 ) 检测到链路故障后, 根据快速环网保 护协议将所述节点设备的故障端口置为阻塞状态;
发送单元 (3026), 用于通过所述节点设备的另一端口向所述以太环网中的主节点设备 发送链路故障消息;
接收单元 (3027), 用于接收所述主节点设备发送的链路通知消息;
清除单元 (3028 ) , 用于在所述接收单元 (3027 ) 接收到所述主节点设备发送的链路 通知消息后, 清除所述节点设备的转发表。
PCT/CN2008/073397 2007-12-12 2008-12-09 以太网故障检测及收敛的方法和节点设备 WO2009076885A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP08861952A EP2204947A4 (en) 2007-12-12 2008-12-09 ETHERNET FAILURE AND CONVERGENCE DETECTION N UD METHOD AND DEVICE
US12/791,523 US20100238800A1 (en) 2007-12-12 2010-06-01 Method and Node Device for Fault Detection and Convergence in Ethernet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710179347.7A CN101207521A (zh) 2007-12-12 2007-12-12 以太网故障检测及收敛的方法和节点设备
CN200710179347.7 2007-12-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/791,523 Continuation US20100238800A1 (en) 2007-12-12 2010-06-01 Method and Node Device for Fault Detection and Convergence in Ethernet

Publications (1)

Publication Number Publication Date
WO2009076885A1 true WO2009076885A1 (zh) 2009-06-25

Family

ID=39567424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073397 WO2009076885A1 (zh) 2007-12-12 2008-12-09 以太网故障检测及收敛的方法和节点设备

Country Status (4)

Country Link
US (1) US20100238800A1 (zh)
EP (1) EP2204947A4 (zh)
CN (1) CN101207521A (zh)
WO (1) WO2009076885A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238067A (zh) * 2010-04-28 2011-11-09 杭州华三通信技术有限公司 一种快速环网保护协议环上的切换方法和装置
US10449685B2 (en) 2010-04-29 2019-10-22 Whirlpool Corporation Food processor with adjustable blade assembly

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207521A (zh) * 2007-12-12 2008-06-25 华为技术有限公司 以太网故障检测及收敛的方法和节点设备
CN101931569A (zh) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 用于以太环网的链路故障检测方法
CN101997711B (zh) * 2009-08-17 2014-12-10 中兴通讯股份有限公司 实现操作管理维护消息发送的方法及分组数据网系统
CN102244599B (zh) * 2010-05-11 2014-04-02 华为技术有限公司 防止或消除数据环路的方法以及网络节点和网络系统
US8953488B2 (en) * 2010-12-13 2015-02-10 At&T Intellectual Property I, L.P. Method and apparatus for optimal interconnection of telecommunication nodes via a reliable microwave clustering
CN102055676B (zh) * 2011-01-25 2013-11-27 杭州华三通信技术有限公司 Mstp组网环境中实现负载分担的方法及装置
CN102420828B (zh) * 2011-12-15 2014-11-05 华为技术有限公司 协议管理状态的设置方法、装置和系统
CN102724096B (zh) * 2012-06-26 2014-12-17 华为技术有限公司 混合环网保护方法和网络设备
CN103684835B (zh) * 2012-09-24 2017-02-08 华为技术有限公司 链路故障上报方法、处理方法、传输节点及主节点
EP2784992B1 (en) * 2013-03-28 2016-11-30 Mitsubishi Electric R&D Centre Europe B.V. Method and system for configuring node devices of a mesh communications network, when detecting a link failure or a link recovery
CN104125083A (zh) * 2013-04-24 2014-10-29 中兴通讯股份有限公司 一种网络设备的主备倒换方法、装置、设备及系统
CN104378223A (zh) * 2013-08-16 2015-02-25 中兴通讯股份有限公司 链路性能测试方法、装置、逻辑处理器以及网络处理器
CN105281927A (zh) * 2014-05-28 2016-01-27 中兴通讯股份有限公司 多链路保护倒换的方法及装置
CN104468537A (zh) * 2014-11-25 2015-03-25 公安部第三研究所 实现安全审计的系统及方法
CN104486164B (zh) * 2014-12-26 2017-12-08 新华三技术有限公司 一种链路故障检测方法和装置
US9923731B1 (en) * 2016-09-12 2018-03-20 Fujitsu Limited Seamless migration from multiple spanning tree protocol to ethernet ring protection switching protocol
US11323308B2 (en) * 2018-12-28 2022-05-03 Juniper Networks, Inc. Core isolation for logical tunnels stitching multi-homed EVPN and L2 circuit
CN113992570B (zh) * 2021-09-23 2023-11-03 新华三信息安全技术有限公司 一种报文转发方法及设备
CN114978868B (zh) * 2022-07-01 2023-04-25 杭州迪普科技股份有限公司 基于oam环路自检网络报文加速芯片功能异常的方法和装置
CN115514695A (zh) * 2022-09-16 2022-12-23 奥特酷智能科技(南京)有限公司 一种车载以太网拥塞自适应数据转发方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007024298A2 (en) * 2005-05-02 2007-03-01 Cisco Technology, Inc. Method, apparatus, and system for improving ethernet ring convergence time
CN101072155A (zh) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 用于以太网自动保护系统的单光纤故障处理方法
CN101119161A (zh) * 2006-08-04 2008-02-06 中兴通讯股份有限公司 一种传输设备中的故障处理系统及方法
CN101207521A (zh) * 2007-12-12 2008-06-25 华为技术有限公司 以太网故障检测及收敛的方法和节点设备
CN100407641C (zh) * 2004-11-30 2008-07-30 中兴通讯股份有限公司 多路千兆以太网汇聚节点处理链路故障的方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177946B1 (en) * 2001-12-06 2007-02-13 Cisco Technology, Inc. Optimal sync for rapid spanning tree protocol
US6960035B2 (en) * 2002-04-10 2005-11-01 Fuji Photo Film Co., Ltd. Laser apparatus, exposure head, exposure apparatus, and optical fiber connection method
US20030223379A1 (en) * 2002-05-28 2003-12-04 Xuguang Yang Method and system for inter-domain loop protection using a hierarchy of loop resolving protocols
IL155449A (en) * 2003-04-15 2008-06-05 Eci Telecom Ltd Technology for improving stp protocols in ethernet networks supporting vlans
CN100450036C (zh) * 2006-08-18 2009-01-07 华为技术有限公司 一种rrpp与局部stp组网故障恢复时防止环路的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407641C (zh) * 2004-11-30 2008-07-30 中兴通讯股份有限公司 多路千兆以太网汇聚节点处理链路故障的方法
WO2007024298A2 (en) * 2005-05-02 2007-03-01 Cisco Technology, Inc. Method, apparatus, and system for improving ethernet ring convergence time
CN101119161A (zh) * 2006-08-04 2008-02-06 中兴通讯股份有限公司 一种传输设备中的故障处理系统及方法
CN101072155A (zh) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 用于以太网自动保护系统的单光纤故障处理方法
CN101207521A (zh) * 2007-12-12 2008-06-25 华为技术有限公司 以太网故障检测及收敛的方法和节点设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238067A (zh) * 2010-04-28 2011-11-09 杭州华三通信技术有限公司 一种快速环网保护协议环上的切换方法和装置
CN102238067B (zh) * 2010-04-28 2013-12-25 杭州华三通信技术有限公司 一种快速环网保护协议环上的切换方法和装置
US10449685B2 (en) 2010-04-29 2019-10-22 Whirlpool Corporation Food processor with adjustable blade assembly

Also Published As

Publication number Publication date
EP2204947A1 (en) 2010-07-07
CN101207521A (zh) 2008-06-25
EP2204947A4 (en) 2011-03-09
US20100238800A1 (en) 2010-09-23

Similar Documents

Publication Publication Date Title
WO2009076885A1 (zh) 以太网故障检测及收敛的方法和节点设备
EP2242215B1 (en) Method for client data transmission through a packet switched provider network
JP5566463B2 (ja) コンピュータネットワークにおけるデータ転送の技術
EP1766865B1 (en) Connectivity fault notification
US9491041B2 (en) Ethernet chain protection switching
CN101753453B (zh) 一种分组传送网环网的组网方法
EP2569904B1 (en) A ring node, an ethernet ring and methods for loop protection in an ethernet ring
CN100450036C (zh) 一种rrpp与局部stp组网故障恢复时防止环路的方法和装置
US20100315946A1 (en) Failure protection for access ring topology
EP2027676A1 (en) Technique for providing interconnection between communication networks
WO2012028029A1 (zh) 一种切换方法及系统
JP2008236212A (ja) Vpn装置
WO2012167667A1 (zh) 一种信号劣化处理方法、装置及节点设备
WO2007115493A1 (fr) Procédé, dispositif et système pour réaliser la commutation dans le réseau à double anneau de réseau vpls
WO2008098431A1 (en) An ethernet automatic protection method and system
WO2010045832A1 (zh) 用于以太环网的链路聚合组的保护方法及装置
CN101610221B (zh) 一种stp切换时ip单播平滑切换的方法及装置
Ryoo et al. Ethernet ring protection for carrier ethernet networks
WO2012162946A1 (zh) 一种报文处理方法及系统
WO2009009985A1 (fr) Procédé et appareil pour accélérer la convergence de liaison
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
CN102238067B (zh) 一种快速环网保护协议环上的切换方法和装置
WO2008095360A1 (fr) Méthode et système de commutation rapide en cas de défaillance d'une liaison d'un réseau privé virtuel
WO2011011934A1 (zh) 一种以太网隧道分段保护方法和装置
WO2012068866A1 (zh) 一种以太环网中刷新mac的方法及系统

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008861952

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE