show ip route
show ip route
Displays the route table.
Syntax Description
N/A
Default
N/A
Modes/Context
Any Command Mode
History
3.1.0000
Role
admin
Example
switch (config) # show ip route
Destination
default
10.10.10.0
172.28.0.0
1.0.0.0
2.0.0.0
3.0.0.0
4.0.0.0
8.8.8.0
7.7.7.0
switch (config) #
Related Commands
ip route
Note
ECMP routes are displayed in an aggregated manner.
Mask
Gateway
0.0.0.0
172.28.0.1
255.255.255.0
172.28.2.4
255.255.0.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
0.0.0.0
255.255.255.0
1.0.0.2
2.0.0.2
4.0.0.2
3.0.0.2
Interface
Source
mgmt0
DHCP
mgmt0
static
mgmt0
direct
Vlan11
direct
Vlan12
direct
Vlan13
direct
Vlan14
direct
Vlan1
direct
Vlan11
static
Vlan12
static
Vlan14
static
Vlan13
static
Mellanox Technologies
Rev 1.6.2
405