当前位置:   article > 正文

OSPF-bfd静态的主备线路切换_ospf主备链路切换

ospf主备链路切换

拓扑

standby配置

ospf 1 router-id 172.16.191.13

default-route-advertise permit-calculate-other#表示在发布缺省路由后,仍允许计算其他交换机发布的缺省路由

area 0.0.0.0

network 172.16.191.8 0.0.0.3

network 172.16.191.12 0.0.0.3

#

bfd tocore bind peer-ip 172.16.1.3 source-ip 172.16.191.9#对端配置相应的bfd配置

discriminator local 90

discriminator remote 100

commit

ip route-static 0.0.0.0 0.0.0.0 172.16.191.10 track bfd-session tocore

ip route-static 172.16.1.3 255.255.255.255 172.16.191.10 #强制bfd路径

Master配置

ospf 1 router-id 172.16.191.14

default-route-advertise permit-calculate-other

area 0.0.0.0

network 172.16.191.12 0.0.0.3

network 172.16.191.16 0.0.0.3

ip route-static 0.0.0.0 0.0.0.0 172.16.191.18 preference 160

模拟测试

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/675627
推荐阅读
相关标签
  

闽ICP备14008679号