beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 69

background image

53

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

[RouterA-GigabitEthernet4/1/1] return

3.

Configure a static route on Router C:

[RouterC] ip route-static 100.1.1.1 24 null 0

4.

Verify the configuration:
# Display the BFD session information of Router A.

display bfd session

Total Session Num: 1 Init Mode: Active

Session Working Under Echo Mode:

LD SourceAddr DestAddr State Holdtime Interface

3 192.168.1.1 192.168.1.2 Up 2000ms GE4/1/1

# Display the RIP route 100.1.1.0/24 learned on Router A.

display ip routing-table 100.1.1.0 24 verbose

Routing Table : Public

Summary Count : 2

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 1

Preference: 100 Cost: 1

NextHop: 192.168.1.2 Interface: GigabitEthernet4/1/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 192.168.1.2

Tunnel ID: 0x0 Label: NULL

State: Active Adv Age: 00h00m47s

Tag: 0

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 2

Preference: 100 Cost: 2

NextHop: 192.168.2.2 Interface: GigabitEthernet4/1/2

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 192.168.2.2

Tunnel ID: 0x0 Label: NULL

State: Inactive Adv Age: 00h12m50s

Tag: 0

# Enable RIP event debugging on Router A.

debugging rip 1 event

terminal debugging

# When the link between Router C and the Layer 2 switch fails, Router A quickly detects the link
state change.

%Jan 19 10:41:51:203 2008 RouterA BFD/4/LOG:Sess[192.168.1.1/192.168.1.2,

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

*Jan 19 10:33:12:813 2008 RouterA RM/6/RMDEBUG: RIP-BFD: Message Type Disable, Connect

Type Direct-connect, Pkt Type Echo, Src IP Address 192.168.1.1, Src IFIndex4, Nbr IP

Address 192.168.1.2.

# Display the BFD information of Router A.
Router A has deleted the neighbor relationship with Router C and no output information is
displayed.

display bfd session