Configuring vlans – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 415

VLAN Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
16.3
Configuring VLANs
Defaults
By default, all switch ports are in access mode, are associated with the default VLAN
(vlan1), and have ingress filtering on. You cannot delete vlan1.
VLAN names
When you create a VLAN (using the
command), you give it a numerical VLAN
Identifier (VID) - a number from 2 to 4094. If tagged frames are transmitted from this VLAN,
they will contain this VID in their tag. You may also give it an arbitrary alphanumeric name
containing a meaningful description, which is not transmitted to other devices.
When referring to a VLAN, some commands require the VLAN to be specified by its VID
while some commands require it to be specified by its interface name: vlan
command output, the VLAN may be referred to by its VID, its interface name (vlan
or its VLAN name (the arbitrary alphanumeric string).
You can name a VLAN with a string containing “vlan” and its VLAN Identifier (VID). To avoid
confusion, we recommend not naming it “vlan” followed by any number different from its
VID.
Access mode
A switch port in access mode sends untagged Ethernet frames, that is, frames without a
VLAN tag. Each port is associated with one VLAN (the port-based VLAN, by default, vlan1),
and when it receives untagged frames, it associates them with the VID of this VLAN. You
can associate the port with another VLAN (using the
command).
This removes it from the default VLAN.
Use access mode for any ports connected to devices that do not use VLAN tagging, for
instance PC workstations.
Trunk mode
A switch port in trunk mode is associated with one or more VLANs for which it transmits
VLAN-tagged frames, and for which it identifies incoming tagged frames with these VIDs.
To allow a switch port to distinguish and identify traffic from different VLANs, put it in
trunk mode (using the
command), and add the VLANs (using the
command). Use trunk mode for ports connected to other
switches which send VLAN-tagged traffic from one or more VLANs.
A trunk mode port may also have a native VLAN (by default vlan1), for which it transmits
untagged frames, and with which it associates incoming untagged frames (using the
command).
Ports in trunk mode can be enabled as promiscuous ports for private VLANs (using the
switchport mode private-vlan trunk promiscuous
) and secondary ports for private
VLANs (using the
switchport mode private-vlan trunk secondary
Mirror ports
A mirror port cannot be associated with a VLAN. If a switch port is configured to be a
mirror port (using the
command), it is automatically removed from any
VLAN it was associated with.
VLANs and
channel groups
All the ports in a channel group must have the same VLAN configuration: they must
belong to the same VLANs and have the same tagging status, and can only be operated
on as a group.