Administrator Guide

Layer 3 Routing Commands 1585
ABR Status................................ Yes
ASBR Status............................... Yes
Routing Protocol.......................... RIP
RIP Admin Mode............................ Enable
Split Horizon Mode........................ Simple
Default Metric............................ Not configured
Default Route Advertise................... Disable
Distance.................................. 120
Interface Send Recv
--------- ---- ----
0/25 RIPv2 RIPv2
show ip route
Use the show ip route command in Privileged EXEC mode to display the
current state of the routing table. The output of the command also displays
the IPv4 address of the default gateway and the default route associated with
the gateway.
This command deprecates the show ip route connected command.
Syntax
show ip route [[
ip-address
[
mask
|
prefix-length
] [longer-prefixes] [vrf
vrf-
name
] [static]
ip-address
—Specifies the network for which the route is to be displayed
and displays the best matching route for the address.
mask
—Subnet mask of the IPv4 address in dotted quad notation.
prefix-length
—Length of prefix, in bits. Must be preceded with a forward
slash (/). (Range: 0-32 bits.)
longer-prefixes
—Indicates that the
ip-address
and
subnet-mask
pair
becomes the prefix, and the command displays the routes to the addresses
that match that prefix.
vrf-name
—The name of the VRF instance on which the command
operates. If no VRF parameter is given, information for the default
(global) router instance is shown.
static
—Display statically configured routes.
2CSNXXX_SWUM204.book Page 1585 Monday, January 25, 2016 1:25 PM