sw1配置
【sw1】bfd //启用bfd
[sw1-bfd]default-ip-address 224.0.0.184 //配置bfd默认使用组播地址
[sw1]bfd sw1-2 bind peer-ip default-ip interface g0/0/1 // 创建bfd会话
[sw1-bfd-session-sw1-2]discriminator local 1 //配置本地设备标识为1
[sw1-bfd-session-sw1-2]discriminator remote 2 //配置远程设备标识为2
[sw1-bfd-session-sw1-2]commit //提交bfd会话
[sw2]bfd
[sw2-bfd]default-ip-address 224.0.0.184
[sw2]bfd sw2-1 bind peer-ip default-ip interface g0/0/1
[sw2-bfd-session-sw2-1]discriminator local 2
[sw2-bfd-session-sw2-1]discriminator remote 1
[sw2]display bfd session all //显示状态
应用绑定
[R1]ip route-static 0.0.0.0 0 100.100.100.6 track sw2-1
标签:session,bfd,ip,BFD,配置,实例,sw1,discriminator,sw2
From: https://www.cnblogs.com/dhcc/p/17880719.html