show ip/ipv6 route
show {ip | ipv6} route [static]
Displays the routing table in the system.
Syntax Description
static
Default
N/A
Configuration Mode
Any Command Mode
History
3.1.0000
Role
admin
Example
switch (config) # show ip route
Destination
default
10.10.10.10
20.10.10.10
20.20.20.0
172.30.0.0
switch (config) # show ipv6 route
Destination prefix
-----------------------------------------------------------------------
::/0
::1/128
2222:2222:2222::/64
switch (config) #
Related Commands
show ip default-gateway
Note
Filters the table with the static route entries.
Mask
0.0.0.0
255.255.255.255
255.255.255.255
255.255.255.0
255.255.0.0
Gateway
::
::
::
Mellanox® Technologies Confidential
Gateway
Interface
172.30.0.1
mgmt0
0.0.0.0
mgmt0
172.30.0.1
mgmt0
0.0.0.0
mgmt0
0.0.0.0
mgmt0
Interface
Source
mgmt0
static
lo
local
mgmt1
interface
Mellanox Technologies
Rev 1.6.9
Source
DHCP
static
static
static
interface
52