IP Routing Protocol-Independent Commands
OL-32830-01 Command Line Interface Reference Guide
470
23
Parameters
•
address
ip-address
—IP address about which routing information should be
displayed.
•
mask
—The value of the subnet mask.
•
longer-prefixes—Specifies that only routes matching the IP address and
mask pair should be displayed.
•
connected—Displays connected routes.
•
icmp—Displays routes added by ICMP Direct.
•
rejected—Displays rejected routes.
•
static—Displays static routes.
Command Mode
User EXEC mode
Privileged EXEC mode
User Guidelines
Use this command without parameters to display the whole IPv6 Routing table.
Use this command with parameters to specify required routes.
Examples
Example 1. The following is sample output from the show ip route command when
IP Routing is not enabled:
switchxxxxxx#
show ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: disabled
Codes: > - best, C - connected, S - static, I - ICMP
IP Routing Table - 5 entries
Code IP Route Distance/ Next Hop Last Time Outgoing
Metric IP Address Updated Interface
------ ------------------- ----------- --------------- ------------- ------------
S> 10.10.0.0/16 1/128 10.119.254.244 00:02:22 vlan2
Summary of Contents for 300 Series
Page 2: ......