Reference Guide

Table Of Contents
Default Route Advertise................... Disable
Distance.................................. 120
Redistribution:
Source Metric Dist List Match
--------- ------ --------- --------------------------------------
connected 6
static 10 15
ospf 20 int ext1 ext2 nssa-ext1
Interface Send Recv
--------- ---- ----
0/25 RIPv2 RIPv2
show ip route
This command displays the routing table. The ip-address specifies the network for which the route is to
be displayed and displays the best matching best-route for the address. The mask specifies the subnet
mask for the given ip-address. When you use the longer-prefixes keyword, the ip-address and
mask pair becomes the prefix, and the command displays the routes to the addresses that match that
prefix. Use the protocol parameter to specify the protocol that installed the routes. The value for
protocol can be connected, ospf, rip, or static, or bgp. Use the all parameter to display all routes
including best and nonbest routes. If you do not use the all parameter, the command displays only the
best route.
Note
If you use the connected keyword for protocol, the all option is not available because
there are no best or nonbest connected routes.
Note
If you use the static keyword for protocol, the description option is also available,
for example: show ip route ip-address static description. This command shows the description
configured with the specified static route(s).
Format show ip route ip-address [protocol] | {ip-address mask
[longer-prefixes] [protocol] | protocol} [all] | all}]
Modes
Privileged EXEC
User EXEC
Term Definition
Route Codes
The key for the routing protocol codes that might appear in the routing table output.
The show ip route command displays the routing tables in the following format:
Code IP-Address/Mask [Preference/Metric] via Next-Hop, Route-Timestamp, Interface,
Truncated
The columns for the routing table display the following information:
Term
Definition
Code
The codes for the routing protocols that created the routes.
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 522