R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
375
• Configure an IPv6 static route to subnet 120::/64 and an IPv6 static route to subnet 121::/64 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 89 Network diagram
Table 17 Interface and IP address assignment
Device Interface IPv6 address
Device
Interface
IPv6 address
Router A GE2/1/1 12::1/64
Router B
GE2/1/2 13::1/64
Router A GE2/1/2 10::102/64 Router C GE2/1/1 10::100/64
Router B GE2/1/1 12::2/64
Router C
GE2/1/2 13::2/64
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure IPv6 static routes and BFD:
# Configure IPv6 static routes on Router A, and enable BFD control mode for the IPv6 static route
that traverses GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] bfd min-transmit-interval 500
[RouterA-GigabitEthernet2/1/1] bfd min-receive-interval 500
[RouterA-GigabitEthernet2/1/1] bfd detect-multiplier 9
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] ipv6 route-static 120:: 64 gigabitethernet 2/1/1 FE80::2E0:FCFF:FE58:123E
bfd control-packet
[RouterA] ipv6 route-static 120:: 64 10::100 preference 65
[RouterA] quit
# Configure IPv6 static routes on Router B, and enable BFD control mode for the IPv6 static route
that traverses the Layer 2 switch.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] bfd min-transmit-interval 500
[RouterB-GigabitEthernet2/1/1] bfd min-receive-interval 500
[RouterB-GigabitEthernet2/1/1] bfd detect-multiplier 9
[RouterB-GigabitEthernet2/1/1] quit
[RouterB] ipv6 route-static 121:: 64 gigabitethernet 2/1/1 FE80::2A0:FCFF:FE00:580A
bfd control-packet