User`s manual

23
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuration (continued)
Conguration
Note: To avoid confusion, do not assign numbers as VLAN names. Every VLAN on a
DWS-1008 switch has both a VLAN name used for authorization purposes and a VLAN
number. VLAN numbers can vary uniquely for each switch and are not related to 802.1Q tag
values even when used.
Conguring a Default Route
To congure a default route, use the following command:
set ip route default gateway metric
To verify the change, use the following command:
show ip route
The following commands add a default route that uses gateway 10.10.20.19 with a path cost
of 1, and verify the change:
DWS-1008# set ip route default 10.10.20.19 1
success: change accepted.
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.10.20.19 vlan:4:ip
10.10.10.4/24 IP 0 Direct vlan:2:ip
10.10.10.4/32 IP 0 Local vlan:2:ip:10.10.10.4/24
10.10.10.255/32 IP 0 Local vlan:2:ip:10.10.10.4/24
10.10.20.2/24 IP 0 Direct vlan:4:ip
10.10.20.2/32 IP 0 Local vlan:4:ip:10.10.20.2/24
10.10.20.255/32 IP 0 Local vlan:4:ip:10.10.20.2/24
224.0.0.0/ 4 IP 0 Local MULTICAST
The 0.0.0.0 route is the default route. The 10.10.10.x and 10.10.20.x routes in this example
are automatically added by MSS when you congure the corresponding IP interfaces.
The 224.0.0.0 route is for IGMP snooping. MSS automatically places this route in the
conguration.