Implementing and Monitoring RIB on CiscoIOS XR Software
How to Deploy and Monitor RIB
RC-325
Cisco IOS XR Routing Configuration Guide
OL-14356-01
2. show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] backup
[ip-address] [standby]
3. show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast | safi-all] best-local ip-address
[standby]
4. show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] connected
[standby]
5. show route [vrf {vrf-name | all}] [afi-all | ipv4 | ipv6] [unicast | multicast | safi-all] local
[interface] [standby]
6. show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast | safi-all] longer-prefixes
{ip-address mask | ip-address/prefix-length} [standby]
7. show route [vrf {vrf-name | all}] [ipv4 | ipv6] [unicast | multicast | safi-all] next-hop [ip-address]
[standby]
DETAILED STEPS
Command or Action Purpose
Step1 show route [vrf {vrf-name | all}] [afi-all |
ipv4 | ipv6] [unicast | multicast | safi-all]
[protocol [instance] | ip-address mask]
[standby] [detail]
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 [vrf {vrf-name | all}] [afi-all |
ipv4 | ipv6] [unicast | multicast | safi-all]
backup [ip-address] [standby]
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
backup 192.168.111/8
Displays backup routes in RIB.
Step3 show route [vrf {vrf-name | all}] [ipv4 | ipv6]
[unicast | multicast | safi-all] best-local
ip-address [standby]
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 [vrf {vrf-name | all}] [afi-all |
ipv4 | ipv6] [unicast | multicast | safi-all]
connected [standby]
Example:
RP/0/RP0/CPU0:router# show route ipv4 unicast
connected
Displays the current connected routes of the routing table.