Configuring and Managing Ports and VLANs 93

You can specify a tag value from 1 through 4095.

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.

For example, to add ports 9 through 11 and port 21 to VLAN red, type the following command:

23x0# set vlan red port 9-11,21

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 12 through 19 and port 22, and assign tag value 11 to port 22, type the following commands:

23x0# set vlan 4 name marigold port 12-19 success: change accepted.

23x0# set vlan 4 name marigold port 22 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]]

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.

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 21 from VLAN red, type the following command:

23x0# clear vlan red port 21

Thismaydisruptuserconnectivity.Doyouwishtocontinue?(y/n)[n]y success: change accepted.

To clear port 13, which uses tag value 11, from VLAN marigold, type the following command:

23x0# clear vlan marigold port 13 tag 11

Thismaydisruptuserconnectivity.Doyouwishtocontinue?(y/n)[n]y success: change accepted.

Nortel WLAN Security Switch 2300 Series Configuration Guide

Page 93
Image 93
Nortel Networks 2300 Removing an Entire Vlan or a Vlan Port, 23x0# set vlan red port 9-11,21, 23x0# clear vlan red port