beautypg.com

Allied Telesis AT-S62 User Manual

Page 299

background image

AT-S62 Command Line User’s Guide

299

port

Specifies the ports on the switch that are either

tagged or untagged members of the new VLAN. You
can specify the ports individually (for example, 5, 7,
22), as a range (for example, 18-23), or both (for
example, 1, 5, 14-22). To specify all ports on the
switch, use ALL. This parameter must be followed by
the FRAME parameter.

frame

Specifies whether the ports of the VLAN are to be

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

taggedports

Specifies the ports on the switch to serve as tagged

ports in the VLAN. To specify all ports on the switch,
use ALL. Omit this parameter if the VLAN does not
contain tagged ports.

untaggedports

Specifies the ports on the switch to function as

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

Description

This command creates a port-based or tagged VLAN.

This command has two syntaxes. You can use either syntax to create a
port-based or tagged VLAN. The difference between the two syntaxes is
how you specify which ports are members of the VLAN and whether the
ports are tagged or untagged. 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 to which it is added. For instance, if you make port 4
an untagged member of a VLAN with a VID of 15, port 4’s PVID is
changed to 15 automatically.