77
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring and Managing Ports and VLANs
To remove an entire VLAN or a specific port and tag value from a VLAN, use the following
command:
clear vlan
vlan-id
[
port
port-list
[
tag
tag-value
]]
The
clear vlan
command with a VLAN ID but without a port list or tag value clears all ports
and tag values from the VLAN.
Note:
MSS does not remove a port from other VLANs when you add the port to a new VLAN.
If a new VLAN causes a configuration conflict with an older VLAN, remove the port from the
older VLAN before adding the port to the new VLAN.
Caution:
When you remove a VLAN, MSS completely removes the VLAN from the
configuration and also removes all configuration information that uses the VLAN. If you want
to remove only a specific port from the VLAN, make sure you specify the port number in the
command.
To remove port 5 from VLAN
red
, type the following command:
DWS-1008#
clear vlan red port 5
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
To clear port 2, which uses tag value 11, from VLAN
marigold
, type the following command:
DWS-1008#
clear vlan marigold port 2 tag 11
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
To completely remove VLAN
ecru
, type the following command:
DWS-1008#
clear vlan ecru
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
Displaying VLAN Information
To display VLAN configuration information, use the following command:
show vlan config
[
vlan-id
]
To display information for VLAN
burgundy
, type the following command:
Summary of Contents for DWS-1008
Page 1: ......