Implementing and Monitoring RIB on Cisco IOS XR Software
How to Deploy and Monitor RIB
RC-199
Cisco IOS XR Routing Configuration Guide

5. show route [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] local [interface]

6. show route [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] ip-address mask longer-prefixes

7. show route [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] next-hop ip-address

DETAILED STEPS
Command or Action Purpose
Step1 show route [

protocol

[

instance

]] [afi-all |
ipv4 | ipv6] [unicast | multicast | safi-all]
[
ip-address
[
mask
]]
Example:
RP/0/RP0/CPU0:router# show route list list1 bgp
aspo ipv4 unicast 192.168.111/8
Displays the current routes in RIB.
Step2 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] backup [
ip-address
]
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
backup 192.168.111/8
Displays backup routes in RIB.
Step3 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] best-local
ip-address
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
best-local 192.168.111/8
Displays the best-local address to use for return packets from the given destination.
Step4 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] connected
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
connected
Displays the current connected routes of the routing table.
Step5 show route [afi-all | ipv4 | ipv6] [unicast |
multicast | safi-all] local [

interface

]
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
local
Displays local routes for receive entries in the routing table.