Implementing and Monitoring RIB on CiscoIOS XR Software
Configuration Examples for RIB Monitoring

RC-328

Cisco IOS XR Routing Configuration Guide
OL-14356-01

Output of show route longer-prefixes Command: Example, pageRC-329

Output of show route next-hop Command: Example, page RC-329

Output of show route Command: Example

The following is sample output from the show route command when entered without an address:

RP/0/RP0/CPU0:router# show route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local
Gateway of last resort is 172.23.54.1 to network 0.0.0.0
C 10.2.210.0/24 is directly connected, 1d21h, Ethernet0/1/0/0
L 10.2.210.221/32 is directly connected, 1d21h, Ethernet0/1/1/0
C 172.20.16.0/24 is directly connected, 1d21h, ATM4/0.1
L 172.20.16.1/32 is directly connected, 1d21h, ATM4/0.1
C 10.6.100.0/24 is directly connected, 1d21h, Loopback1
L 10.6.200.21/32 is directly connected, 1d21h, Loopback0
S 192.168.40.0/24 [1/0] via 172.20.16.6, 1d21h
Output of show route backup Command: Example

The following is sample output from the show route backup command:

RP/0/RP0/CPU0:router# show route backup
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, su - IS-IS summary null, * - candidate default
U - per-user static route, o - ODR, L - local
S 172.73.51.0/24 is directly connected, 2d20h, POS4/0/0/1
Backup O E2 [110/1] via 10.12.12.2, POS3/0/0/1
Output of show route best-local Command: Example

The following is sample output from the show route best-local command:

RP/0/RP0/CPU0:router# show route best-local 10.12.12.1
Routing entry for 10.12.12.1/32
Known via "local", distance 0, metric 0 (connected)
Routing Descriptor Blocks
10.12.12.1 directly connected, via POS3/0
Route metric is 0