WO2009036705A1 - Procédé de détection de panne d'interface et équipement de nœud de réseau - Google Patents

Procédé de détection de panne d'interface et équipement de nœud de réseau Download PDF

Info

Publication number
WO2009036705A1
WO2009036705A1 PCT/CN2008/072389 CN2008072389W WO2009036705A1 WO 2009036705 A1 WO2009036705 A1 WO 2009036705A1 CN 2008072389 W CN2008072389 W CN 2008072389W WO 2009036705 A1 WO2009036705 A1 WO 2009036705A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
link
fault
member link
state
Prior art date
Application number
PCT/CN2008/072389
Other languages
English (en)
Chinese (zh)
Inventor
Peng Wang
Yuting Wang
Wei Zhang
Zuliang Wang
Lina Wu
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.
Publication of WO2009036705A1 publication Critical patent/WO2009036705A1/fr

Links

Classifications

    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for detecting an interface fault and a network node device. Background technique
  • OAM Operaation Administration and Maintenance
  • ITU International Telecommunication Union
  • BFD Bidirectional Forwarding Detection
  • BFD is gradually developed from the basic transmission technology. It can detect faults at various layers in the network. It can be used to detect multiple types of Ethernet, MPLS path, common route encapsulation, and IPSec (IP network security protocol) tunnels. The correctness of the transmission.
  • the goal of BFD is to provide a low-cost, short-detection failure detection mechanism between adjacent systems, including interfaces, data links, and the detection of the forwarding engine itself.
  • BFD is similar to the "Hello" protocol.
  • the two parties When a BFD session between two systems to be detected is established, the two parties periodically send BFD packets to the peer, and periodically detect the arrival of the other party's packets on the link. If the BFD packet from the peer is not received within a certain interval, the link is considered faulty, so as to quickly discover the link fault.
  • Router A and Router C have a link AC (routers A and C can be directly adjacent or connected through transmission equipment or other systems).
  • link BC between Router B and Router C, on the link AC and link BC.
  • BFD is applied to the AC between the routers A and Router C.
  • the BFD session does not automatically discover neighbors (the other end of the BFD session, where Router A and Router C are BFD sessions).
  • the neighboring mechanism needs to be configured statically or depends on other application protocols to obtain the IP address of the neighbor and the BFD session discriminator. After obtaining the information, the BFD starts to send the session negotiation packet periodically until the session is established. Ls.
  • the BFD session parameters are negotiated to coordinate the speed of sending and receiving BFD packets, the defect confirmation time, and the unified session mode.
  • the neighbors of the BFD session send BFD control packets to the peer at the negotiated interval. This is the same as the function and operation mode of the Hello packets. Is, maybe tens of milliseconds. For the convenience of description, I call this state the fast defect detection phase.
  • the router When the router sends a BFD check packet, it also periodically detects the BFD packet sent by the BFD neighbor. If the number of consecutive BFD packets is lost, the link is disconnected ( Down) and the message is sent. Advertise to other applications (such as: routing module, forwarding module, etc.).
  • the state of the application protocol running on the interface depends on the interface state.
  • the BFD session can be configured as the interface association mode.
  • the interface management sets all the protocols running on the interface to the IDLE state, so that all protocols running on the interface can quickly detect link faults and achieve fast convergence.
  • the meaning of the convergence is that the upper layer application protocols all run the same, accurate routing information enough to reflect the current network topology structure, and fast convergence is the most desirable feature of the routing protocol.
  • the interface association function of the BFD function enables multiple protocols running on the interface to converge at the same time by using one BFD configured on the interface. This improves the efficiency and saves the efficiency of each BFD detection method.
  • the interface is a composite concept.
  • the interface may be corresponding to the link. It may also be that multiple logical interfaces share one physical link. It is also possible that one interface consists of multiple physical links. We lower this ratio interface.
  • Hierarchical, the physical link used to form an interface is called the member link of the interface.
  • the interface can be multiplexed in a plurality of forms, for example, multiple interfaces multiplex one member link, and one interface includes multiple member links. Be effective. For example, if multiple member interfaces are multiplexed with multiple interfaces, at least one BFD session must be configured for each interface. This is very inefficient. For an interface that contains multiple member links, the current interface association function cannot be effectively supported. Summary of the invention
  • An object of the embodiments of the present invention is to provide a method for detecting an interface fault and a network node device.
  • an embodiment of the present invention provides a method for detecting an interface fault, which includes:
  • the fault status of the member link is reported to the interface corresponding to the member link.
  • an embodiment of the present invention further provides a network node device, including:
  • the link detection module is configured to establish a BFD session and perform BFD detection on the member links of the interface.
  • the interface management module is configured to determine, according to the fault state of the member link detected by the link detection module, whether the interface corresponding to the member link is malfunction.
  • the BFD directly detects the member link status of the interface, and then determines the state of the interface according to the member link status, and implements various forms.
  • the member links of the interface perform efficient BFD detection to detect faults on the interface or link and improve the performance of the network system.
  • FIG. 1 is a schematic diagram of the overall application environment of the BFD
  • FIG. 2 is a schematic structural diagram of a network node device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a link detecting module according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an interface management module according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an interface state determining unit illustrated in FIG. 4;
  • FIG. 6 is a flowchart of a method for detecting an interface fault according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment in which multiple interfaces share a member link
  • Figure 8 is a process flow diagram of the embodiment of Figure 7;
  • FIG. 9 is a schematic diagram of an embodiment in which an interface includes multiple member links
  • FIG 10 is a process flow diagram of the embodiment of Figure 9. detailed description
  • the method for detecting an interface fault and the technical solution of the network node device are provided by the embodiment of the present invention.
  • the BFD directly detects the member link status of the interface, and then determines the state of the interface according to the member link status, so as to implement various forms.
  • Interface member links perform efficient BFD detection.
  • the network node device includes:
  • the link detection module 1 is configured to establish a BFD session, and perform BFD detection on the member links of the interface.
  • the interface management module 2 is configured to determine, according to the fault state of the member link detected by the link detection module 1, the member link. Whether the interface has failed.
  • the link detection module 1 shown in FIG. 2 includes:
  • the fault detection unit 101 is configured to establish a BFD session for each member link and perform BFD detection.
  • the fault reporting unit 102 reports the fault status of the member link to the interface when the fault detection unit detects that the member link is faulty, specifically:
  • the interface management module 2 shown in FIG. 2 includes:
  • the link state obtaining unit 201 is configured to acquire a fault state of the member link reported by the link detecting module 1;
  • the interface state determining unit 202 is configured to determine, according to the fault state of the member link acquired by the link state acquiring unit 201, whether an interface corresponding to the member link is faulty.
  • the interface management module 2 may further include an interface status sending unit 203, configured to: when the interface status determining unit 202 determines that the status of the interface is a fault state, send the fault status to an upper application running on the interface.
  • the protocol, the upper layer application protocol converges after receiving the fault state of the interface.
  • the interface state determining unit 202 of FIG. 4 includes: a determining unit 2021, configured to determine that the interface includes one of the member links, including at least two member links, and Output the judgment result;
  • the threshold value determining unit 2022 when the determination result output by the determining unit 2021 is that the interface includes at least two member links, is used to determine whether the number of member links having a fault state exceeds a threshold, and outputs a determination result;
  • the link state judging unit 2023 when the judgment result output by the judging unit 2021 is that the interface includes a barrier; , ' , , ' , ' ⁇ , ' ' state changing unit 2024, when the judgment result output by the threshold judging unit 2022 is faulty
  • the state of the interface is changed to a fault state.
  • the interface management module further includes:
  • the interface status sending unit is configured to: when the interface status determining unit determines that the status of the interface is a fault state, send the fault status to an upper layer application protocol running on the interface.
  • the network node device is a router or a switching device.
  • the network node device provided by the embodiment of the present invention is described in detail above.
  • a method for detecting an interface failure according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. Referring to FIG. 6, which is a flowchart of a method for detecting an interface failure according to an embodiment of the present invention.
  • the method for detecting an interface failure includes:
  • Step S1 Establish a BFD session on each member link of the interface, and perform BFD detection.
  • the interface is a composite concept.
  • the interface may correspond to a link, or multiple interfaces may share a physical link. It is also possible that an interface includes a plurality of physical links, and the physical link is referred to as a member link of the interface;
  • step S2 when the member link is faulty, the fault status of the member link is reported to the interface corresponding to the member link.
  • Step S3 Determine whether the interface is faulty according to a fault state of the member link.
  • the steps of the interface are specifically as follows:
  • the physical port reports the fault status of the member link to the corresponding interface.
  • the method further includes:
  • the upper layer application protocol converges after receiving the fault state of the interface.
  • the BFD is used to directly detect the member link status of the interface, and then determine the state of the interface according to the member link status, thereby implementing efficient BFD detection on various interfaces and member links, and discovering interfaces or links in time. Faults, improve network system performance, and improve QoS (Quality of Service)
  • FIG. 7 a schematic diagram of an embodiment in which multiple interfaces share a member link
  • a typical scenario is to carry multiple logical sub-interfaces on a physical port of a member link.
  • Router A and Router B are connected by a physical link.
  • the physical ports of the physical link carry four interfaces, namely: logical interface 1, logical interface 2, logical interface 3, and logic.
  • Interface 4 that is, the four logical interfaces share a physical link as their common member link.
  • the method for detecting an interface fault in the embodiment of the present invention is to establish a BFD session on the member link, so that the application protocol on each interface can be quickly converge.
  • the processing procedure is as shown in FIG. 8 and includes:
  • Step S71 Establish a BFD session on the member links shared by the four logical interfaces to perform BFD detection.
  • Step S72 When detecting that the member link is faulty, report the fault status to the physical port.
  • Step S73 the physical port quickly reports the fault status of the member link to each logical interface.
  • Step S74 the four logical interfaces determine, according to the fault state of the shared member link, that the respective states are fault states (Down state);
  • step S75 the four logical interfaces respectively send respective fault states to various upper layer application protocols running on the respective ones, thereby triggering fast convergence of the application protocols.
  • N the integers greater than 0
  • N BFD detection packets are transmitted.
  • N tends to infinity (or when there are hundreds of interfaces multiplexed with one member link)
  • there will be a large number of BFD detection packets in the network resulting in inefficient transmission of user service data packets, and even loss of service data.
  • no matter how many logical interfaces are provided only one BFD detection needs to be configured on the member links, and a small amount of BFD detection packets can be detected on the network to detect whether each interface is faulty, thereby improving detection efficiency. It also avoids network congestion caused by the transmission of a large number of detection packets, saves network resources, and improves system performance and QoS.
  • FIG. 10 a schematic diagram of an embodiment of an interface including multiple member links.
  • a trunk interface is bundled with five member links.
  • the trunk interface is a trunk interface or a trunk interface.
  • the physical ports are bundled together and used as a logical interface. Trunk technology is implemented.
  • the internal member links are mutually backup. When a member link fails, the other links are not affected. However, when there are too many member links, the trunk interface and system performance are affected.
  • the method for detecting the fault of the interface provided by the embodiment of the present invention is used to detect the processing flow of the trunk interface in time as shown in FIG. 10, which includes:
  • Step S81 A BFD session is established on each member link, that is, five BFD sessions are to be established. Then, performing BFD detection on each member link;
  • Step S82 When detecting a member link failure, reporting the fault status to the physical port corresponding to the member link;
  • step S83 the physical port reports the fault status of the member links to the trunk interface.
  • step S84 After receiving the status information of all member links, the trunk interface determines whether the number of member links with the fault status exceeds a preset threshold (such as: 3), if yes, proceed to step S86, otherwise, perform step S85;
  • a preset threshold such as: 3
  • Step S85 continue to perform BFD detection, and then proceeds to step S82;
  • Step S86 determining that the state is a fault state
  • Step S87 Send the fault status of the trunk interface to all upper layer application protocols running on the trunk interface.
  • Step S88 The upper layer application protocol performs fast convergence after receiving the fault state of the trunk interface.
  • the current interface linkage mode cannot effectively detect the fault of the interface, and the BFD session is established on the member link by the present invention to perform BFD detection and pass the member chain.
  • a road failure the number of member links that have failed
  • the storage medium includes: a ROM/RAM, a magnetic disk, an optical disk, a flash memory, and the like.
  • the BFD directly detects the member link status of the interface, and then determines the state of the interface according to the member link status, and implements various forms.
  • An interface (such as an interface that includes multiple member links or multiple interfaces to share a member link) performs efficient BFD detection to detect faults on interfaces or links and improve network system performance.
  • a person skilled in the art can understand that all or part of the processes in implementing the embodiments of the present invention can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium.
  • the program when executed, may include the flow of an embodiment of the methods as described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • ROM read-only memory
  • RAM random access memory

Landscapes

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

Abstract

L'invention concerne un procédé de détection de panne d'interface. Le procédé comprend les étapes consistant à : établir des sessions BFD sur chaque liaison membre et exécuter une détection BFD ; reporter l'état défectueux de la liaison à l'interface, lorsqu'un défaut de la liaison est détecté, déterminer si l'interface est défectueuse selon les états défectueux des liaisons membres reçues par l'interface. L'invention concerne également un dispositif de nœud de réseau. La détection efficace pour diverses sortes d'interfaces est implémentée en détectant directement les liaisons membres de l'interface.
PCT/CN2008/072389 2007-09-18 2008-09-17 Procédé de détection de panne d'interface et équipement de nœud de réseau WO2009036705A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710030291.9 2007-09-18
CN2007100302919A CN101132320B (zh) 2007-09-18 2007-09-18 检测接口故障的方法及网络节点设备

Publications (1)

Publication Number Publication Date
WO2009036705A1 true WO2009036705A1 (fr) 2009-03-26

Family

ID=39129451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072389 WO2009036705A1 (fr) 2007-09-18 2008-09-17 Procédé de détection de panne d'interface et équipement de nœud de réseau

Country Status (2)

Country Link
CN (1) CN101132320B (fr)
WO (1) WO2009036705A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737944A (zh) * 2020-12-25 2021-04-30 浪潮思科网络科技有限公司 一种基于bfd的peer-link链路状态检测方法、装置及介质
CN112953742A (zh) * 2019-12-10 2021-06-11 中盈优创资讯科技有限公司 网络设备捆绑端口的故障定位方法及装置

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132320B (zh) * 2007-09-18 2010-06-16 华为技术有限公司 检测接口故障的方法及网络节点设备
CN102223241B (zh) * 2010-04-15 2013-09-11 杭州华三通信技术有限公司 网络变化通知方法和设备
CN101848165B (zh) * 2010-06-01 2016-02-10 中兴通讯股份有限公司 控制通信链路中断后恢复的方法和接口板
CN102271048B (zh) * 2010-06-02 2015-08-12 中兴通讯股份有限公司 聚合链路中的业务保护方法及装置
CN102457409B (zh) * 2010-11-02 2014-04-30 中兴通讯股份有限公司 链路故障检测方法及系统
CN102006189B (zh) * 2010-11-25 2014-09-10 中兴通讯股份有限公司 用于双机冗余备份的主用接入服务器确定方法及装置
WO2012171164A1 (fr) * 2011-06-13 2012-12-20 华为技术有限公司 Procédé, dispositif et système de protection de sécurité de réseau
CN102355335A (zh) * 2011-09-13 2012-02-15 中兴通讯股份有限公司 单通检测结果的通告方法及装置
CN102571497B (zh) * 2012-01-29 2016-03-30 华为技术有限公司 一种IPSec隧道故障检测的方法、装置及系统
CN104579736B (zh) * 2013-10-29 2019-01-15 华为技术有限公司 一种环路数据传输方法及节点设备
CN105591775B (zh) * 2014-10-23 2019-10-25 华为技术有限公司 一种网络的操作管理维护oam方法、装置和系统
CN107171817B (zh) * 2016-03-07 2020-09-11 中国移动通信集团福建有限公司 一种故障信息获取方法和装置
CN107846292B (zh) 2016-09-19 2020-12-04 新华三技术有限公司 防止故障处理延迟的方法和装置
CN109787797B (zh) * 2017-11-14 2021-08-20 华为技术有限公司 链路的故障检测方法、装置以及系统
US10771312B2 (en) 2018-02-28 2020-09-08 Zte Corporation Failure detection in a data network
CN110120897A (zh) * 2019-04-22 2019-08-13 国家计算机网络与信息安全管理中心 链路探测方法、装置、电子设备及机器可读存储介质
CN112751724B (zh) * 2019-10-31 2023-07-11 华为技术有限公司 检测链路状态的方法及装置
CN111277440B (zh) * 2020-01-20 2022-04-08 新华三信息安全技术有限公司 网络设备
CN112291116A (zh) * 2020-11-23 2021-01-29 迈普通信技术股份有限公司 链路故障检测方法、装置及网络设备
CN113824595B (zh) * 2021-09-29 2022-11-22 联想(北京)有限公司 链路切换控制方法、装置和网关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926809A (zh) * 2004-03-04 2007-03-07 思科技术公司 用于高网络可用性的方法和设备
US20070180105A1 (en) * 2006-01-30 2007-08-02 Clarence Filsfils Technique for distinguishing between link and node failure using bidirectional forwarding detection (BFD)
CN101030966A (zh) * 2006-02-28 2007-09-05 华为技术有限公司 一种双向转发检测会话建立方法
CN101132320A (zh) * 2007-09-18 2008-02-27 华为技术有限公司 检测接口故障的方法及网络节点设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926809A (zh) * 2004-03-04 2007-03-07 思科技术公司 用于高网络可用性的方法和设备
US20070180105A1 (en) * 2006-01-30 2007-08-02 Clarence Filsfils Technique for distinguishing between link and node failure using bidirectional forwarding detection (BFD)
CN101030966A (zh) * 2006-02-28 2007-09-05 华为技术有限公司 一种双向转发检测会话建立方法
CN101132320A (zh) * 2007-09-18 2008-02-27 华为技术有限公司 检测接口故障的方法及网络节点设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953742A (zh) * 2019-12-10 2021-06-11 中盈优创资讯科技有限公司 网络设备捆绑端口的故障定位方法及装置
CN112953742B (zh) * 2019-12-10 2023-05-12 中盈优创资讯科技有限公司 网络设备捆绑端口的故障定位方法及装置
CN112737944A (zh) * 2020-12-25 2021-04-30 浪潮思科网络科技有限公司 一种基于bfd的peer-link链路状态检测方法、装置及介质

Also Published As

Publication number Publication date
CN101132320B (zh) 2010-06-16
CN101132320A (zh) 2008-02-27

Similar Documents

Publication Publication Date Title
WO2009036705A1 (fr) Procédé de détection de panne d'interface et équipement de nœud de réseau
EP2319209B1 (fr) Procédés pour établir une connexion de trafic et une connexion de contrôle associée
CN100558111C (zh) 城域以太网提供多业务组网下的可靠性处理方法及系统
EP1933506B1 (fr) Procede et appareil destines a la realisation de l'interconnexion de la fonction oam entre les reseaux ethernet et mpls
US9509591B2 (en) Technique for dual homing interconnection between communication networks
US9137099B2 (en) Method, device, and system for link aggregation failure protection
US20100287405A1 (en) Method and apparatus for internetworking networks
US20070171817A1 (en) Data communication device and the method thereof
WO2009056034A1 (fr) Procédé, système et équipement pour établir une détection bfd pour un tunnel lsp
WO2006099784A1 (fr) Procédé de détection d’un défaut de liaison entre des noeuds d’une extrémité à l’autre dans un réseau hybride
WO2008098451A1 (fr) Procédé d'établissement de tunnel, dispositif de noeud de réseau et système de réseau
WO2014026512A1 (fr) Procédé de traitement destiné à appliquer un protocole d'arbre couvrant rapide à une topologie de réseau en anneau unique
WO2010060284A1 (fr) Procédé et dispositif de protection d’ethernet multi-réseaux
WO2008046358A1 (fr) Procédé et dispositif destinés à réaliser une pénétration d'un statut de liaison de réseau point à multipoint
WO2006108352A1 (fr) Procede de gestion de panne et appareil permettant l'interfonctionnement entre ethernet et un reseau de commutation multiprotocole par etiquette
WO2013071801A1 (fr) Procédé, dispositif et système pour détecter un réseau en anneau à commutation multiprotocole par étiquette
CN102282805B (zh) 一种业务保护方法及接入设备
CN1514585A (zh) 用于检测连接故障的方法,系统和网络实体
EP2319210B1 (fr) Procédés pour établir une connexion de trafic et une connexion de contrôle associée
WO2006089490A1 (fr) Méthode d’implémentation de fec bfd
WO2011131069A1 (fr) Procédé de détection de liaisons d'association et dispositif distribué
GB2448711A (en) Recovering from a failure in a communications network
WO2008017223A1 (fr) Procédé, appareil et réseau permettant de communiquer réciproquement des résultats de détection de pannes
WO2007036101A1 (fr) Systeme et procede de protection de voie de service multidiffusion
WO2011020257A1 (fr) Procede et appareil de notification d'informations lsp de defaillance

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

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

Country of ref document: EP

Kind code of ref document: A1