Static BFD Configuration Summary
由于最近处理一个静态BFD的问题。
在此贴出BFD的配置及相关的资源链接供大家参考。
关于相关BFD协议的内容和他的模式问题,本想用dynamips加12.2(33)SRC来做测试并抓包分析,但发现一配置BFD,模拟器就crash,先后更换了SRD,SRE及更换了NPE-G1和 NPE-G2,现象一样存在。毕竟只是模拟器呀。。。。。。
所以关于相关BFD的更进一步分析,只能等到手头有设备时直接SPAN了。
注:VRF下的静态BFD,只从12.2(33)SRC才开始支持,支持平台为7600和7200。
6500需要在12.2(33)SXI才支持。下面是在正常端口下BFD的配置:
7607-1:
———————-
interface GigabitEthernet3/1 ip address 1.1.1.1 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 ! ip route static bfd GigabitEthernet3/1 1.1.1.2 ip route 10.1.1.1 255.255.255.255 GigabitEthernet3/1 1.1.1.2
7607-2:
———————-
interface FastEthernet3/1 ip address 1.1.1.2 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 ! ip route static bfd FastEthernet3/1 1.1.1.1 ip route 22.1.1.1 255.255.255.255 FastEthernet3/1 1.1.1.1
下面是在VRF端口下BFD的配置:
7609-1:
———————-
interface GigabitEthernet3/1 no ip address ! interface GigabitEthernet3/1.1 encapsulation dot1Q 100 ip vrf forwarding test ip address 2.1.1.1 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 ! interface GigabitEthernet3/1.2 encapsulation dot1Q 101 ip vrf forwarding test2 ip address 1.1.1.1 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 C7609-1#sh run | i ip route ip route static bfd GigabitEthernet3/1.1 2.1.1.2 ip route static bfd GigabitEthernet3/1.2 1.1.1.2 ip route vrf test 11.1.1.1 255.255.255.255 GigabitEthernet3/1.1 2.1.1.2 ip route vrf test2 10.1.1.1 255.255.255.255 GigabitEthernet3/1.2 1.1.1.2
7609-2:
———————-
interface FastEthernet3/1 no ip address ! interface FastEthernet3/1.1 encapsulation dot1Q 100 ip vrf forwarding test ip address 2.1.1.2 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 ! interface FastEthernet3/1.2 encapsulation dot1Q 101 ip vrf forwarding test2 ip address 1.1.1.2 255.255.255.0 bfd interval 50 min_rx 50 multiplier 3 7609-2#sh run | i ip route ip route static bfd FastEthernet3/1.1 2.1.1.1 ip route static bfd FastEthernet3/1.2 1.1.1.1 ip route vrf test 21.1.1.1 255.255.255.255 FastEthernet3/1.1 2.1.1.1 ip route vrf test2 20.1.1.1 255.255.255.255 FastEthernet3/1.2 1.1.1.1
注意在SVI下是不支持BFD的,以前是可以配置的,但是不生效。
所以在新的IOS下就直接关闭了相关配置命令。有兴趣的可以查看这个bug:CSCsj08713
下面是关于BFD的CCO文档(注意有时文档中写的命令也是有问题的,例如“ip route static bfd [vrf vrf-name] ”就是不存在的):
http://www.cisco.com/en/US/docs/ios/iproute_bfd/configuration/guide/irb_bfd.html
| anyShare分享到: | |
| |