WO2012062069A1 - Procédé et dispositif pour envoyer un message de détection de réacheminement bidirectionnel - Google Patents

Procédé et dispositif pour envoyer un message de détection de réacheminement bidirectionnel Download PDF

Info

Publication number
WO2012062069A1
WO2012062069A1 PCT/CN2011/071466 CN2011071466W WO2012062069A1 WO 2012062069 A1 WO2012062069 A1 WO 2012062069A1 CN 2011071466 W CN2011071466 W CN 2011071466W WO 2012062069 A1 WO2012062069 A1 WO 2012062069A1
Authority
WO
WIPO (PCT)
Prior art keywords
bfd
link
sending
port
state
Prior art date
Application number
PCT/CN2011/071466
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 WO2012062069A1 publication Critical patent/WO2012062069A1/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 and a device for transmitting a bidirectional forwarding detection message.
  • Bidirectional Forwarding Detection is a link fault detection method that provides low-load, fast failure detection between two systems, including direct physical links, virtual circuits, tunnels, and more. Jump routing paths, etc. BFD can also be understood as a simple "Hello" protocol, which is similar to the detection part of the routing protocol in many aspects.
  • a BFD protocol is periodically sent on each path between a pair of systems. Once a system receives a packet for a sufficient period of time, it can determine that there is a problem with its two-way path to the neighbor.
  • multiple links for example, multi-port aggregation
  • BFD packets are only sent out from one physical port. Which physical port is sent out depends on the policy set by the corresponding link aggregation protocol. In this case, when the sending port of the BFD protocol packet is faulty, the link aggregation switching rate is slower (more than 50 ms), and the BFD can provide the 10 ms level detection. The BFD false alarm detection chain may occur. The road failure causes the upper layer protocol to be miscut. Of course, in order to avoid mis-choice, the BFD detection period can be increased to ensure that the link fault is not reported in the BFD session during link aggregation switching. However, this will reduce the timeliness of BFD detection link failures and prolong network convergence time, which in turn affects services.
  • a primary object of the present invention is to provide a scheme for transmitting a bidirectional forwarding detection packet, so as to at least solve the problem that the stability of the BFD session cannot be maintained when the multilink is directly connected in the related art.
  • a method for transmitting a bidirectional forwarding detection BFD message includes the following steps: After the BFD session is established between the device on the receiving end and the device at the receiving end to establish a BFD session, the device on the sending end searches for the member in the active state of the link aggregation port. The port device sends the BFD packet to the receiving device through the discovered member port.
  • the sending end device sends the BFD 4 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇
  • the sending device sends the information of the member switch from the active to the inactive member port from the BFD packet sending list.
  • the sender device adds the status of the member port that is inactive to the active member port in the BFD packet sending list. information.
  • the number of repeated detections of the BFD session is greater than or equal to the total number of current member links.
  • a transmitting device for bidirectionally forwarding and detecting a BFD message includes: a searching module, configured to: after establishing a BFD session with the receiving device to complete a BFD session, the member port in the link aggregation port is activated; The BFD packet is sent to the receiving device through the discovered member port.
  • the lookup module comprises: a recording unit configured to store the found member port in an activated state.
  • the sending device further includes: an updating module, configured to update the found active member port stored in the recording unit in a case where the activation state of the member link of the link aggregation protocol advertised aggregation link is changed record of.
  • the number of repeated detections of the BFD session is greater than or equal to the total number of current member links.
  • FIG. 2 is a structural block diagram of a device for transmitting a bidirectional forwarding detection message according to an embodiment of the present invention
  • Figure 4 is a schematic diagram of a direct connection between a router A and a router B through an aggregation link according to an embodiment of the present invention
  • Figure 5 is a schematic diagram of a BFD packet transmission link entry according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a BFD packet transmission link table update according to an embodiment of the present invention
  • FIG. 8 is a flowchart of an aggregation chain according to an embodiment of the present invention
  • a method for transmitting a bidirectional forwarding and detecting BFD packet includes the following steps: Step S102: After the BFD session is established between the transmitting device and the receiving device, The sending device searches for the member port in the link aggregation port that is in the active state. In step S104, the sending device sends the BFD packet to the receiving device through the discovered member port.
  • Step S102 After the BFD session is established between the transmitting device and the receiving device, The sending device searches for the member port in the link aggregation port that is in the active state.
  • step S104 the sending device sends the BFD packet to the receiving device through the discovered member port.
  • the sender device can record the found member port in the active state, and send the BFD packet to the receiving device by using the found member port in the active state.
  • the method can enable the sending device to send BFD packets in sequence according to the order of the member ports that are found to be in the active state, which improves the stability of the system.
  • the link aggregation protocol advertises that the activation state of the member link of the aggregated link changes
  • the sender device updates the found record of the member port in the activated state. This method can improve the effectiveness of the system.
  • the sending end device records the found member port in the activated state, and the sending device stores the information of the member port in the activated state in the BFD packet sending list.
  • the method is simple to implement and has high operability.
  • the sending device in the case that the link aggregation protocol advertises that the state of the member link of the aggregation link is switched from activated to inactive, the sending device sends the information of the member switch from the active to the inactive member port from the BFD packet sending list.
  • the link aggregation protocol advertises that the status of the member link of the aggregated link is changed from inactive to active
  • the sender device adds the status of the member port that is inactive to the active member port in the BFD packet sending list. information.
  • the embodiment of the present invention further provides a device for transmitting a bidirectional forwarding detection BFD message
  • FIG. 2 is a structural block diagram of a device for transmitting a bidirectional forwarding detection message according to an embodiment of the present invention, as shown in FIG.
  • the sending device 20 includes: a searching module 22, configured to: after the BFD session is established with the receiving device to establish a BFD session, the member port that is in the active state of the link aggregation port is searched; the sending module 24 is coupled to the searching module 22, and is configured.
  • the BFD 4 message is sent to the receiving device through the discovered member port in turn.
  • the device is configured to send the BFD packets to the member ports that are in the active state on the link aggregation port. This solves the problem that the stability of the BFD session cannot be maintained during the multi-link direct connection. The processing power and performance of the system.
  • the search module 22 includes: a recording unit 222 configured to store the found member ports in an activated state.
  • the transmitting device 20 further includes: an updating module 26 coupled to the recording unit 222, configured to update the storage in the recording unit 222 in the case where the activation state of the member link of the link aggregation protocol advertised aggregation link is changed.
  • the number of repeated detections of the BFD session is greater than or equal to the total number of current member links.
  • the first embodiment of the present invention is to overcome the problem that the BFD session cannot be kept stable in the scenario of the multi-link direct connection in the prior art, and the BFD session state does not oscillate when a part of the link fails.
  • the upper layer protocol will not be mistaken, and the business will not be interrupted.
  • the method can be applied to the transmitting device (the communication between the transmitting device and the receiving device is performed by using at least two direct links), and the method includes the following steps: Step 1: Performing BFD negotiation through two devices directly connected by multiple links , Establish a BFD session.
  • the number of current links is not greater than the number of repeated detections of the BFD session.
  • the total number of member links can be determined by the current network configuration.
  • Step 2 The sender device traverses the member links of the active link (that is, the active state) of the aggregated link, and sends BFD packets to the receiving device from one of the active member links.
  • Step 3 The link aggregation protocol advertises that the member link status of the aggregated link is changed (the active link is switched to the inactive link or the active link is added), and the sender device updates the member link of the aggregated link to send BFD packets. set.
  • the embodiment of the present invention is a method for ensuring the stability of a BFD session in a multi-link direct connection scenario, and the method can prevent the BFD packet transmission in the multi-link direct connection scenario from being dependent on the link aggregation protocol setting.
  • the policy is such that in the case of partial link state switching, the BFD session state remains stable, the upper layer application protocol is not miscut, and the service is not interrupted.
  • the method can detect the fault in time, notify the upper layer protocol to switch quickly, and ensure that the service traffic is restored in the shortest time.
  • the second embodiment of the present invention provides a method for sending BFD packets.
  • the specific link sent by the BFD packet is no longer dependent on the policy set by the link aggregation protocol, but is in turn from all members of the aggregation link.
  • a link in the link is sent out.
  • the stability of the BFD session can be ensured even if some member links fail. For example, considering that the BFD detection session is based on the fact that the BFD packet sent by the peer is not received within the detection period of the number of times of the detection, the M-1 members of the link are aggregated under extreme conditions. If the link fails, the peer will not receive the BFD 4 message sent by the peer within the (m-1)* detection period.
  • FIG. 4 is a schematic diagram of a direct connection between a router A and a router B through an aggregation link according to an embodiment of the present invention.
  • the embodiment of the present invention is a method for ensuring stability of a BFD session in a multi-link direct connection scenario. The device is applied to the sender device, where the sender device and the receiver device communicate with each other through at least two direct links.
  • FIG. 5 is a schematic diagram of a BFD packet sending link entry according to an embodiment of the present invention.
  • a device sends a BFD packet transmission link table, and the entry is as shown in FIG. 5 .
  • the S9300 needs to traverse all BFD packets sent by the same multi-link aggregation port to send BFD packets from an active member port.
  • FIG. 6 is a flowchart of creating a BFD packet transmission link table according to an embodiment of the present invention. As shown in FIG. 6, first, the device needs to create a BFD packet transmission link table, and the following steps are included: Step S602: The device traverses all member ports of the multilink aggregation port.
  • Step S604 During the traversal process, the device adds the member port in the active state to the BFD packet transmission link table according to the entry shown in FIG. 5.
  • Step S606 The first entry corresponding to the multi-link aggregation port in the BFD packet sending link table is set to send the packet identifier. The next packet of the BFD session is sent from the active member port recorded in the entry.
  • FIG. 7 is a flowchart of a BFD packet transmission link table update according to an embodiment of the present invention.
  • the method includes the following steps: Step S702: The link aggregation protocol advertises a member link of an aggregated link. The state of the change has changed. Step S704, determining the current state of the member link. If the member link advertised by the link aggregation protocol is inactive, the process proceeds to step S706; otherwise, the process proceeds to step S712.
  • Step S706 The link aggregation entry and the member port advertised by the link aggregation protocol are used to find a corresponding BFD packet transmission link table entry.
  • Step S708 If the BFD packet sending link entry is set to send the packet identifier, clear the packet identifier, and find the next entry in the BFD packet sending link table and set the packet identifier.
  • step S710 the found BFD packet transmission link entry is deleted from the BFD packet transmission link table.
  • Step S712 Add the aggregate link port and the active member port advertised by the link aggregation protocol to the BFD packet transmission link table.
  • Step S714 If all the entries in the aggregation link port advertised by the link aggregation protocol in the BFD packet sending link table are not marked with the sending packet identifier, the newly added entry is marked with the sending packet identifier.
  • Preferred Embodiment 4 This embodiment provides a method for transmitting BFD packets. The following describes in detail the process for the transmitting device to send BFD packets using the method.
  • FIG. 8 is a flowchart of sending BFD packets in an aggregated link scenario according to an embodiment of the present invention. As shown in FIG. 8, the method includes the following steps: Step S802: After the BFD session negotiation succeeds, the BFD session needs to be sent from the link aggregation port.
  • the BFD packet is sent to the link aggregation port to find the entry that sends the packet identifier in the link table of the BFD packet.
  • the BFD session is sent from the active member port recorded in the found entry.
  • Step S806 Find the next entry under the same link aggregation port according to the found entry, and set the outgoing packet identifier.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

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é et un dispositif pour envoyer un message de détection de réacheminement bidirectionnel (BFD). Ce procédé comprend les étapes suivantes : un dispositif côté transmission cherche les ports membres à l'état actif dans des ports d'agrégation de liaisons, après la terminaison d'une négociation BFD, et des sessions BFD sont établies par le dispositif côté transmission et par le dispositif côté réception. le dispositif côté transmission envoie à son tour un message au dispositif côté réception par les ports membres trouvés à l'état actif. Cette invention permet d'améliorer la capacité de traitement et l'efficacité du système.
PCT/CN2011/071466 2010-11-09 2011-03-02 Procédé et dispositif pour envoyer un message de détection de réacheminement bidirectionnel WO2012062069A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105463158A CN101989953A (zh) 2010-11-09 2010-11-09 双向转发检测报文的发送方法及设备
CN201010546315.8 2010-11-09

Publications (1)

Publication Number Publication Date
WO2012062069A1 true WO2012062069A1 (fr) 2012-05-18

Family

ID=43746304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071466 WO2012062069A1 (fr) 2010-11-09 2011-03-02 Procédé et dispositif pour envoyer un message de détection de réacheminement bidirectionnel

Country Status (2)

Country Link
CN (1) CN101989953A (fr)
WO (1) WO2012062069A1 (fr)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532856A (zh) * 2013-10-23 2014-01-22 杭州华三通信技术有限公司 一种报文传输方法和设备
CN103825839B (zh) * 2014-03-17 2017-12-29 新华三技术有限公司 一种基于聚合链路的报文传输方法和设备
CN104506546B (zh) * 2014-12-30 2018-06-15 新华三技术有限公司 一种聚合链路的双向转发检测方法和装置
CN108418798B (zh) * 2018-02-01 2020-10-30 烽火通信科技股份有限公司 一种bfd慢协商实现系统及实现方法
CN109039746B (zh) * 2018-08-07 2022-02-25 新华三技术有限公司 检测双向转发路径检测会话状态的方法及处理器
CN111654407B (zh) * 2020-04-14 2022-05-27 新华三信息安全技术有限公司 一种堆叠系统及其双向转发检测方法
CN112804116B (zh) * 2020-06-30 2023-02-17 中兴通讯股份有限公司 链路检测方法、电子设备、计算机可读介质
CN113472642B (zh) * 2021-06-10 2023-06-13 新华三信息安全技术有限公司 一种保护切换方法及装置
CN113472648B (zh) * 2021-06-18 2023-10-24 新华三信息安全技术有限公司 一种双向转发检测bfd方法及装置、网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913457A (zh) * 2005-08-10 2007-02-14 华为技术有限公司 对双向转发链路进行故障检测的方法
CN101079759A (zh) * 2007-07-24 2007-11-28 杭州华三通信技术有限公司 分布式双向转发检测方法及设备
US20090010171A1 (en) * 2007-07-05 2009-01-08 Cisco Technology, Inc. Scaling BFD sessions for neighbors using physical / sub-interface relationships
CN101395853A (zh) * 2006-03-02 2009-03-25 思科技术公司 有效地动态维护一束链路上的双向转发检测的技术

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913457A (zh) * 2005-08-10 2007-02-14 华为技术有限公司 对双向转发链路进行故障检测的方法
CN101395853A (zh) * 2006-03-02 2009-03-25 思科技术公司 有效地动态维护一束链路上的双向转发检测的技术
US20090010171A1 (en) * 2007-07-05 2009-01-08 Cisco Technology, Inc. Scaling BFD sessions for neighbors using physical / sub-interface relationships
CN101079759A (zh) * 2007-07-24 2007-11-28 杭州华三通信技术有限公司 分布式双向转发检测方法及设备

Also Published As

Publication number Publication date
CN101989953A (zh) 2011-03-23

Similar Documents

Publication Publication Date Title
CN111587580B (zh) 内部网关协议洪泛最小化
WO2012062069A1 (fr) Procédé et dispositif pour envoyer un message de détection de réacheminement bidirectionnel
US9264302B2 (en) Methods and systems with enhanced robustness for multi-chassis link aggregation group
Sharma et al. In-band control, queuing, and failure recovery functionalities for openflow
KR102118687B1 (ko) SDN(Software-defined networking)에서 네트워크 장애 해소를 위한 컨트롤러 및 스위치의 동작 방법과, 이를 위한 컨트롤러 및 스위치
JP6165850B2 (ja) ダウンストリーム通知パケットを用いたプロトコル独立マルチキャスト(pim)高速再ルーティング方法論の強化
JP5666590B2 (ja) ブロードキャストネットワークについてのldp及びigpの同期
EP2404397B1 (fr) Synchronisation ldp-igp pour réseaux de diffusion
EP3373547A1 (fr) Procédé, dispositif et système pour réaliser une sauvegarde de tolérance aux sinistres
US10439880B2 (en) Loop-free convergence in communication networks
WO2009018728A1 (fr) Réseau en anneau ip, dispositif de routage de réseau en anneau et procédé pour transmettre un message
EP2686988A1 (fr) Procédé et appareil pour un reroutage rapide de paquets ldp
US8817601B2 (en) HVPLS hub connectivity failure recovery with dynamic spoke pseudowires
WO2011100882A1 (fr) Procédé, appareil et système de détection de liaison
CN102780635B (zh) 基于trill网络实现保护倒换的方法、tor交换机及系统
JP2015521449A (ja) アップストリームアクティベーションパケットを用いたpim高速再ルーティングへの強化
JP2015521448A (ja) 階層的で冗長なマルチキャストルーティングにおける障害カバレッジの増加
CN111385138B (zh) 用于拼接多宿主evpn和l2电路的逻辑隧道的核心隔离
WO2008083590A1 (fr) Procédé et appareil de convergence rapide d'un service point à point
EP2974166A1 (fr) Procédé et appareil pour un reroutage rapide ip/mpls
JP2021532679A (ja) 通信方法、通信機器、および通信システム
JP2004159146A (ja) 通信ネットワーク及びパケット転送装置
KR20120134466A (ko) 메쉬 네트워크 노드 및 그의 데이터 전송 방법
US20220070084A1 (en) Method and system to prevent micro-loops during a network topology change
JP5518771B2 (ja) 冗長ネットワークシステム、終端装置及び中継点隣接装置

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

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

Country of ref document: EP

Kind code of ref document: A1