N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 38
Show all IP Route information
The following command displays IP route information:
show ip route
Command mode:
All except User EXEC
Status code: * - best
Destination Mask Gateway Type Tag Metr If
--------------- --------------- --------------- --------- --------- ---- --
* 11.0.0.0 255.0.0.0 11.0.0.1 direct fixed 211
* 11.0.0.1 255.255.255.255 11.0.0.1 local addr 211
* 11.255.255.255 255.255.255.255 11.255.255.255 broadcast broadcast 211
* 12.0.0.0 255.0.0.0 12.0.0.1 direct fixed 12
* 12.0.0.1 255.255.255.255 12.0.0.1 local addr 12
* 12.255.255.255 255.255.255.255 12.255.255.255 broadcast broadcast 12
* 13.0.0.0 255.0.0.0 11.0.0.2 indirect ospf 2 211
* 47.0.0.0 255.0.0.0 47.133.88.1 indirect static 24
* 47.133.88.0 255.255.255.0 47.133.88.46 direct fixed 24
* 172.30.52.223 255.255.255.255 172.30.52.223 broadcast broadcast 2
* 224.0.0.0 224.0.0.0 0.0.0.0 martian martian
* 224.0.0.5 255.255.255.255 0.0.0.0 multicast addr
The following table describes the
Type
parameter.
Table 28 IP Routing Type information
Field
Description
indirect
The next hop to the host or subnet destination will be
forwarded through a router at the
Gateway
address.
direct
Packets will be delivered to a destination host or subnet
attached to the switch.
local
Indicates a route to one of the switch‘s IP interfaces.
broadcast
Indicates a broadcast route.
martian
The destination belongs to a host or subnet which is filtered
out. Packets to this destination are discarded.
multicast
Indicates a multicast route.
The following table describes the
Tag
parameter.
Table 29 IP Routing Tag information
Field
Description
fixed
The address belongs to a host or subnet attached to the
switch.
static
The address is a static route which has been configured on
the Switch.
addr
The address belongs to one of the switch‘s IP interfaces.
rip
The address was learned by the Routing Information
Protocol (RIP).
ospf
The address was learned by Open Shortest Path First
(OSPF).
broadcast
Indicates a broadcast address.
martian
The address belongs to a filtered group.