Output of show route longer-prefixes Command: Example
The following is sample output from the show route longer-prefixes command:
show route ipv4 longer-prefixes 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:
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
172.29.52.1, via MgmtEth0/RP1/CPU0/0
Route metric is 0
Where to Go Next
For additional information on the protocols that interact with RIB, you may want to see the following
publications:
• Implementing BGP in Routing Configuration Guide for Cisco NCS 6000 Series Routers
• Implementing EIGRP in Routing Configuration Guide for Cisco NCS 6000 Series Routers
• Implementing IS-IS in Routing Configuration Guide for Cisco NCS 6000 Series Routers
• Implementing OSPF in Routing Configuration Guide for Cisco NCS 6000 Series Routers
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
362
Implementing and Monitoring RIB
Output of show route longer-prefixes Command: Example