全局启用BFD
[R3]bfd
配置bfd
R3]bfd aa bind peer-ip 12.1.1.2 interface GigabitEthernet 0/0/0 source-ip 1.1.1
.1 one-arm-echo 
[R3-bfd-session-aa]discriminator local 1
[R3-bfd-session-aa]commit
静态路由引用
[R3]ip route-static 12.1.1.2 255.255.255.0 12.1.1.1 track bfd-session aa