【每日一记11】第13天:BFD工作原理学习
  

新手727241 1981

{{ttag.title}}
      OSPF BFD 联动典型配置举例
    组网需求
Router A、Router B 通过二层交换机 switch 互连,在设备上运行 OSPF 协议来建立路由,同时 使能允许OSPF 在双方接口上关联 BFD 应用。在 Router B 和二层交换机 swicth 之间的链路发 生故障后,BFD 能够快速检测并通告 OSPF 协议,触发协议快速收敛。
   组网拓扑


1)      配置RouterA
#在 RouterA 配置 Routed Port 接口、接口 IP、接口的 BFD 会话参数
某公司# configure terminal
Enterconfiguration commands, one per line. End withCNTL/Z. 某公司(config)# interface GigabitEthernet2/1
某公司(config-if)#no switchport
某公司(config-if)# ip address 192.168.3.1 255.255.255.0
某公司(config-if)# bfd interval 200 min_rx 200 multiplier 5
# 配置 RoutedPort 接口 ge1/1
某公司(config-if)# exit
某公司(config)#interface GigabitEthernet1/1 某公司(config-if)#no switchport
某公司(config-if)# ip address 192.168.1.1 255.255.255.0
#启用 OSPF 协议并使能 OSPF 协议关联 BFD 来检测 192.168.3.2 邻居
某公司(config-if)# exit
某公司(config-router)# router ospf 123

某公司(config-router)# log-adjacency-changes detail
某公司(config-router)# network 192.168.3.0 0.0.0.255 area 0
某公司(config-router)#network 192.168.1.0 0.0.0.255 area 0 某公司(config-router)# bfd all-interfaces
某公司(config-router)# end
某公司#
2)       配置 RouterB
#在 RouterB 配置 Routed Port 接口、接口 IP、接口的 BFD 会话参数
某公司# configure terminal
Enterconfiguration commands, one per line. End withCNTL/Z. 某公司(config)# interface GigabitEthernet 2/1
某公司(config-if)#no switchport
某公司(config-if)# ip address 192.168.3.2 255.255.255.0
某公司(config-if)# bfd interval 50 min_rx 50 multiplier 3
# 配置 RoutedPort 接口 ge1/1
某公司(config-if)# exit
某公司(config)#interface GigabitEthernet1/1 某公司(config-if)# no switchport
某公司(config-if)# ip address 192.168.2.1 255.255.255.0
#启用 OSPF 协议并使能 OSPF 协议关联 BFD 来检测 192.168.3.1 邻居
某公司(config-if)# exit
某公司(config-router)#router ospf 123 某公司(config-router)#log-adjacency-changes detail
某公司(config-router)# network 192.168.3.0 0.0.0.255 area 0
某公司(config-router)#network 192.168.2.0 0.0.0.255 area 0 某公司(config-router)# bfd all-interfaces
某公司(config-router)# end
某公司#

打赏鼓励作者,期待更多好文!

打赏
暂无人打赏

sxfusr 发表于 2020-9-15 01:06
  
打卡学习
新手262779 发表于 2020-9-14 15:01
  
感谢分享
一一氵 发表于 2020-9-14 15:01
  
打卡学习
sxfusr 发表于 2020-9-14 14:51
  
打卡学习
gqce 发表于 2020-9-14 09:54
  
感谢分享
发表新帖
热门标签
全部标签>
每日一问
新版本体验
安全效果
功能体验
产品连连看
标准化排查
纪元平台
高手请过招
社区新周刊
GIF动图学习
信服课堂视频
【 社区to talk】
秒懂零信任
平台使用
故障笔记
畅聊IT
答题自测
专家问答
技术笔记
技术圆桌
在线直播
MVP
网络基础知识
安装部署配置
升级
安全攻防
上网策略
测试报告
日志审计
问题分析处理
流量管理
每日一记
运维工具
用户认证
原创分享
解决方案
sangfor周刊
VPN 对接
项目案例
SANGFOR资讯
专家分享
技术顾问
信服故事
SDP百科
功能咨询
终端接入
授权
设备维护
资源访问
地址转换
虚拟机
存储
迁移
排障笔记本
产品预警公告
玩转零信任
S豆商城资讯
技术争霸赛
「智能机器人」
追光者计划
2023技术争霸赛专题
卧龙计划
华北区拉练
天逸直播
以战代练
技术晨报
技术盲盒
山东区技术晨报
文档捉虫
齐鲁TV
华北区交付直播
每周精选
2024年技术争霸赛
北京区每日一练
场景专题
排障那些事
西北区每日一问
升级&主动服务
高频问题集锦
POC测试案例
全能先锋系列
云化安全能力
专家说
热门活动
产品动态
行业实践
产品解析
关键解决方案

本版达人

feeling

本周分享达人

新手29676...

本周提问达人