IP R
OUTING
C
OMMANDS
4-321
Command Usage
If the address is specified without the netmask parameter, the router
displays all routes for the corresponding natural class address
(page 4-327).
Example
Console#show ip route
Ip Address Netmask Next Hop Protocol Metric Interface
--------------- --------------- --------------- ---------- ------ ---------
0.0.0.0 0.0.0.0 10.2.48.102 static 0 1
10.2.48.2 255.255.252.0 10.2.48.16 local 0 1
10.2.5.6 255.255.255.0 10.2.8.12 RIP 1 2
10.3.9.1 255.255.255.0 10.2.9.254 OSPF-intra 2 3
Total entry: 4
Console#
Table 4-82 show ip route - display description
Field Description
Ip Address IP address of the destination network, subnetwork, or host. Note that
the address 0.0.0.0 indicates the default gateway for this router.
Netmask Network mask for the associated IP subnet.
Next Hop IP address of the next hop (or gateway) used for this route.
Protocol The protocol which generated this route information. (Values: static,
local, RIP, OSPF)
Metric Cost for this interface.
Interface VLAN interface through which this address can be reached.