Administrator Guide

Layer 3 Routing Commands 1524
Redist
Source Metric Metric Type Subnets Dist List
--------- ------- ----------- ------- ---------
static default 2 Yes None
connected 10 2 Yes 1
Number of Active Areas.................... 3 (3 normal, 0 stub, 0 nssa)
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 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.