WO2017036165A1 - Procédé et appareil de détection de défaillance de liaison - Google Patents

Procédé et appareil de détection de défaillance de liaison Download PDF

Info

Publication number
WO2017036165A1
WO2017036165A1 PCT/CN2016/081441 CN2016081441W WO2017036165A1 WO 2017036165 A1 WO2017036165 A1 WO 2017036165A1 CN 2016081441 W CN2016081441 W CN 2016081441W WO 2017036165 A1 WO2017036165 A1 WO 2017036165A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
bmp
nodes
bfd
fault
Prior art date
Application number
PCT/CN2016/081441
Other languages
English (en)
Chinese (zh)
Inventor
周广腾
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017036165A1 publication Critical patent/WO2017036165A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a link fault detection method and apparatus.
  • Border Gateway Protocol (BGP) monitoring protocol (BGP Monitoring Protocol, BMP for short) draft-ietf-grow-bmp-07 defines the method for establishing BMP neighbors, but for some reason, the link An exception occurs, and how to make the BMP quickly perceive this abnormality.
  • BGP Monitoring Protocol draft-ietf-grow-bmp-07 and its related protocol standards are not described.
  • the embodiment of the invention provides a link fault detection method and device, which can solve the problem that the BMP cannot quickly perceive the abnormality when the BMP link is abnormal in the related art.
  • a link fault detection method includes: establishing a link between two nodes based on a Border Gateway Protocol Monitoring Protocol (BMP); and performing bidirectional forwarding detection (Bidirectional Forwarding Detection, referred to as A link failure of the link between the two nodes is detected for BFD; and the link failure detected based on the BFD is processed based on the BMP.
  • BMP Border Gateway Protocol Monitoring Protocol
  • the method further includes: detecting, between the two nodes, based on the BFD, according to the established link triggering The link of the link is faulty.
  • the method further includes: according to the detected link failure, triggering processing, according to the BMP, the link fault detected based on the BFD.
  • processing, according to the BMP, the link fault detected by the BFD includes: determining whether the BMP session states of the two nodes are all closed DOWN; if the determination result is yes, Reestablishing a link between the two nodes based on the BMP.
  • the method further includes: if the determination result is no, the BMP of the two nodes The session state is updated to turn off DOWN.
  • a link fault detecting apparatus including: an establishing module, configured to: establish a link between two nodes based on a Border Gateway Protocol Monitoring Protocol (BMP); and a detecting module And configured to: detect a link failure of the link between the two nodes based on the bidirectional transceiving detection (BFD); and the processing module is configured to: based on the BMP, the chain detected based on the BFD The road fault is processed.
  • BMP Border Gateway Protocol Monitoring Protocol
  • BFD bidirectional transceiving detection
  • the foregoing apparatus further includes: a first triggering module, configured to: after the establishing module establishes the link between the two nodes based on the BMP, according to the established link triggering manner
  • the detecting module detects a link failure of the link between the two nodes based on the BFD.
  • the foregoing apparatus further includes: a second triggering module, configured to: after the detecting module detects the link fault of the link between the two nodes based on the BFD, according to the detecting And the link fault that is triggered, the processing module is triggered to process the link fault detected based on the BFD based on the BMP.
  • a second triggering module configured to: after the detecting module detects the link fault of the link between the two nodes based on the BFD, according to the detecting And the link fault that is triggered, the processing module is triggered to process the link fault detected based on the BFD based on the BMP.
  • the processing module includes: a determining unit, configured to: determine whether the BMP session states of the two nodes are both closed DOWN; and the reconstructing unit is configured to: if the determination result is yes, based on the The BMP re-establishes the link between the two nodes.
  • the processing module further includes: an updating unit, configured to: after the determining unit determines whether the BMP session states of the two nodes are both closed DOWN, and if the determination result is negative, The status of both nodes is updated to turn off DOWN.
  • an updating unit configured to: after the determining unit determines whether the BMP session states of the two nodes are both closed DOWN, and if the determination result is negative, The status of both nodes is updated to turn off DOWN.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the link between the two nodes is established based on the BMP, and the link fault of the link between the two nodes is detected based on the BFD, and the BMP is detected based on the BFD.
  • the method for processing the link fault can be quickly detected by the BFD session and notified to the BMP, and the problem that the BMP cannot quickly sense the abnormality when the BMP link is abnormal in the related art is solved. In turn, the BMP is quickly perceived to be abnormal.
  • FIG. 1 is a flowchart of a link failure detecting method according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of a link failure detecting apparatus according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of a link failure detecting apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an optional structure of a link failure detecting apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 1 of a processing module 26 in a link failure detecting apparatus according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram 2 of a processing module 26 in a link failure detecting apparatus according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a BMP link and a BFD session in a link fault detection method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of processing when a BMP link of a link failure detecting method fails in accordance with an embodiment of the present invention
  • Figure 9 is a schematic diagram of a BMP link failure
  • FIG. 10 is a schematic flowchart of a BMP link fault processing process of a link fault detection method according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of a BMP establishing link according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a link fault detection method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 establishing a link between two nodes based on the BMP
  • Step S104 detecting a link failure of the link between the two nodes based on the BFD
  • Step S106 Process the link fault detected based on the BFD based on the BMP.
  • BFD is a network protocol for detecting faults between two forwarding points, which is described in detail in standard RFC5880.
  • BFD establishes a session on the two devices to monitor the bidirectional forwarding path between the two devices. It serves the upper layer protocol, such as Mutil-Protocol Label Switching (MPLS) and Open Shortest Path First (Open). Shortest Path First (referred to as OSPF), Intermediate System-to-Intermediate System (IS-IS).
  • MPLS Mutil-Protocol Label Switching
  • OSPF Open Shortest Path First
  • IS-IS Intermediate System-to-Intermediate System
  • the BMP is configured as the upper layer protocol of the BFD and the BFD is deployed on the BMP link.
  • the BFD can quickly detect the fault of the BMP link and notify the BMP of the fault.
  • the BMP link is abnormal, the BMP cannot quickly perceive the abnormality, thereby achieving the effect of quickly sensing the abnormality of the BMP.
  • the method may further include: triggering, based on the established link, a link failure of the link between the two nodes based on the BFD. For example, after establishing After the BMP link is sent, the BMP can send a message to the BFD session, or the BMP session can be set to ON. This triggers the BFD to detect the link fault of the BMP link between the two nodes.
  • the method may further include: triggering, according to the detected link fault, the BMP-based detection of the link fault based on the BFD.
  • the message may be sent to the BMP by the BFD, or by changing the node status of the two nodes to the DOWN state, or by setting the session state of the BFD session to DOWN. Therefore, the BMP detects the link fault detected based on the BFD.
  • step S106 can be implemented by: determining whether the BMP session states of the two nodes are both closed DOWN; if the determination result is yes, re-establishing the two nodes based on the BMP The link between.
  • the BMP protocol has no way to cancel the abnormality. By relying on manual intervention, the node status of both nodes is DOWN.
  • it is first determined whether the BMP session state of the two nodes where the link failure occurs is DOWN, and then, if the determination result is yes, the path failure of the generated BMP link is processed, which is efficient and fast. Save manpower.
  • the step S106 further includes: if the determination result is no, the The BMP session status of both nodes is updated to turn off DOWN.
  • the node states of the two nodes can be updated to DOWN without manual intervention, and automatic processing based on the BMP for the node failure is implemented.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM, including a number of instructions to make a terminal device (can be a mobile phone, a computer, The server, or network device, etc.) performs the methods described in various embodiments of the present application.
  • a link fault detecting device is provided, which is used to implement the foregoing embodiments and optional embodiments, and details are not described herein.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments are optionally implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a block diagram showing the structure of a link failure detecting apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes an establishing module 22, a detecting module 24, and a processing module 26. The apparatus will be described below.
  • the establishing module 22 is configured to: establish a link between two nodes based on the BMP;
  • the detecting module 24 is connected to the establishing module 22, and is configured to: detect a link failure of the link between the two nodes based on the BFD;
  • the processing module 26 is connected to the detecting module 24 and configured to: process the link fault detected based on the BFD based on the BMP.
  • FIG. 3 is a block diagram of an optional structure of a link fault detecting apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first triggering module 32, in addition to all the modules shown in FIG. The device will be described.
  • the first triggering module 32 is connected to the establishing module 22 and the detecting module 24, and is configured to: after the establishing module 22 establishes the link between the two nodes based on the BMP, according to the established link trigger detecting module 24 detecting the BFD based on the BFD The link of the link between the two nodes is faulty.
  • FIG. 4 is a block diagram 2 of an optional structure of a link fault detecting apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a second triggering module 42 in addition to all the modules shown in FIG. The device will be described.
  • the second triggering module 42 is connected to the detecting module 24 and the processing module 26, and is configured to: after detecting, by the detecting module 24, the link fault of the link between the two nodes based on the BFD, according to the detected link fault, The trigger processing module 26 processes the link fault detected based on the BFD based on the BMP.
  • FIG. 5 is a structural block diagram of a processing module 26 in a link failure detecting apparatus according to an embodiment of the present invention.
  • the processing module 26 includes a determining unit 52 and a reconstructing unit 54, which will be described below.
  • the determining unit 52 is configured to: determine whether the BMP session states of the two nodes are all closed DOWN;
  • the reconstruction unit 54 connected to the determination unit 52, is configured to re-establish the link between the two nodes based on the BMP in the case where the determination result of the determination unit 52 is YES.
  • FIG. 5 is merely an exemplary illustration, which may also be an example of processing module 26 in an apparatus as shown in FIG. 3, FIG. 4, or a combination thereof.
  • FIG. 6 is a block diagram showing the structure of the processing module 26 in the link fault detecting apparatus according to the embodiment of the present invention. As shown in FIG. 6, the processing module 26 includes an update unit 62, in addition to all the units shown in FIG. The processing module 26 will be described.
  • the updating unit 62 is connected to the judging unit 52, and is configured to: after the judging unit 52 judges whether the BMP session states of the two nodes are both closed DOWN, and if the judgment result of the judging unit 52 is NO, The status of each node is updated to turn off DOWN.
  • a BFD protocol is set up to detect packets. This is referred to as the fast detection mechanism.
  • the "fast detection mechanism” is associated with the upper-layer protocol BMP.
  • the BMP session is UP, the BMP session neighbor information is told to the "fast detection mechanism”.
  • the "fast detection mechanism” then establishes a neighbor relationship based on this information and performs a fast detection mechanism session. If there are multiple links between the two endpoints of a BMP session, a "fast detection mechanism" session can be established for each link.
  • the "fast detection mechanism” detects between the network nodes that establish two sessions (that is, the BMP session and the fast detection mechanism session); if the link failure occurs, the "fast detection mechanism” neighbor is removed, and the upper layer protocol BMP is immediately notified. The upper layer protocol BMP will immediately switch accordingly, that is, convert the state to DOWN; then re-initiate the chain building again.
  • the embodiment of the invention provides a method for quickly detecting a link abnormality of a BMP session that needs to be established.
  • the method does not require manual intervention and is convenient to operate, and can quickly restore the link establishment in a short time to ensure timely BMP packets. Sent to the server.
  • FIG. 7 is a schematic diagram of a BMP link and a BFD session in a link fault detection method according to an embodiment of the present invention. As shown in FIG. 7, when the BMP link and the BFD session are working normally, the following steps are included:
  • Step S702 based on the BMP, initiate a connection between two nodes according to a normal process, and establish a link and a neighbor relationship between the two nodes;
  • Step S704 the neighbor relationship is established based on the BMP, that is, when the BMP session state is UP, the related information of the neighbor relationship of the two nodes is notified to the BFD;
  • step S706 the BFD establishes a BFD neighbor relationship according to the information about the neighbor relationship of the two nodes, and performs link detection on the link between the two nodes that establish the BFD neighbor relationship and the session.
  • FIG. 8 is a flowchart of processing when a BMP link fails in a link fault detection method according to an embodiment of the present invention. As shown in FIG. 8, when a BMP link fails, the following steps are included:
  • Step S802 the links of the two nodes are faulty
  • Step S804 The BFD detects that there is a link fault between the two nodes, and removes the BFD neighbor relationship.
  • Step S806 the BFD notifies that the local BMP link is faulty, and the fault causes the BFD neighbor to be unreachable.
  • Step S808 The BMP changes the BMP session state to DOWN according to the related fault information received from the BFD, and performs corresponding processing.
  • FIG 9 is a schematic diagram of a BMP link failure.
  • the BMP does not have its own keep-alive message according to the BGP Monitoring Protocol draft-ietf-grow-bmp-07 and its related protocol standards.
  • the status of the BMP session is abnormal, that is, the state of one end is UP and the other end is DOWN.
  • the end that keeps the node state UP is no longer receiving the BMP link establishment request.
  • the BMP protocol has no way to solve this abnormality. It requires manual intervention to make the state of both ends of the BMP session DOWN.
  • the two ends of the link fault can be one end as shown in Figure 9, and the other end.
  • the end is a server, and both ends can be nodes.
  • FIG. 10 is a schematic diagram of a BMP link fault processing process according to a link fault detection method according to an embodiment of the present invention.
  • BFD is configured on two network nodes of a BMP session, and BMP is associated, and BFD detects link fault. After that, the BMP will be notified to convert the BMP session state with the status UP to DOWN; then, the BMP chain-building process is initiated according to the normal process, as shown in FIG.
  • the BMP session can quickly detect the link abnormality, correctly and quickly establish a BMP connection, improve efficiency, and reduce manual intervention.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the embodiment of the invention further provides a computer readable storage medium.
  • the computer readable storage medium may be configured to store program code for performing the following steps:
  • Step S1 establishing a link between two nodes based on the BMP
  • Step S2 detecting a link failure of the link between the two nodes based on the BFD;
  • Step S3 The BMP detects the link fault detected based on the BMP.
  • the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (Random Access Memory).
  • ROM Read-Only Memory
  • Random Access Memory Random Access Memory
  • the processor performs the above steps S1 to S3 according to the program code stored in the computer readable storage medium.
  • modules or steps of the present application described above may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be executed by a computing device Implemented so that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately
  • the integrated circuit modules are implemented by making a plurality of modules or steps of them into a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • the embodiment of the present invention provides a link fault detection method and device.
  • the BFD can quickly detect the faults on the BMP link and notify the BMP.
  • the BMP link cannot be quickly perceived when the BMP link is abnormal.
  • the abnormal problem in turn, achieves the effect of making the BMP quickly perceive anomalies.

Abstract

L'invention concerne un procédé de détection de défaillance de liaison, qui consiste : à établir une liaison entre deux nœuds sur la base d'un BMP ; à détecter une défaillance de liaison de la liaison entre les deux nœuds sur la base d'un BFD ; et à traiter, sur la base du BMP, la défaillance de liaison détectée sur la base du BFD. Une défaillance d'une liaison du BMP peut être rapidement détectée au moyen du BFD, et le BMP est informé de la défaillance, de telle sorte que le problème d'incapacité à permettre au BMP de détecter rapidement une anomalie lorsque l'anomalie se produit dans la liaison du BMP dans l'état de la technique associé, est résolu, permettant ainsi d'obtenir l'effet permettant à un BMP de détecter rapidement une anomalie.
PCT/CN2016/081441 2015-08-28 2016-05-09 Procédé et appareil de détection de défaillance de liaison WO2017036165A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510542900.3 2015-08-28
CN201510542900.3A CN106487696B (zh) 2015-08-28 2015-08-28 链路故障检测方法及装置

Publications (1)

Publication Number Publication Date
WO2017036165A1 true WO2017036165A1 (fr) 2017-03-09

Family

ID=58186533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081441 WO2017036165A1 (fr) 2015-08-28 2016-05-09 Procédé et appareil de détection de défaillance de liaison

Country Status (2)

Country Link
CN (1) CN106487696B (fr)
WO (1) WO2017036165A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11916783B2 (en) 2020-04-29 2024-02-27 Huawei Technologies Co., Ltd. Information reporting method, information processing method, apparatus, and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557317B (zh) * 2018-06-01 2022-05-13 华为技术有限公司 管理虚拟专用网络的方法和设备
CN112583623B (zh) * 2019-09-30 2023-02-07 中兴通讯股份有限公司 过滤信息配置方法及系统
CN111934939B (zh) * 2020-09-17 2021-02-02 北京搜狐新媒体信息技术有限公司 一种网络节点故障检测方法、装置及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237409A (zh) * 2008-02-27 2008-08-06 华为技术有限公司 Mpls vpn中实现快速重路由的方法及设备
CN101459549A (zh) * 2007-12-14 2009-06-17 华为技术有限公司 链路故障处理方法及数据转发装置
CN102111325A (zh) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 链路故障快速检测方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800676A (zh) * 2010-02-20 2010-08-11 中兴通讯股份有限公司 链路检测方法、装置和系统
US8885484B2 (en) * 2011-07-25 2014-11-11 Alcatel Lucent Bootstrapping fault detection sessions over a P2MP tunnel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459549A (zh) * 2007-12-14 2009-06-17 华为技术有限公司 链路故障处理方法及数据转发装置
CN101237409A (zh) * 2008-02-27 2008-08-06 华为技术有限公司 Mpls vpn中实现快速重路由的方法及设备
CN102111325A (zh) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 链路故障快速检测方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, XUN ET AL.: "ZHONG1GUO2 YUN4YING2SHANG1 HU 4LIAN2WANG3 SDN BU4SHU3 SHI2JIAN4", COMMUNICATION WORLD WEEKLY, 5 April 2015 (2015-04-05) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11916783B2 (en) 2020-04-29 2024-02-27 Huawei Technologies Co., Ltd. Information reporting method, information processing method, apparatus, and device

Also Published As

Publication number Publication date
CN106487696A (zh) 2017-03-08
CN106487696B (zh) 2019-07-23

Similar Documents

Publication Publication Date Title
JP5913635B2 (ja) 冗長ネットワーク接続
JP4840236B2 (ja) ネットワークシステム及びノード装置
EP2725743B1 (fr) Procédé et dispositif de traitement d'informations de localisation d'un point de défaut
US9674285B2 (en) Bypassing failed hub devices in hub-and-spoke telecommunication networks
WO2017036165A1 (fr) Procédé et appareil de détection de défaillance de liaison
JP6792701B2 (ja) プライマリ・バックアップ疑似回線pw切替
US8824275B2 (en) Route calculating after switching occurs from a primary main control board to a standby main control board
WO2015184739A1 (fr) Procédé et dispositif de détection de défaut
CN107241208B (zh) 一种报文转发方法、第一交换机及相关系统
US10581669B2 (en) Restoring control-plane connectivity with a network management entity
CN109873719B (zh) 一种故障检测方法及装置
CN108933818B (zh) 通信方法及装置
CN103490951A (zh) 基于bfd的多跳链路中双向转发检测方法
WO2012119522A1 (fr) Procédé et appareil pour le traitement d'un défaut de liaison
CN108289044B (zh) 数据转发方法、确定静态路由的链路状态方法及网络设备
CN108259325B (zh) 路由维护方法和路由设备
WO2016070530A1 (fr) Procédé et système de traitement du fonctionnement d'un dispositif primaire et de veille
JP2009232263A (ja) 通信装置および障害監視方法
WO2016202015A1 (fr) Procédé et appareil de protection d'éléments de réseau d'accès actif et de réserve dans un réseau de communications de données
JP2011166245A (ja) ネットワークシステム、ゲートウェイ装置切替方法、第1のトンネル終端ゲートウェイ装置および第2のトンネル終端ゲートウェイ装置
CN106301835B (zh) 一种bfd建链的方法及其装置、路由器
WO2021018150A1 (fr) Procédé et appareil de détection de liaison
WO2016082343A1 (fr) Procédé et dispositif de détection de défaillance
JP6490167B2 (ja) 通信装置、通信方法、コンピュータプログラムおよび通信システム
US9025440B2 (en) Preventing upper layer renegotiations by making PPP aware of layer one switchovers

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

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

Country of ref document: EP

Kind code of ref document: A1