思科BFD配置&详细解释 | 您所在的位置:网站首页 › 思科交换机怎么配置静态路由 › 思科BFD配置&详细解释 |
文章目录
前言一、静态路由&关联BFD1.图示2.BFD&静态路由配置3.使用BFD协议达到双出口冗余
二、OSPF路由&关联BFD1.图示2.配置说明
总结
前言
BFD(Bidirectional Forwarding Detection,双向转发检测)协议提供一种轻负载、快速检测两台邻接路由器之间转发路径连通状态的方法。协议邻居通过该方式可以快速检测到转发路径的连通故障,加快启用备份转发路径,提升现有网络性能。 通过cisco路由器能使BFD特性使得路由切换达到毫秒级 《参考白皮书》-来自思科官方文档 一、静态路由&关联BFD书中关于BFD关联静态路由"Example: Configuring BFD Support for Static Routing提及到:BFD必须双向配置 " In the following example, the network consists of Device A and Device B. Serial interface 2/0 on Device A is connected to the same network as serial interface 2/0 on Device B. In order for the BFD session to come up, Device B must be configured. #BRD配置命令 router(config-if)#bfd interval {50-9999 in milliseconds} min_rx {50-9999 in millicseconds} multiplier {3-50} router(config)#ip route static bfd {interface type} {Interface number} {gateway address} router(config)#ip route {network address} {network mask} {interface(which bfd enabled)} {next-hop address} ----------------------------------- ©著作权归作者所有:来自51CTO博客作者起司网络狗的原创作品,如需转载,请与作者联系,否则将追究法律责任 双向链路检测(BFD)之静态路由篇 https://blog.51cto.com/u_14851874/2506259 1.图示图中使用Serial线路连接,为什么使用Serial 线路连接? 因为Serial线路不像MSTP、以太网线路,一端down,另一端也会down
双向链路检测(BFD)之静态路由篇-51CTO博客 二、OSPF路由&关联BFD 1.图示图中配置为ospf 全互联状态,在整个ospf 1 area 0 中,使用接口加入ospf的配置方式 R2 interface Loopback0 ip address 2.2.2.2 255.255.255.255 ip ospf 1 area 0 interface Ethernet0/0 ip address 23.1.1.2 255.255.255.0 ip ospf 1 area 0 interface Ethernet0/1 ip address 28.1.1.2 255.255.255.0 ip ospf 1 area 0 R3 interface Loopback0 ip address 3.3.3.3 255.255.255.255 ip ospf 1 area 0 interface Ethernet0/0 ip address 23.1.1.3 255.255.255.0 ip ospf 1 area 0 interface Ethernet0/1 ip address 37.1.1.3 255.255.255.0 ip ospf 1 area 0 bfd interval 50 min_rx 50 multiplier 3 interface Ethernet0/2 R7 interface Loopback0 ip address 7.7.7.7 255.255.255.255 ip ospf 1 area 0 interface Ethernet0/0 ip address 37.1.1.7 255.255.255.0 ip ospf 1 area 0 bfd interval 50 min_rx 50 multiplier 3 interface Ethernet0/1 ip address 78.1.1.7 255.255.255.0 ip ospf 1 area 0 bfd interval 50 min_rx 50 multiplier 3 interface Ethernet0/2 no ip address shutdown interface Ethernet0/3 no ip address shutdown bfd all-interfaces R8 interface Loopback0 ip address 8.8.8.8 255.255.255.255 ip ospf 1 area 0 interface Ethernet0/0 ip address 28.1.1.8 255.255.255.0 ip ospf 1 area 0 interface Ethernet0/1 ip address 78.1.1.8 255.255.255.0 ip ospf 1 area 0 bfd interval 50 min_rx 50 multiplier 3 interface Ethernet0/2 no ip address shutdown interface Ethernet0/3 no ip address shutdown bfd all-interfaces现在R7trace R2(2.2.2.2)发现走的是负载的状态 更改cost发现,R7去往2.2.2.2 走eth0/1 此时发现,R8的 BFD neighbor down 接口down,与R7的邻居也down
接口未down 与静态路由不大一样。我记得静态路由的话接口会down。可能是因为协议的处理逻辑不一样,静态路由要消失的话,需要接口消失。而动态路由消失邻居消失就可以了
ospf 与bfd关联,需要在接口下配置bfd 时间参数,还要在进程下启用该接口的bfd int eth0/1 bfd interval 500 min_rx 500 multiplier 3 ip ospf bfd 或者router ospf 进程下 bfd all-interfaces |
CopyRight 2018-2019 实验室设备网 版权所有 |