Allied Telesis AT-S63 User Manual

Page 649

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section VI: Virtual LANs

649

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:

create vlan=Service vid=16 untaggedports=1,4,5-7
taggedports=11-12

The advantage of Syntax 2 over Syntax 1 is that you can create VLANs
that contain both types of ports with one command rather than two
commands.

Advertising