14
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 60 0 12.1.1.2 Vlan10
Static Routing table Status : <Inactive>
Summary Count : 0
The output shows that Switch A communicates with Switch B through VLAN-interface 10. Then the link
over VLAN-interface 10 fails.
# Display static routes on Switch A.
<SwitchA> display ip routing-table protocol static
Summary Count : 1
Static Routing table Status : <Active>
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 65 0 10.1.1.100 Vlan11
Static Routing table Status : <Inactive>
Summary Count : 0
The output shows that Switch A communicates with Switch B through VLAN-interface 11.
BFD for static routes configuration example (indirect next hop)
Network requirements
In Figure 4, Switch A has a route to interface Loopback 1 (2.2.2.9/32) on Switch B, with the output
interface VLAN-interface 10. Switch B has a route to interface Loopback 1 (1.1.1.9/32) on Switch A, with
the output interface VLAN-interface 12. Switch D has a route to 1.1.1.9/32, with the output interface
VLAN-interface 10, and a route to 2.2.2.9/32, with the output interface VLAN-interface 12.
Configure a static route to subnet 120.1.1.0/24 on Switch A, and configure a static route to subnet
121.1.1.0 / 24 o n S wi t c h B . E n a b l e B F D f o r b o t h ro u t e s . C o n f i g u re a s t a t i c r o u t e t o s u b n e t 12 0 .1.1.0 / 24 a n d
a static route to subnet 121.1.1.0/24 on both Switch C and Switch D. When the link between Switch A and
Switch B through Switch D fails, BFD can detect the failure immediately and inform Switch A and Switch
B to communicate through Switch C.