HCIP-3.4 OSPF联动BFD

数通
HCIP-3.4 OSPF联动BFD-下一朵云

OSPF配置:

R1:

ospf 1 router-id 1.1.1.1
 area 0
  network 1.1.1.0 0.0.0.255
  net 21.1.1.0 0.0.0.255
  net 12.1.1.0 0.0.0.255

R2:

ospf 1 router-id 1.1.1.2
 area0
  net 2.2.2.0 0.0.0.255
  net 12.1.1.0 0.0.0.255
  net 21.1.1.0 0.0.0.255
dis ip routing-table protocol ospf

OSPF 40秒收敛,10s一次Hello包,2倍时间故障检测。接口down立即收敛。

修改备份链路cost

R1:

int e0/0/1
 ospf cost 3

R2:

int e0/0/1
 ospf cost 3
int e0/0/0
 ospf timer hell0 <1-65535> // 最低1秒,4秒收敛最快

联动BFD

R1:

bfd  // 先启动bfd
opsf 1
 bfd all-interface enable 
 // 所有位于ospf的接口全部启用bfd
int e0/0/0
 ospf bfd enable 
 // 只在一个接口下启用bfd

R2:

bfd
 ospf 1
  bfd all-interface enable
  bfd all-interface [min-tx-interval|min-rx-inreval] <100-1000>  // bfd心跳时间 ms

调试命令

dis bfd session dynamic // 查看动态bfd会话
dis bfd session dynamic verbose
dis ospf bfd session all
版权声明:本文为下一朵云发布文章,转载请附上原文出处链接和本声明。
本文链接:https://www.orcy.net.cn/3679.html

​ 广告:HCIE-Security认证课程辅导资料(付费)

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注