Specifications

Table Of Contents
show ip route
MP-494
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
show ip route
To display the current state of the routing table, use the show ip route command in user EXEC or
privileged EXEC mode.
show ip route [i
p-address [mask] [longer-prefixes] | protocol [process-id] | list [access-list-number
| access-list-name] | static download]
Syntax Description
Command Modes User EXEC
Privileged EXEC
Command History
ip-address (Optional) Address about which routing information should be
d
isplayed.
mask (Optional) Argument for a subnet mask.
longer-prefixes (Optional) Specifies that only routes matching the i
p-address and
mask pair should be displayed.
protocol (Optional) The name of a routing protocol, or the keyword
c
onnected, mobile, static, or summary. If you specify a routing
protocol, use one of the following keywords: bgp, hello, eigrp, isis,
odr, ospf, and rip.
process-id (Optional) The number used to identify a process of the specified
p
rotocol.
list (Optional) The list keyword is required to filter output by an access
l
ist name or number.
access-list-number (Optional) Filters the displayed output from the routing table based
o
n the specified access list name.
access-list-name (Optional) Filters the displayed output from the routing table based
o
n the specified access list number.
static (Optional) All static routes.
download (Optional) The route installed using the AAA route download
f
unction. This keyword is used only when AAA is configured.
Release Modification
9.2 This command was introduced.
10.0 The “D
EIGRP, EXEIGRP, N1OSPF NSSA external type 1 route” and
“N2
OSPF NSSA external type 2 route” codes were added to the command
output.
10.3 The pr
ocess-id argument was added.
11.0 The lo
nger-prefixes keyword was added.
11.1 The “U—per-user static route” code was added to the command output.
11.2 The “o—on-demand routing” code was added to the command output.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.