56
[RouterA] ip route-static 192.168.2.0 24 gigabitethernet2/0 192.168.1.2
[RouterA] quit
# Configure a static route to Router A on Router C.
[RouterC] ip route-static 192.168.1.0 24 gigabitethernet1/0 192.168.2.1
Verifying the configuration
# Display the BFD session information on Router A.
<RouterA> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active
IPv4 session working under Ctrl mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
513/513 192.168.1.1 192.168.2.2 Up 1700ms GE2/0
# Display RIP routes destined for 100.1.1.0/24 learned on Router A.
<RouterB> display ip routing-table 100.1.1.0 24 verbose
Summary Count : 1
Destination: 100.1.1.0/24
Protocol: RIP Process ID: 1
SubProtID: 0x1 Age: 00h04m02s
Cost: 1 Preference: 100
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x2 OrigAs: 0
NBRID: 0x12000002 LastAs: 0
AttrID: 0xffffffff Neighbor: 192.168.2.2
Flags: 0x1008c OrigNextHop: 192.168.2.2
Label: NULL RealNextHop: 192.168.1.2
BkLabel: NULL BkNextHop: N/A
Tunnel ID: Invalid Interface: GigabitEthernet2/0
BkTunnel ID: Invalid BkInterface: N/A
# Display RIP routes destined for 100.1.1.0/24 on Router A when the link between Router B and
Router C fails.
<RouterA> display ip routing-table 100.1.1.0 verbose
Summary Count : 1
Destination: 100.1.1.0/24
Protocol: RIP Process ID: 2
SubProtID: 0x1 Age: 00h10m35s
Cost: 2 Preference: 100
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x2 OrigAs: 0
NBRID: 0x12000003 LastAs: 0