
BFD
355
42.3
Examples of BFD
42.3.1
Example for Linkage of BFD and Static Route
Example:
Configure a static route to 14.1.1.0/24 on Switch A and configure a static route to
15.1.1.0/24 on Switch B. Both switches enable BFD detection. When the link between
Switch A and Switch B is failing, BFD can detect it immediately.
Configuration procedure:
Switch A:
Switch#config
Switch(config)#interface vlan 12
Switch(config-if-vlan12)#ip address 12.1.1.1 255.255.255.0
Switch(config)#interface vlan 15
Switch(config-if-vlan15)#ip address 15.1.1.1 255.255.255.0
Switch(config)#ip route 14.1.1.0 255.255.255.0 12.1.1.2 bfd
Switch B:
Switch#config
Switch(config)#interface vlan 12
Switch(config-if-vlan12)#ip address 12.1.1.2 255.255.255.0
Switch(config)#interface vlan 14
Switch(config-if-vlan15)#ip address 14.1.1.1 255.255.255.0
Switch(config)#ip route 15.1.1.0 255.255.255.0 12.1.1.1 bfd
When the link between Switch B and layer 2 switch is failing, Switch A can detect the
change of Switch B immediately, here the static routing is at inactive state.
42.3.2
Example for Linkage of BFD and RIP Route
Example:
Switch A and Switch B are connected and run RIP protocol, both of them enable BFD
function. When the link between Switch A and Switch B is failing, BFD can detect it
immediately.