H3C Technologies H3C SR8800 User Manual

Page 148

Advertising
background image

132

[RouterA-GigabitEthernet3/1/1] bfd detect-multiplier 7

[RouterA-GigabitEthernet3/1/1] return

# Enable BFD on Router B and configure BFD parameters.

<RouterB> system-view

[RouterB] bfd session init-mode active

[RouterB] interface GigabitEthernet 3/1/1

[RouterB-GigabitEthernet3/1/1] ospf bfd enable

[RouterB-GigabitEthernet3/1/1] bfd min-transmit-interval 400

[RouterB-GigabitEthernet3/1/1] bfd min-receive-interval 400

[RouterB-GigabitEthernet3/1/1] bfd detect-multiplier 6

4.

Verify the configuration:
The following operations are performed on Router A. The operations on Router B and Router C are
similar. (Details not shown)
# Display the BFD information of 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

3/1 192.168.0.102 192.168.0.100 Up 1700ms GE3/1/1

# Display routes to 120.1.1.0/24 on Router A, and you can see that Router A communicates with

Router B through the Layer 2 switch.

<RouterA> display ip routing-table 120.1.1.0 verbose

Routing Table : Public

Summary Count : 2

Destination: 120.1.1.0/24

Protocol: OSPF Process ID: 0

Preference: 0 Cost: 2

NextHop: 192.168.0.100 Interface: GigabitEthernet3/1/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0

Tunnel ID: 0x0 Label: NULL

State: Active Adv Age: 00h58m10s

Tag: 0

Destination: 120.1.1.0/24

Protocol: OSPF Process ID: 1

Preference: 10 Cost: 4

NextHop: 10.1.1.100 Interface: GigabitEthernet3/1/2

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0

Tunnel ID: 0x0 Label: NULL

State: Invalid Adv Age: 00h58m05s

Tag: 0

# Enable BFD debugging on Router A.

<RouterA> debugging bfd scm

<RouterA> debugging bfd event

<RouterA> debugging ospf event bfd

<RouterA> terminal debugging

Advertising