Implementing and Monitoring RIB on CiscoIOSXR Software
Configuration Examples for RIB Monitoring
RC-200
Cisco IOS XR Routing Configuration Guide
Configuration Examples for RIB Monitoring
RIB is not configured separately for the CiscoIOS XR system. RIB computes connectivity of the router
with other nodes in the network based on input from the routing p rotocols. RIB may be used to monitor
and troubleshoot the connections between RIB and its clients, but it is essentially used to monitor routing
connectivity between the nodes in a network. This section contains displays from the show commands
used to monitor that activity. The following sample output is provided:
Output of show route Command: Example, page RC-200
Output of show route backup Command: Example, page RC-201
Output of show route best-local Command: Example, page RC-201
Output of show route connected Command: Example, page RC-201
Output of show route local Command: Example, page RC-201
Output of show route longer-prefixes Command: Example, page RC-202
Output of show route next-hop Command: Example, page RC-202

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, 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
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
Step6 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] ip-address
mask
longer-prefixes
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
192.168.111/8 longer-prefixes
Displays the current routes in RIB that share a given
number of bits with a given network.
Step7 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] next-hop
ip-address
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
next-hop 192.168.1.34
Displays the next hop gateway or host to a destination
address.
Command or Action Purpose