Allied Telesis AT-S60 User Manual
Page 191
AT-S60 Command Line User’s Guide
189
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 of a line card as a tagged
port to a new VLAN, Port 6 remains a member of its other current
untagged and tagged VLAN assignments.
Examples
The following command uses Syntax 1 to create a port-based VLAN
called Sales with a VID of 3. The VLAN will consist of Ports 4 through 8
from the line card in Slot 5 and Ports 1 through 8 from the line card in
Slot 11. All ports will be untagged ports in the VLAN:
create vlan=Sales vid=3 port=5.4-8,11.1-8
frame=untagged
The following command uses Syntax 2 to create the same VLAN:
create vlan=Sales vid=3 untaggedports=5.4-8,
11.1-8
In the following command, Syntax 1 is used to create a tagged VLAN
called Production with a VID of 22. The VLAN will consist of two tagged
ports Ports 3 and 6, from the line card in Slot 7:
create vlan=Production vid=22 port=7.3,6
frame=tagged
The following command uses Syntax 2 to create the same VLAN:
create vlan=Sales vid=22 taggedports=7.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 from
the line card in Slot 1 and tagged Ports 1 and 2 from the line card in Slot
8. 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 port=1.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.