Nortel Networks 2300 Switch User Manual


 
106 Configuring and managing ports and VLANs
NN47250-500 (320657-F Version 02.01)
Configuring a VLAN
You can configure the following VLAN parameters:
VLAN number
•VLAN name
Port list (the ports in the VLAN)
Per-port tag value (an 802.1Q value representing a virtual port in the VLAN)
Tunnel affinity (a value that influences tunneling connections for roaming)
MAC restriction list (if you want to prevent clients from communicating with one another directly at
Layer 2)
Creating a VLAN
To create a VLAN, use the following command:
set vlan vlan-num name name
Specify a VLAN number from 2 to 4093, and specify a name up to 16 alphabetic characters long.
You cannot use a number as the first character in a VLAN name. Nortel recommends that you do not use the
same name with different capitalizations for VLANs or ACLs. For example, do not configure two separate
VLANs with the names red and RED.
You must assign a name to a VLAN before you can add ports to the VLAN. You can configure the name and
add ports with a single set vlan command or separate set vlan commands.
Once you assign a VLAN number to a VLAN, you cannot change the number. However, you can change a
VLAN’s name.
For example, to assign the name red to VLAN 2, type the following command:
WSS# set vlan 2 name red
After you create a VLAN, you can use the VLAN number or the VLAN name in commands. In addition, the
VLAN name appears in CLI and WLAN Management Software displays.
Adding ports to a VLAN
To add a port to a VLAN, use the following command:
set vlan vlan-id port port-list [tag tag-value]
Note. Nortel recommends that you do not use the name default. This name is already
used for VLAN 1. Nortel also recommends that you do not rename the default VLAN.