
C613-50186-01 Rev B
Command Reference for AR2050V
804
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTING
C
OMMANDS
SHOW
IP
ROUTE
DATABASE
show ip route database
Overview
This command displays the routing entries in the RIB (Routing Information Base).
When multiple entries are available for the same prefix, RIB uses the routes’
administrative distances to choose the best route. All best routes are entered into
the FIB (Forwarding Information Base). To view the routes in the FIB, use the
command.
To modify the lines displayed, use the
|
(output modifier token); to save the output
to a file, use the
>
output redirection token.
Syntax
show ip route database [bgp|connected|ospf|rip|static]
Syntax (VRF-lite)
show ip route [vrf <
vrf-name
>|global] database
[bgp|connected|ospf|rip|static]
Mode
User Exec and Privileged Exec
Example
To display the static routes in the RIB, use the command:
awplus#
show ip route database static
Parameter
Description
global
If VRF-lite is configured, apply the command to the global routing
and forwarding table.
vrf
Apply the command to the specified VRF instance.
<vrf-name>
The name of the VRF instance.
bgp
Displays only the routes learned from BGP.
connected
Displays only the routes learned from connected interfaces.
ospf
Displays only the routes learned from OSPF.
rip
Displays only the routes learned from RIP.
static
Displays only the static routes you have configured.