show ip/ipv6 route
show {ip | ipv6} route [static]
Displays the routing table in the system.
Syntax Description
static
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.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
::
::
::
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
mgmt0
lo
mgmt1
Mellanox Technologies
Rev 1.6.2
Source
DHCP
static
static
static
interface
Source
static
local
interface
51