92Configuring and Managing Ports and VLANs

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)

Creating a VLAN

To create a VLAN, use the following command:

set vlan vlan-numname name

Specify a VLAN number from 2 to 4095, 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.

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.

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:

23x0# 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]

320657-A

Page 92
Image 92
Nortel Networks 2300 manual Configuring a Vlan, Creating a Vlan, Adding Ports to a Vlan, Set vlan vlan-numname name