R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
14
[RouterB-GigabitEthernet2/1/1] bfd detect-multiplier 9
[RouterB-GigabitEthernet2/1/1] quit
[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet 2/1/1 12.1.1.1 bfd
control-packet
[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet 2/1/2 13.1.1.2 preference 65
[RouterB] quit
# Configure static routes on Router C.
<RouterC> system-view
[RouterC] ip route-static 120.1.1.0 24 GigabitEthernet 2/1/2 13.1.1.1
[RouterC] ip route-static 121.1.1.0 24 GigabitEthernet 2/1/1 10.1.1.102
3. Verify the configuration:
# Display BFD sessions on Router A.
<RouterA> display bfd session
Total Session Num: 1 Init Mode: Active
Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
4/7 12.1.1.1 12.1.1.2 Up 2000ms GigabitEthernet2/1/1
The output shows that the BFD session has been created.
# Display static routes on Router A. The static route to Router B through the Layer 2 switch is
displayed in the output.
<RouterA> display ip routing-table protocol static
Public Routing Table : Static
Summary Count : 2
Static Routing table Status : <Active>
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 60 0 12.1.1.2 GE2/1/1
Direct Routing table Status : <Inactive>
Summary Count : 1
Destination/Mask Proto Pre Cost NextHop Interface
120.1.1.0/24 Static 65 0 10.1.1.100 GE2/1/2
# Enable BFD debugging. When the link between Router A and the switch fails, Router A can
detect the failure.
<RouterA> debugging bfd event
<RouterA> debugging bfd scm
<RouterA> terminal debugging
%Jul 27 10:18:18:672 2007 RouterA BFD/4/LOG:Sess[12.1.1.1/12.1.1.2,
GigabitEthernet2/1/1,Ctrl], Sta: UP->DOWN, Diag: 1
*Jul 27 10:18:18:672 2007 RouterA BFD/7/EVENT:Send sess-down Msg,
[Src:12.1.1.1,Dst:12.1.1.2,GigabitEthernet2/1/1,Ctrl], instance:0, protocol:STATIC