IP Routing Protocol-Independent Commands
78-21075-01 Command Line Interface Reference Guide
Parameters
•
IP_address
address
displayed.
•
mask—The subnet mask.
•
longer-prefixes—Specifies that only routes matching the IP address and
mask pair should be displayed.
•
static—Displays static routes only.
•
connected—Displays connected routes only.
•
rejected—Displays rejected routes only.
•
summary—Displays current contents of the IP routing table in summary
format.
Example
Example 1 - The following is sample output from this command when IP Routing is
not enabled:
Router# show ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: disabled
Example 2 - The following is sample output from this command when IP Routing is
enabled:
SG300-10SFP-L3#show ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static
S
0.0.0.0/0 [1/1] via 10.5.234.254, 25:7:2, vlan 1
C
10.5.234.0/24 is directly connected, vlan 1
—IP address about which routing information should be
47
769