604
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
S
TATIC
R
OUTING
C
OMMANDS
FOR
M
ANAGEMENT
P
URPOSES
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
show
ip route
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 [connected|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
Output
Figure 18-2:
Example output from the show ip route database command
The routes added to the FIB are marked with a
*
. When multiple routes are
available for the same prefix, the best route is indicated with the
>
symbol. All
unselected routes have neither the
*
nor the
>
symbol.
Related
Commands
show ip route
Parameter
Description
connected
Displays only the routes learned from connected interfaces.
static
Displays only the static routes you have configured.
awplus#show ip route database
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, D - DHCP, 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
> - selected route, * - FIB route, p - stale info
S *> 0.0.0.0/0 [1/0] via 10.34.1.1, vlan1
C *> 10.34.0.0/16 is directly connected, vlan1
S 192.168.2.0/24 [1/0] is directly connected, vlan2 inactive
Gateway of last resort is not set