Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing and Monitoring RIB on Cisco IOS XR Software
Configuration Examples for RIB Monitoring
RC-329
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Output of show route connected Command: Example
The following is sample output from the show route connected command:
RP/0/RP0/CPU0:router# show route connected
C 10.2.210.0/24 is directly connected, 1d21h, Ethernet0
C 172.20.16.0/24 is directly connected, 1d21h, ATM4/0.1
C 10.6.100.0/24 is directly connected, 1d21h, Loopback1
Output of show route local Command: Example
The following is sample output from the show route local command:
RP/0/RP0/CPU0:router# show route local
L 10.10.10.1/32 is directly connected, 00:14:36, Loopback0
L 10.91.36.98/32 is directly connected, 00:14:32, Ethernet0/0
L 172.22.12.1/32 is directly connected, 00:13:35, POS3/0
L 192.168.20.2/32 is directly connected, 00:13:27, GigabitEthernet2/0
L 10.254.254.1/32 is directly connected, 00:13:26, GigabitEthernet2/2
Output of show route longer-prefixes Command: Example
The following is sample output from the show route longer-prefixes command:
RP/0/RP0/CPU0:router# show route ipv4 172.16.0.0/8 longer-prefixes
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
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
S 172.16.2.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.3.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.4.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.5.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.6.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.7.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.8.0/32 is directly connected, 00:00:24, Loopback0
S 172.16.9.0/32 is directly connected, 00:00:24, Loopback0
Output of show route next-hop Command: Example
The following is sample output from the show route resolving-next-hop command:
RP/0/RP0/CPU0:router# show route resolving-next-hop 10.0.0.1
Nexthop matches 0.0.0.0/0
Known via "static", distance 200, metric 0, candidate default path
Installed Aug 18 00:59:04.448
Directly connected nexthops
172.29.52.1, via MgmtEth0/RP0/CPU0/0
Route metric is 0