使用BFD检测EBGP邻居
在广域网BGP环境中,通常使能BFD以快速实现链路故障后的路由的主动收敛。
BFD使用UDP在链路上进行双向检测,BFD有Echo mode和asynchronous mode两种模式,默认为Echo mode,Echo mode 出去后回到原点,源和目的相同源目端口相同3785,Asynchronous mode 源不一致 源地址自己直连口或者route-id口,目的是remote地址,源目端口不同3785和49152。
BFD的周期发送时间的单位为毫秒,1s=1000ms,默认的取值范围为50-999ms之间,一般项目中建议设置250ms。
BGP协议中BFD检测EBGP邻居关系的配置步骤如下:
step1:使能EBGP邻居关系物理直连接口的BFD功能
============================================
!
interface GigabitEthernet3
ip address 10.201.1.5 255.255.255.252
negotiation auto
cdp enable
bfd interval 500 min_rx 250 multiplier 3
end
step2:在BGP协议进程下对EBGP邻居使能bfd检测
===========================================
neighbor 10.201.1.6 remote-as 65001
neighbor 10.201.1.6 password cisco
neighbor 10.201.1.6 fall-over bfd
neighbor 10.201.1.6 send-community
neighbor 10.201.1.14 remote-as 65002
neighbor 10.201.1.14 password cisco
neighbor 10.201.1.14 fall-over bfd
neighbor 10.201.1.14 send-community
step3:查看bfd的邻居关系是否正常建立
===========================================
XRV6#show bfd neighbors
IPv4 Sessions
NeighAddr LD/RD RH/RS State Int
10.201.1.6 4101/4097 Up Up Gi3
10.201.1.14 4100/4097 Up Up Gi4
XRV6#
最新文章
- Fig 应用编排
- mysql安装和mysql图形界面安装以及文本文件导入mysql
- CentOS的网络配置(终端环境)
- 【FAQ】【JSP】HTTP Status 500 - Summary(问题排查时候应该仔细分析所有的错误打印说明)
- SQL server2012连接不上
- Spring二 Bean详解
- cf443A Anton and Letters
- hdu 2851(最短路)
- Codeforces Round#201(div1) D. Lucky Common Subsequence
- 20155304 实验一《Java开发环境的熟悉》实验报告
- 开涛spring3(3.4) - DI 之 3.4 Bean的作用域
- AngularJS 1.3中的一次性数据绑定(one-time bindings)
- 如何在MD(d)和MT(d)工程间正确分配和释放动态内存
- 分别使用POI和JXL导出数据到Excel
- maven项目springmvc导包失败-JsonProcessingException
- 在 ASP.NET CORE 中使用 SESSION (转载)
- ubuntu sublime 破解
- ARM:移动GPU往PC GPU效能迈进
- ffmpeg h264+ts +(sdl)显示方式
- Codeforces Round #525 Div. 2 自闭记