H3C Technologies H3C SecPath F1000-E User Manual

Page 368

Advertising
background image

343

[RouterB-GigabitEthernet0/1] bfd detect-multiplier 9

[RouterB-GigabitEthernet0/1] quit

[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet0/1 12.1.1.1 bfd control-packet

[RouterB] ip route-static 121.1.1.0 24 GigabitEthernet0/2 13.1.1.2 preference 65

[RouterB] quit

3.

Verify the configuration:
The following operations are performed on SecPath A. The operations on Router B are similar.
# Display BFD sessions on SecPath A.

<SecPathA> 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 GigabitEthernet0/1

# Display static routes on SecPath A.

<SecPathA> 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 GigabitEthernet0/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 GigabitEthernet0/1

# Enable BFD debugging on SecPath A. When the link between SecPath A and the switch fails,
SecPath A can detect the failure.

<SecPathA> debugging bfd event

<SecPathA> debugging bfd scm

<SecPathA> terminal debugging

%Jul 27 10:18:18:672 2007 SecPathA BFD/4/LOG:Sess[12.1.1.1/12.1.1.2,

GigabitEthernet0/1,Ctrl], Sta: UP->DOWN, Diag: 1

*Jul 27 10:18:18:672 2007 SecPathA BFD/7/EVENT:Send sess-down Msg,

[Src:12.1.1.1,Dst:12.1.1.2, GigabitEthernet0/1,Ctrl], instance:0, protocol:STATIC

*Jul 27 10:18:19:172 2007 SecPathA BFD/7/EVENT:Receive Delete-sess,

[Src:12.1.1.1,Dst:12.1.1.2, GigabitEthernet0/1,Ctrl], Direct, Instance:0x0,

Proto:STATIC

*Jul 27 10:18:19:172 2007 SecPathA BFD/7/EVENT:Notify driver to stop receiving bf

# Display the static route information again. SecPath A communicates with Router B over the static

route passing Router C now.

<SecPathA> display ip routing-table protocol static

Advertising