BFD:Bidirectional Forwarding Detection,双向转发检查

作用:毫秒级故障检查,通常结合三层协议(如静态路由、vrrp、ospf、BGP等)实现链路故障快速检查。

bfd 全局使能BFD

bfd 1 bind peer-ip 12.1.1.2 source-ip 12.1.1.1  配置BFD组1
 discriminator local 1  本地标识1   标识需要互为对称
 discriminator remote 2 远端标识2 
 commit  确认提交

静态路由调用BFD

ip route-static 0.0.0.0 0.0.0.0 23.1.1.2 track bfd-session 1

OSPF调用BFD

ospf 1 
    bfd all-interfaces enable 

 

.

Last modification:February 16, 2019
If you think my article is useful to you, please feel free to appreciate