当前位置:网站首页>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 .

边栏推荐
- 数据仓库:金融/银行业的分层架构篇
- General part: cognition, design and best practice of prototype design
- 自定义mvc框架实现
- 爱快安装或重置后,PC或手机端获取不到ip
- The former security director of Uber faced fraud allegations and had concealed data leakage incidents
- 基於PyQt5和Qt Designer的簡易加法計算器的制作
- UE4 blueprint modify get a copy in array to reference
- # 《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(四)
- Data governance: Metadata Management (Part 2)
- 《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(五)
猜你喜欢

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

Deep Learning-based Automated Delineation of Head and Neck Malignant Lesions from PET Images

UE4 compile a single file (VS and editor start respectively)

ThinkPHP 6 uses mongodb

UE4 去掉材质中Mask透明白边

UE4 animation redirection

数据处理时代,数据质量建设才是企业的生存之道

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

MySQL configuring master-slave databases

Five heart charity matchmaker team
随机推荐
Wechat applet search keyword highlighting and ctrl+f search positioning
【NOI模拟赛】为NOI加点料(重链剖分,线段树)
How to set Google Chrome as the default browser
Official STM32 chip package download address stm32f10x stm32f40x Download
IDEA调试失败,报JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
Recursive RBAC menu level display infinite classification
数据治理:数据标准管理(第三篇)
长安链GO语言智能合约环境搭建及使用
es报错NoNodeAvailableException[None of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]
Laravel 8 enables the order table to be divided by month level
Pytorch learning summary - memory cost of operation
Easyexcl export 1million lines of EXECL report font error solution
如何将谷歌浏览器设置为默认浏览器
LeetCode刷题——泰波那契数列
UE4 在4.20-23版本安装Datasmith插件
证券账号开户安全吗?是靠谱的吗?
Closed door cultivation (24) shallow understanding of cross domain problems
UE4 编译单个文件(VS与编辑器分别启动)
UE4 plug-in reports an error cannot open include file: 'modulemanager H 'resolve
UE4 remove the mask transparent white edge in the material