beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 73

background image

57

[RouterC] ip route-static 192.168.1.0 24 GigabitEthernet4/1/1 192.168.2.1

[RouterC] ip route-static 100.1.1.1 24 null 0

CAUTION:

If you specify null 0 interface as the output interface for a static route, do not specify the IP address of a
directly connected network as the destination IP address.

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 Ctrl Mode:

LD/RD SourceAddr DestAddr State Holdtime Interface

6/1 192.168.1.1 192.168.2.2 Up 1700ms GE4/1/2

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

display ip routing-table 100.1.1.0 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.2.2 Interface: GigabitEthernet4/1/2

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 192.168.1.2 Neighbor : 192.168.2.2

Tunnel ID: 0x0 Label: NULL

State: Active Adv GotQ Age: 00h04m02s

Tag: 0

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 2

Preference: 100 Cost: 2

NextHop: 192.168.3.2 Interface: GigabitEthernet4/1/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 192.168.3.2

Tunnel ID: 0x0 Label: NULL

State: Inactive Adv Age: 00h03m57s

Tag: 0

# Enable RIP event debugging on Router A.

debugging rip 1 event

terminal debugging

# When the link between Router B and Router C 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.2.2, GE4/1/2,

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

*Jan 19 10:41:51:203 2008 RouterA RM/6/RMDEBUG: RIP-BFD: Message Type Disable, Connect

Type Indirect-connect, Pkt Type Control, Src IP Address 192.168.1.1, Src IFIndex 4,

Nbr IP Address 192.168.2.2.

# Display the BFD information of Router A.