Displaying Ip Routes - D-Link DWS-1008 - AirPremier MobileLAN Switch Product Manual

8 port 10/100 wireless switch with power over ethernet
Hide thumbs Also See for DWS-1008 - AirPremier MobileLAN Switch:
Table of Contents

Advertisement

To display IP routes, use the following command:
show ip route [destination]
The destination parameter specifies a destination IP address. To display the IP route table, type the
following command:
DWS-1008# show ip route
Router table for IPv4
Destination/Mask
0.0.0.0/ 0
0.0.0.0/ 0
10.0.1.1/24
10.0.1.1/32
10.0.1.255/32
10.0.2.1/24
10.0.2.1/32
10.0.2.255/32
224.0.0.0/ 4
This example shows dynamic routes added by MSS for two VLAN interfaces, 10.0.1.1/24 on VLAN 1
and 10.0.2.1/24 on VLAN 2.
This example also shows two static routes, which have a next-hop type (NH-Type) value of Router. Static
routes have a default router, listed in the Gateway field. The 0.0.0.0 destination represents a default
route. Here, default router 10.0.1.17 is reachable through the subnet on VLAN 1. Route 10.0.1.1/24
resolves the static route that uses the default router. Default router 10.0.2.17 is reachable through the
subnet on VLAN 2 and route 10.0.2.1/24 resolves the static route to that gateway.
MSS adds routes with next-hop types Direct and Local when you add an IP interface to a VLAN, when
the VLAN is up. Direct routes are for the locally attached subnets that the switch's IP addresses are in.
Local routes are for destination interfaces configured on the switch itself.
MSS automatically adds the 224.0.0.0 route to support the IGMP snooping feature.
If a VLAN is administratively disabled or all of the links in the VLAN go down or are disabled, MSS
removes the VLAN's routes from the route table. If the direct route required by a static route goes down,
MSS changes the static route state to Down. If the route table contains other static routes to the same
destination, MSS selects the resolved route that has the lowest cost. In the following example, the
default route to 10.0.1.17 is down, so MSS selects the default route to 10.0.2.17.
D-Link DWS-1008 User Manual

Displaying IP Routes

Proto Metric
NH-Type
Static 1
Router
Static 2
Router
IP
0
Direct
IP
0
Local
IP
0
Local
IP
0
Direct
IP
0
Local
IP
0
Local
IP
0
Local
Gateway
10.0.1.17
10.0.2.17


Advertisement

Table of Contents
loading

Table of Contents