R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

51
# Configure a static route on Router A.
[RouterA] ip route-static 100.1.1.0 24 null 0
# Configure a static route on Router C.
[RouterC] ip route-static 100.1.1.0 24 null 0
5. Verify the configuration:
# Display the BFD session information on Router A.
<RouterA> display bfd session
Total session number: 1 Up session number: 1 Init Mode: Active
IPv4 session working under Echo mode:
LD SourceAddr DestAddr State Holdtime Interface
3 192.168.2.1 192.168.2.2 Up 2000ms GE2/1/2
# Display routes destined for 100.1.1.0/24 on Router B.
<RouterB> 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
IpPrecedence: QosLcId:
NextHop: 192.168.2.1 Interface: GigabitEthernet2/1/1
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 192.168.2.1
Tunnel ID: 0x0 Label: NULL
BKTunnel ID: 0x0 BKLabel: NULL
State: Active Adv Age: 00h02m47s
Tag: 0
Destination: 100.1.1.0/24
Protocol: RIP Process ID: 1
Preference: 100 Cost: 4
IpPrecedence: QosLcId:
NextHop: 192.168.3.2 Interface: GigabitEthernet2/1/2
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 192.168.3.2
Tunnel ID: 0x0 Label: NULL
BKTunnel ID: 0x0 BKLabel: NULL
State: Inactive Adv Age: 00h05m50s
Tag: 0
# Enable RIP event debugging on Router A.
<RouterA> debugging rip 1 event
<RouterA> terminal debugging
%Oct 15 09:41:51:212 2011 RouterA BFD/4/LOG:Sess[192.168.2.1/192.168.2.2,
GE2/1/2,Echo], Sta: UP->DOWN, Diag: 1
*Oct 15 09:41:51:813 2011 RouterA RM/6/RMDEBUG: RIP-BFD: Receive BFD session down,
Pkt Type Echo, Src IP Address 192.168.2.1, Src IFIndex 4, Dst IP Address 192.168.2.2.
The output shows that when the link over GigabitEthernet 2/1/2 becomes unidirectional (packets
from Router A can reach Router B, but packets Router B cannot reach Router A), Router A can
quickly detect the link state change.
# Display BFD session information on Router A.