349
Device Interface IPv6
address
Device
Interface
IPv6 address
Router A
GE2/0
10::102/64
Router B
GE2/0
13::1/64
Router A
Loop1
1::9/128
Router B
Loop1
2::9/128
Router C
GE1/0
10::100/64
Router D
GE1/0
12::2/64
Router C
GE2/0
13::2/64
Router D
GE2/0
11::1/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 packet mode for the IPv6 static
route that traverses Router D.
<RouterA> system-view
[RouterA] bfd multi-hop min-transmit-interval 500
[RouterA] bfd multi-hop min-receive-interval 500
[RouterA] bfd multi-hop detect-multiplier 9
[RouterA] ipv6 route-static 120:: 64 2::9 bfd control-packet bfd-source 1::9
[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 Router D.
<RouterB> system-view
[RouterB] bfd multi-hop min-transmit-interval 500
[RouterB] bfd multi-hop min-receive-interval 500
[RouterB] bfd multi-hop detect-multiplier 9
[RouterB] ipv6 route-static 121:: 64 1::9 bfd control-packet bfd-source 2::9
[RouterB] ipv6 route-static 121:: 64 13::2 preference 65
[RouterB] quit
# Configure IPv6 static routes on Router C.
<RouterC> system-view
[RouterC] ipv6 route-static 120:: 64 13::1
[RouterC] ipv6 route-static 121:: 64 10::102
# Configure IPv6 static routes on Router D.
<RouterD> system-view
[RouterD] ipv6 route-static 120:: 64 11::2
[RouterD] ipv6 route-static 121:: 64 12::1
Verifying the configuration
# Display BFD sessions on Router A.
<RouterA> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active
IPv6 Session Working Under Ctrl Mode:
Local Discr: 513 Remote Discr: 33