Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
405
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 Mask Gateway Interface Source
default 0.0.0.0 172.28.0.1 mgmt0 DHCP
10.10.10.0 255.255.255.0 172.28.2.4 mgmt0 static
172.28.0.0 255.255.0.0 0.0.0.0 mgmt0 direct
1.0.0.0 255.255.255.0 0.0.0.0 Vlan11 direct
2.0.0.0 255.255.255.0 0.0.0.0 Vlan12 direct
3.0.0.0 255.255.255.0 0.0.0.0 Vlan13 direct
4.0.0.0 255.255.255.0 0.0.0.0 Vlan14 direct
8.8.8.0 255.255.255.0 0.0.0.0 Vlan1 direct
7.7.7.0 255.255.255.0 1.0.0.2 Vlan11 static
2.0.0.2 Vlan12 static
4.0.0.2 Vlan14 static
3.0.0.2 Vlan13 static
switch (config) #
Related Commands ip route
Note
ECMP routes are displayed in an aggregated manner.