Switching Introduction
©2008 Allied Telesis Inc. All rights reserved.
14.16
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
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 (
vlan command on page 16.16
), you give it a numerical VLAN
Identifier (VID)—a number from 2 to 4094, which is included in VLAN-tagged Ethernet frames
to and from this VLAN. 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<VID>. In command
output, the VLAN may be referred to by its VID, its interface name (vlan<VID>), 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 created by the
vlan
command, and this removes it from
the default VLAN (
switchport access vlan
command).
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 (
switchport mode trunk
), and add the VLANs (
switchport trunk allowed vlan
). 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 (
switchport trunk
native vlan
).
Mirror ports
A mirror port cannot be associated with a VLAN. If a switch port is configured to be a mirror
port (
mirror interface command on page 15.9
), 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.
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......