当前位置:网站首页>Do you know what BFD is? This article explains the principle and usage scenarios of BFD protocol in detail
Do you know what BFD is? This article explains the principle and usage scenarios of BFD protocol in detail
2022-06-29 09:45:00 【The most iron headed net worker】
With the wide deployment of network applications , Network failure may lead to abnormal business . To reduce the link 、 The impact of equipment failure on business , Improve the reliability of the network , The network equipment needs to detect the communication failure with adjacent equipment as soon as possible , So as to take measures in time , To ensure the normal operation of the business .
BFD(Bidirectional Forwarding Detection, Two way forwarding detection ) Provides a generic 、 standardized 、 Media independent and protocol independent fast fault detection mechanism , For rapid detection 、 Monitor the links in the network or IP Forwarding connectivity status of the route .
In a system where a failure cannot be detected by a hardware signal , Applications usually use the upper layer protocol itself Hello Message mechanism detects network failure .
Common routing protocols Hello The message mechanism takes a long time to detect , The detection time exceeds 1 Second . When the data transmitted by the application in the network exceeds GB/s when , The detection time of seconds will lead to a large amount of loss of data transmitted by the application .
In a three-tier network , Static routing itself has no fault checking mechanism .

BFD Provides a generic 、 standardized 、 Media independent 、 Protocol independent fast fault detection mechanism , It has the following two advantages :
Provide light load for channels between adjacent forwarding engines 、 Fast fault detection .
Use a single mechanism for any medium 、 Any protocol layer performs real-time detection .
BFD It's a simple one “Hello” agreement . Establish... Between the two systems BFD Session channel , And send it periodically BFD Detection message , If a system does not receive the detection message from the opposite end within the specified time , It is considered that some part of the channel has failed .

BFD Detection is established between the two systems through maintenance BFD Session , The system sends BFD Message establishment session .
BFD The control message is encapsulated differently according to different scenarios , The message structure consists of mandatory part and optional authentication field .
BFD There are two ways to establish a session , Static establishment, i.e BFD Session and dynamic establishment BFD conversation .BFD Different sessions are distinguished by the local identifier and the remote identifier in the control message . Static and dynamic creation BFD The main difference in conversation is Local Discriminator and Remote Discriminator The configuration methods are different .

BFD Use scenarios
Static routing itself has no detection mechanism , If the static route has redundant paths , Through static routing and BFD linkage , When the primary path fails , Realize fast switching of static routes .
Static routing vs BFD Linkage is widely used , As shown in the figure below R1 It is the exit router of the campus network ,R1 Connect through two links ISP1 and ISP2, Under normal circumstances, the default route passes through a link that points to ISP1 The link to , When it comes to ISP1 When the link fails ,BFD The conversation can quickly perceive , And notify the router to switch the traffic to ISP2 The link to .

OSPF In unbound BFD Under the circumstances , The link fault detection time is determined by the protocol Hello The mechanism decides , Usually in seconds . By binding BFD, Millisecond level fault detection can be realized .
BFD And OSPF Linkage means that BFD and OSPF The agreement is linked , BFD Inform... Of the quick detection result of link failure OSPF agreement .

边栏推荐
- Deep Learning-based Automated Delineation of Head and Neck Malignant Lesions from PET Images
- Find the most repeated element in the string
- UE4 在4.20-23版本安装Datasmith插件
- Lc236. nearest common ancestor of binary tree
- kdevelop新建工程
- Recursive RBAC menu level display infinite classification
- 五心公益红红娘团队
- UE4 display 3D editable points in Viewport
- Pytorch summary learning series - data manipulation
- The principle of session and cookie
猜你喜欢

用户级线程和内核级线程

UE4 材质UV纹理不随模型缩放拉伸

Lc236. nearest common ancestor of binary tree

Gross Tumor Volume Segmentation for Head and Neck Cancer Radiotherapy using Deep Dense Multi-modalit

Fully Automated Gross Tumor Volume Delineation From PET in Head and Neck Cancer Using Deep Learning

UE4 在viewport视口中显示3D可编辑点

基于keil5自动配置stm32f103标准库的官网freertos移植

UE4 VS的Visual Assist插件设置

Have you done the network security "physical examination" this year?

Closed door cultivation (24) shallow understanding of cross domain problems
随机推荐
通用分页框架
Leetcode skimming -- teponacci sequence
Twinmotion 初学者教程
UE4 material UV texture does not stretch with model scale
Kicad learning notes - shortcut keys
Idea auto completion
长安链GO语言智能合约编写与编译
Factory mode
数据治理:数据治理在数据中台下的解决方案
GD32F4xx 以太網芯片(enc28j60)驅動移植
Reading notes on how to connect the network - Web server request and response (IV)
How to set Google Chrome as the default browser
ISO16000-9建筑产品和家具中挥发性有机物的测试
UE4 compile a single file (VS and editor start respectively)
UE4 display 3D editable points in Viewport
Official STM32 chip package download address stm32f10x stm32f40x Download
Self cultivation (XXI) servlet life cycle, service method source code analysis, thread safety issues
数据可视化:数据可视化四象限,教你正确应用图标
云管理平台:9大开源云管理平台(CMP)
深入RC、RS、DaemonSet、StatefulSet(七)