show ip route
Use the show ip route command to display information about the IP routing table. If no IP
routes are specified, information about all IP routes are displayed.
Syntax
show ip route [ip_address[ip_mask]]
Parameters
Parameter
ip_address
ip_mask
User Level
read-only
Context
general
Example
To display all routes:
G450-001(super)# show ip route
Showing 10 rows
Network
Mask Interface
-------
----
0.0.0.0
0
1.0.0.0
8
2.2.0.0
16
3.3.0.0
16
7.0.0.0
8
8.0.0.0
8
9.0.0.0
8
10.0.0.0
8
10.0.0.0
24
11.0.0.0
8
Description
The IP address of the routes
The IP mask of the routes
Next-Hop
-----------
--------
FastEth
10/2
10.0.0.1
Vlan
1.0
1.0.0.1
Dialer
1
9.9.9.50
Dialer
1
9.9.9.50
FastEth
10/2
10.0.0.1 DHCP
Vlan
1.2
8.0.0.1
FastEth
10/2
10.0.0.1 DHCP
Vlan
1.0
1.0.0.2
FastEth
10/2
10.0.0.2
Vlan
1.0
1.0.0.2
Routing table configuration
Possible
Values
Cost
TTL
Source
----- ----- ---
1
n/a
DHCP
1
n/a
LOCAL
1
n/a
STAT-LO-P
1
n/a
STAT-HI-P
1
n/a
STAT-LO
1
n/a
LOCAL
1
n/a
STAT-LO
20
n/a
OSPF-E2
1
n/a
LOCAL
20
n/a
OSPF-E2
Issue 1 January 2008
Default
Value
------
889