Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode show Commands (H-L)
show ip route ▀
Command Line Interface Reference, StarOS Release 18 ▄
4691
show ip route
Displays information related to currently configured static or VRF routes for the current context.
Product
All
Privilege
Security Administrator, Administrator, Operator, Inspector
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
show ip route [ ip_address/mask | vrf vrf_name ] [ | { grep grep_options | more ]
ip_address/mask
Specifies an IP address/mask (CIDR) for a static route in IPv4 dotted-decimal or IPv6 colon-separated-
hexadecimal notation.
hexadecimal notation.
| vrf
vrf_name
Displays information for an existing Virtual Routing and Forwarding (VRF) name expressed as an
alphanumeric string of 1 through 63 characters.
alphanumeric string of 1 through 63 characters.
| { grep
grep_options
|
more }
Pipes (sends) the output of this command to the specified command. You must specify a command to which
the output of this command will be sent.
For details on the usage of
the output of this command will be sent.
For details on the usage of
grep
and
more
, refer to the Regulating a Command’s Output section of the
Command Line Interface Overview chapter.
Usage
Use this command to display information related to currently configured static or VRF routes for the current
context.
context.
Example
To display detailed information about a route for a static IP address, enter the following command:
show ip route 10.1.0.0/24
Important:
Output descriptions for commands are available in the Statistics and Counters Reference.