Routing Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
26.5
Figure 26-1: Example output from the
show ip route
command
To avoid repetition, only selected route entries comprised of different elements are described
here:
OSPF Route
O 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:20:54
This route entry denotes:
■
This route in the network
10.10.37.0/24
was added by OSPF.
■
This route has an administrative distance of 110 and metric/cost of 11.
■
This route is reachable via nexthop
10.10.31.16
.
■
The outgoing local interface for this route is
vlan2
.
■
This route was added 20 minutes and 54 seconds ago.
Connected Route
C 10.10.31.0/24 is directly connected, vlan2
This route entry denotes:
■
Route entries for network
10.10.31.0/24
are derived from the IP address of local
interface
vlan2
.
■
These routes are marked as Connected routes
(C)
and always preferred over routes for
the same network learned from other routing protocols.
OSPF External
Route
O E2 14.5.1.0/24 [110/20] via 10.10.31.16, vlan2, 00:18:56
This route entry denotes:
■
This route is the same as the other OSPF route explained above; the main difference is
that it is a Type 2 External OSPF route.
Examples
To display the OSPF routes in the FIB, use the command:
awplus#
show ip route ospf
Related Commands
maximum-paths
show ip route database
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
* - candidate default
O 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:20:54
C 3.3.3.0/24 is directly connected, vlan1
C 10.10.31.0/24 is directly connected, vlan2
C 10.70.0.0/24 is directly connected, vlan4
O E2 14.5.1.0/24 [110/20] via 10.10.31.16, vlan2, 00:18:56
C 33.33.33.33/32 is directly connected, lo