System information
102
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
show ip route (continued)
Usage: When you add an IP interface to a VLAN that is up, MSS adds direct and local routes
for the interface to the route table. If the VLAN is down, MSS does not add the routes.
If you add an interface to a VLAN but the routes for that interface do not appear in the
route table, use the show vlan config command to check the VLAN state.
If you add a static route and the route’s state is shown as Down, use the show interface
command to verify that the DWS-1008 has an IP interface in the gateway router’s subnet.
MSS cannot resolve a static route unless one of the switch’s VLANs has an interface in the
gateway router’s subnet. If the switch has such an interface but the static route is still down,
use the show vlan config command to check the state of the VLAN’s ports.
Examples: The following command shows all routes in a DWS-1008 switch’s IP route table:
DWS-1008# show ip route
Router table for IPv4
Destination/Mask Proto Metric NH-Type Gateway VLAN:Interface
----------------------- --------- -------- ------------ ------------- ---------------------------
0.0.0.0/ 0 Static 1 Router 10.0.1.17 Down
0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip
10.0.2.1/24 IP 0 Direct vlan:2:ip
10.0.2.1/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
10.0.2.255/32 IP 0 Direct vlan:2:ip:10.0.1.1/24
224.0.0.0/ 4 IP 0 Local MULTICAST
The table below describes the fields in this display.
Field Description
Destination/Mask IP address and subnet mask of the route destination. The
244.0.0.0 route is automatically added by MSS and supports
the IGMP snooping feature.
Proto Protocol that added the route to the IP route table. The protocol
can be one of the following:
• IP - MSS added the route.
• Static - An administrator added the route.
Metric Cost for using the route.










