Allied Telesis AT-S63 User Manual

Page 588

Advertising
background image

Chapter 31: Port-based VLAN, Tagged VLAN, and Multiple VLAN Mode Commands

588

Section VI: Virtual LANs

type

Specifies the type of VLAN to be created. The

option PORT signifies a port-based or tagged
VLAN. This parameter is optional.

ports

Specifies the ports of the VLAN. For instructions on
how to enter port numbers, refer to “Port Numbers
in Commands” on page 47.
To specify all the ports,
use ALL. This parameter must be followed by the
FRAME parameter.

frame

Specifies whether the ports are to be tagged or

untagged. This parameter must be used with the
PORT parameter.

taggedports

Specifies the tagged ports of the VLAN. To specify

all ports, use ALL. Omit this parameter if the VLAN
does not contain tagged ports.

untaggedports

Specifies the untagged ports of the VLAN. To

specify all the ports, use ALL. Omit this parameter if
the VLAN does not contain untagged ports.

Description

This command is used to create port-based and tagged VLANs.

This command has two syntaxes. You can use either syntax to create
VLANs. The difference between the two syntaxes is how you specify the
tagged and untagged ports. Syntax 1 is limited because it allows you to
specify either tagged or untagged ports, but not both at the same time. On
the other hand, you can use Syntax 2 to create a VLAN that has both
types of ports. This is illustrated in the Examples section below.

When you create a new VLAN, untagged ports of the new VLAN are
automatically removed from their current untagged VLAN assignment.
This is because a port can be an untagged member of only one VLAN at a
time. For example, creating a new VLAN with untagged Ports 1 to 4
automatically removes these ports from whichever VLAN they are
currently untagged members.

The PVID of an untagged port is automatically changed to match the VID
number of the VLAN where it is added. For instance, if you add port 4 as
an untagged member of a VLAN with a VID of 15, the PVID for port 4 is
automatically changed to 15.

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.

Advertising