![background image](/i/d-link/151372/d-link-dws-3024/h/d-link-dws-3024-036.png)
36
© 2001- 2011 D-Link Corporation. All Rights Reserved.
Configuration Guide
(DWS-3024) (Interface 0/4)#exit
(DWS-3024) (Config)#exit
Example #4: Assign VLAN3 as the Default VLAN
This example shows how to assign VLAN 3 as the default VLAN for port 0/2.
(DWS-3024) #config
(DWS-3024) (Config)#interface 0/2
(DWS-3024) (Interface 0/2)#vlan pvid 3
(DWS-3024) (Interface 0/2)#exit
(DWS-3024) (Config)#exit
Example #5: Assign IP Addresses to VLAN 2
(DWS-3024) #vlan database
(DWS-3024) (Vlan)#vlan association subnet 192.168.10.10 255.255.255.0 2
(DWS-3024) (Vlan)#exit
(DWS-3024) #show vlan association subnet
IP Address IP Mask VLAN ID
---------------- ---------------- -------
192.168.10.10 255.255.255.0 2
(DWS-3024) #
Web Interface
You can perform the same configuration in the
section by using the Web
interface. To create VLANs and specify port participation, use the
LAN> L2 Features >
VLAN> VLAN Configuration
page.
Figure 6.
VLAN Configuration