show ip route
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
show ip route
To display the ip routes currently active, use the show ip route command.
Syntax Description
configured
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
None.
Examples
The following example displays active IP routes:
switch# show ip route
Codes: C - connected, S - static
Default gateway is 172.22.95.1
C 10.0.0.0/24 is directly connected, vsan1
C 172.22.95.0/24 is directly connected, mgmt0
The following example displays configured IP routes.
switch# show ip route configured
Cisco MDS 9000 Family Command Reference
22-182
show ip route [configured]
Modification
This command was introduced.
default
172.22.31.1
10.10.11.0
10.10.11.1
10.10.50.0
10.10.50.1
10.10.51.0
10.10.51.1
10.10.60.0
10.10.60.1
172.22.31.0
172.22.31.110
Displays configured IP routes.
0.0.0.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
Chapter 22
Show Commands
0
mgmt0
0 GigabitEthernet1/1
0 GigabitEthernet1/2.1
0 GigabitEthernet1/2.2
0 GigabitEthernet1/2
0
mgmt0
OL-18089-01, Cisco MDS NX-OS Release 4.x