124 Configuring and managing ports and VLANs
NN47250-500 (Version 03.01)
You can specify a tag value from 1 through 3583.
For example, to add ports 2 through 4 and port 8 to VLAN red, type the following command:
WSS# set vlan red port 2-4,8
success: change accepted.
Optionally, you also can specify a tag value to be used on trunked 802.1Q ports.
To assign the name marigold to VLAN 4, add ports 4 through 6 and port 7, and assign tag value 11 to port 7,
type the following commands:
WSS# set vlan 4 name marigold port 4-6
success: change accepted.
WSS# set vlan 4 name marigold port 7 tag 11
success: change accepted.

Removing an entire VLAN or a VLAN port

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.
To remove port 8 from VLAN red, type the following command:
WSS# clear vlan red port 8
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
To clear port 3, which uses tag value 11, from VLAN marigold, type the following command:
WSS# clear vlan marigold port 3 tag 11
This may disrupt user connectivity. Do you wish to continue? (y/n) [n]y
success: change accepted.
Note. WSS Software 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, WSS Software 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.