Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bidirectional forwarding detection method and device

A technology of bidirectional forwarding detection and detection cycle, which is applied in the field of network communication

Active Publication Date: 2020-09-11
NEW H3C SECURITY TECH CO LTD
View PDF25 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a bidirectional forwarding detection method and device to solve the problem in the prior art that MICRO-BFD needs to start the aggregation link and two devices need to support MICRO-BFD at the same time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bidirectional forwarding detection method and device
  • Bidirectional forwarding detection method and device
  • Bidirectional forwarding detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] In order to further overcome the above problems, the present disclosure provides a bidirectional forwarding detection method, such as figure 1 and figure 2 as shown, figure 1 In the network architecture diagram provided for this disclosure, the network includes a local device 100 and a peer device 200, and the local device 100 and the peer device 200 establish a link aggregation group through a Layer 2 port. The local device 100 shows that it includes port 1-1, port 1-2, port 1-3, port 1-4, port 1-5, and port 1-6, and the peer device 200 shows that it includes port 2-1, Port 2-2, port 2-3, port 2-4, port 2-5, port 2-6, port 1-1, port 1-2, port 1-3 are connected with port 2-1, port 2- 2. Ports 2-3 form an aggregated link as an example for description. figure 2 Flowchart of the publicly available bidirectional forwarding detection method. Specifically, the method includes: Step 202-Step 208.

[0036] Wherein, after the BFD ECHO mode is configured on the local devic...

Embodiment 2

[0049] In order to make the bidirectional forwarding detection method disclosed in the present disclosure easier to understand, this embodiment describes in detail the echo message associated with the receiving port.

[0050] In an optional way, such as image 3 As shown, the bidirectional forwarding detection method provided by the implementation of the present disclosure includes:

[0051] Step 302 and step 304, wherein step 302 and step 304 are the same as step 202 and step 204 in the above-mentioned embodiment, and will not be repeated here.

[0052] Step 306, described local equipment also records the source IP address of the echo message that sends, source port and the corresponding relation of described receiving port;

[0053] Step 308, before arriving at the detection period of the member port of the link aggregation group, determine the source IP address and the source port corresponding to the member port according to the correspondence;

[0054] Step 310: Determi...

Embodiment 3

[0074]For a link aggregation group, when a packet is sent, it will be hashed to a certain member port for transmission. Therefore, in order to implement BFD detection on the member port, it is necessary to enable the BFD echo packet to remain on the waiting list after hashing The detected member port is issued. For example, if the port to be detected is member port 1-1, the outbound port should also be determined to be member port 1-1 after performing hash processing on the BFD echo message. This ensures that the existing link aggregation group compatibility. Taking Table 1 as an example, if the BFD detection period of member port 1-1 is reached, the source IP address of the BFD echo packet sent from member port 1-1 is 10.0.0.1, and the source port is 1000. If the local device 100 The hash value determined according to the above source IP address and source port information is K, and the BFD echo message determined after the hash points to the outbound ports 1-5, and accordin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a bidirectional forwarding detection method and device. The method comprises the steps: by home terminal equipment, sending a preset number of BFD echo messages to opposite terminal equipment; receiving the echo message forwarded by the opposite terminal equipment; recording a receiving port, for receiving the echo message, of the home terminal equipment; and when the detection period of the member port of a link aggregation group is reached, sending an echo message associated with the receiving port to opposite terminal equipment through the receiving port which is thesame as the member port. Through a pretreatment process, the method records a receiving port of the sent echo message; therefore, the BFD echo message sent by the receiving port can still be receivedby the receiving port, so that the BFD echo message sent by the home terminal equipment and the received BFD echo message are the same member link, and the purpose of monitoring the member link of thelink aggregation group is achieved.

Description

technical field [0001] The present application relates to network communication technology, in particular to a bidirectional forwarding detection method and device. Background technique [0002] Link aggregation is a commonly used technology in modern data communication networks. Its main function is to expand the bandwidth between devices and increase the reliability and redundancy of links. In terms of fault detection, although dynamic link aggregation uses the link aggregation control protocol LACP (Link Aggregation Control Protocol, abbreviated as LACP), it can also play a role in fault detection, but its convergence time is generally slow, and the shortest convergence time is also 3 seconds, which cannot meet the requirements of modern networks. [0003] Therefore, as a general fault detection protocol, BFD (bidirectional forwarding detect, abbreviated as BFD) is also used in link aggregation to perform member port-level link protection on member ports in the aggregati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L5/00H04L29/12
CPCH04L43/08H04L43/12H04L43/0823H04L5/001H04L61/5007Y02D30/50
Inventor 武伟
Owner NEW H3C SECURITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products