Got it

BFD Bidirectional Forwarding Detection

Latest reply: Apr 12, 2022 22:56:28 134 7 5 0 0

BFD Bidirectional Forwarding Detection

    Hello, today I want to share something about BFD with you.

1 Introduction

    BFD: Bidirectional Forwarding Detection. Its purpose is to provide a unified network-wide detection mechanism for fast detection and monitoring the forwarding connectivity of links or IP routes in a network. At the same time, its function is to improve network performance, to detect communication failure quickly between adjacent systems, and to set up a standby channel to resume communication more quickly.

2 How BFD works

2.1 Set up a session

2.1.1 Static Session

    BFD detection sessions are established on both sides, and BFD detection packages like "hello" packages are sent to each other. Different BFD sessions are distinguished by local identifiers and remote identifiers in the BFD control message.The specific steps are:

(1) --- Open BFD session

(2) --- Create BFD Session Name

(3) --- Specify the address of the detection source

(4) --- Specify local and remote BFD session identifiers

(5)--- Activate/Download BFD Sessions

2.1.2 Dynamic Sessions

    Dynamic BFD linkage is triggered by a variety of routing protocols (such as RIP, OSPF). The local identifier and remote identifier are processed as follows when a BFD session is established.

(1) - Dynamic allocation of local identifiers;

(2) - Dynamic learning of remote identifiers.

1--- Open BFD session

2--- Open BFD linkage with application protocol (automatic creation of BFD sessions, source purpose of BFD sessions, dynamic downloading of local identifiers, dynamic learning of peer-to-peer identifiers)

2.2 Inspection Method

(1) Asynchronous mode: BFD control packages are sent periodically between systems. If no BFD control packages are received from the peers within a certain system detection time, the session down is judged and the linkage application is informed to perform the corresponding policy actions.

(2) Query mode: Each system has a separate method to confirm the system to which it is connected. Once a session is established, the system stops sending control messages. It will announce the session as down only if it needs to verify the connectivity visually, send a short series of control packages, and receive no returned messages within the detection time.

2.3 Session state: Down, Init; Up; AdminDown

2.3.1 Down:

Start a local BFD session with an initial state of Down; Send BFD message with Down status

2.3.2 Init:

Init to the neighbor after receiving a BFD message with the neighbor state of Down; Send BFD message with Init status

2.3.3 Up:

Up to neighbor after receiving BFD message with neighbor state of Init; The local-to-neighbor session is established.

2.3.4 AdminDown:

(1) When a fault is detected, the first perception is that a BFD message with AdminDown status will be sent from the fault end;

(2) When the peer receives this message, the BFD message will be downloaded, and the BFD session will be closed to inform the connected upper application of the execution action.

(3) When the source receives a BFD message with the state of Down on the other end, it closes the BFD session on the other end and informs the connected upper application of the execution action.That's all for today. It focuses on what BFD is and how it works.

I hope you enjoy today's article.


This article contains more resources

You need to log in to download or view. No account? Register

x

The post is synchronized to: Community Blog

Hi, @user_4147187

Because your article was very valuable and qualitative, we've decided to feature it on our Blog collection: https://forum.huawei.com/enterprise/en/forum.php?mod=collection&action=view&ctid=431

Congrats!

View more
  • x
  • convention:

Due to a problem, I can't send text directly, so I exported it as a picture. The PDF of this article has been attached.
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created 2022-3-31 00:25 (0) (0)
 
Good
View more
  • x
  • convention:

BFD Bidirectional Forwarding Detection-4828271-1
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Hi, @user_4147187

Because your article was very valuable and qualitative, we've decided to feature it on our Blog collection: https://forum.huawei.com/enterprise/en/forum.php?mod=collection&action=view&ctid=431

Congrats!

View more
  • x
  • convention:

Posted by Irina at 2022-04-12 20:21 Hi, @user_4147187 Because your article was very valuable and qualitative, we've decided to feature i ...
Thanks
I will continue to work hard.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.