R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

12
C:\Documents and Settings\Administrator>tracert 1.1.2.2
Tracing route to 1.1.2.2 over a maximum of 30 hops
1 <1 ms <1 ms <1 ms 1.1.6.1
2 <1 ms <1 ms <1 ms 1.1.4.1
3 1 ms <1 ms <1 ms 1.1.2.2
Trace complete.
BFD for static routes configuration example (direct next hop)
Network requirements
In Figure 3, configure a static route to subnet 120.1.1.0/24 on Router A, configure a static route to subnet
121.1.1.0/24 on Router B, and enable BFD for both routes. Configure a static route to subnet 120.1.1.0/24
and a static route to subnet 121.1.1.0/24 on Router C. When the link between Router A and Router B
through the Layer 2 switch fails, BFD can detect the failure immediately and inform Router A and Router
B to communicate through Router C.
Figure 3 Network diagram
Device Interface IP address
Device
Interface
IP address
Router A Eth
1/1 12.1.1.1/24
Router B
Eth
1/1
12.1.1.2/24
Eth 1/2 10.1.1.102/24 Eth 1/2 13.1.1.1/24
Router C Eth
1/1 10.1.1.100/24
Eth
1/2 13.1.1.2/24
Configuration procedure
1. Configure IP addresses for the interfaces. (Details not shown.)
2. Configure static routes and BFD:
# Configure static routes on Router A and enable BFD control packet mode for the static route
through the Layer 2 switch.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] bfd min-transmit-interval 500
[RouterA-Ethernet1/1] bfd min-receive-interval 500
[RouterA-Ethernet1/1] bfd detect-multiplier 9
[RouterA-Ethernet1/1] quit
[RouterA] ip route-static 120.1.1.0 24 ethernet 1/1 12.1.1.2 bfd control-packet
Router A Router B
Eth1/1 Eth1/1
Router C
BFD
Eth1/1
Eth1/2
Eth1/2
L2 Switch
Eth1/2
121.1.1.0/24 120.1.1.0/24