Administrator Guide

Weight : 0
Dell#
show ip route
View information, including how they were learned, about the IP routes on the switch.
Syntax
show ip route [vrf vrf-name] hostname | ip-address [mask] [longer-prefixes] |
list prefix-list | protocol [process-id | routing-tag] | all | connected |
static | summary]
Parameters
vrf vrf-name (OPTIONAL) Enter the keyword vrf and then the VRF name to list the routes in the
route table of a specic VRF.
ip-address (OPTIONAL) Specify a name of a device or the IP address of the device to view more
detailed information about the route.
mask (OPTIONAL) Specify the network mask of the route. Use this parameter with the IP
address parameter.
longer-prexes (OPTIONAL) Enter the keywords longer-prefixes to view all routes with a common
prex.
list prex-list (OPTIONAL) Enter the keyword list and the name of a congured prex list. For more
information, refer to the show ip route list command.
protocol (OPTIONAL) Enter the name of a routing protocol (bgp, isis, ospf, rip) or the
keywords connected or static.
NOTE: bgp, isis, ospf, and rip.
If you enter bgp, you can include the BGP as-number .
If you enter isis, you can include the ISIS routing-tag.
If you enter ospf, you can include the OSPF process-id.
process-id (OPTIONAL) Specify that only OSPF routes with a certain process ID must be displayed.
routing-tag (OPTIONAL) Specify that only ISIS routes with a certain routing tag must be displayed.
connected (OPTIONAL) Enter the keyword connected to view only the directly connected routes.
all (OPTIONAL) Enter the keyword all to view both active and non-active routes.
static (OPTIONAL) Enter the keyword static to view only routes the ip route command
congures.
summary (OPTIONAL) Enter the keyword summary. For more information, refer to the show ip
route summary command.
Command Modes
EXEC
EXEC Privilege
IPv4 Routing 793