This command has no default configuration.
User EXEC, Privileged EXEC modes
This command has no user guidelines.
The following example displays the IPv4 address of the default gateway and
the default route associated with the gateway.
console#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C -
Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA
External Type 2
Specifies the network for which the route is to be displayed and
displays the best matching best-route for the address.
Subnet mask of the IP address.
Length of prefix, in bits. Must be preceded with a forward slash
(/). (Range: 0-32 bits.)
Indicates that the
prefix, and the command displays the routes to the addresses
that match that prefix.
Specifies the protocol that installed the routes. (Range:
connected, ospf, rip static)
pair becomes the
IP Routing Commands