Show Ip Route Database - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

R
C
OUTING
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
ip route
To modify the lines displayed, use the | (output modifier token); to save the output
to a file, use the > output redirection token.
show ip route database [connected|ospf|rip|static]
Syntax
Mode
User Exec and Privileged Exec
Example
To display the static routes in the RIB, use the command:
awplus#
Output
Figure 24-2: Example output from the show ip route database command
Codes: C - connected, S - static, R - RIP, 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
> - selected route, * - FIB route, p - stale info
O
*> 9.9.9.9/32 [110/31] via 10.10.31.16, vlan2, 00:19:21
O
10.10.31.0/24 [110/1] is directly connected, vlan2, 00:28:20
C
*> 10.10.31.0/24 is directly connected, vlan2
S
*> 10.10.34.0/24 [1/0] via 10.10.31.16, vlan2
O
10.10.34.0/24 [110/31] via 10.10.31.16, vlan2, 00:21:19
O
*> 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:21:19
C
*> 10.30.0.0/24 is directly connected, vlan6
S
*> 11.22.11.0/24 [1/0] via 10.10.31.16, vlan2
O E2 *> 14.5.1.0/24 [110/20] via 10.10.31.16,vlan2, 00:19:21
O
16.16.16.16/32 [110/11] via 10.10.31.16, vlan2, 00:21:19
S
*> 16.16.16.16/32 [1/0] via 10.10.31.16, vlan2
O
*> 17.17.17.17/32 [110/31] via 10.10.31.16, vlan2, 00:21:19
C
*> 45.45.45.45/32 is directly connected, lo
O
*> 55.55.55.55/32 [110/21] via 10.10.31.16, vlan2, 00:21:19
C
*> 127.0.0.0/8 is directly connected, lo
C613-50170-01 Rev B
command.
Parameter
Description
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.
show ip route database static
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
show
884

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents