Allied Telesis AT-S63 User Manual

Page 497

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

Section VI: Virtual LANs

497

Tagged ports of the new VLAN remain as tagged and untagged members
of their current VLAN assignments. No change is made to a tagged port’s
current VLAN assignments, other than its addition to the new VLAN. This
is because a tagged port can belong to more than one VLAN at a time. For
example, if you add port 6 as a tagged port to a new VLAN, port 6 remains
a member of its other current untagged and tagged VLAN assignments.

If the switch is using 802.1x port-based network access control, a port set
to the authenticator or supplicant role must be changed to the 802.1x none
role before its untagged VLAN assignment can be changed. After the
VLAN assignment is made, the port’s role can be changed back again to
authenticator or supplicant, if necessary.

Examples

The following command uses Syntax 1 to create a port-based VLAN called
Sales with a VID of 3. The VLAN consists of ports 4 to 8 and ports 12 to
16. All ports will be untagged ports in the VLAN:

create vlan=Sales vid=3 ports=4-8,12-16 frame=untagged

The following command uses Syntax 2 to create the same VLAN:

create vlan=Sales vid=3 untaggedports=4-8,12-16

In the following command, Syntax 1 is used to create a tagged VLAN
called Production with a VID of 22. The VLAN consists of two tagged ports,
ports 3 and 6:

create vlan=Production vid=22 ports=3,6 frame=tagged

The following command uses Syntax 2 to create the same VLAN:

create vlan=Sales vid=22 taggedports=3,6

You cannot use Syntax 1 to create a tagged VLAN that contains both
untagged and tagged ports. For instance, suppose you wanted to create a
VLAN called Service with a VID of 16 and untagged ports 1, 4, 5-7 and
tagged ports 11 and 12. Creating this VLAN using Syntax 1 would actually
require two commands. You would first need to create the VLAN,
specifying either the untagged or tagged ports. As an example, the
following command creates the VLAN and specifies the untagged ports:

create vlan=Service vid=16 ports=1,4,5-7 frame=untagged

Then, to add the other ports (in this case tagged ports), you would need to
use the ADD VLAN command.

Syntax 2 allows you to create a VLAN of both tagged and untagged ports
all in one command. Here is the command that would create our example:

Advertising