28 Intel® Blade Server Ethernet Switch Module IXM5414E
IEEE 802.1Q VLAN tags
The following illustration shows the 802.1Q VLAN tag. Four additional octets are inserted between
the source MAC address and the packet’s EtherType field. Their presence is indicated by a value of
0x8100 in the two bytes following the MAC address, in the VLAN tag’s EtherType field, indicating
that the packet carries an IEEE 802.1Q/802.1p tag. The tag is contained in the following 2 octets and
consists of 3 bits of user priority, 1 bit of Canonical Format Identifier (CFI) and 12 bits of VLAN ID
(VID). The 3 bits of user priority are used according to the protocols defined in IEEE 802.1p (now
part of IEEE 802.1D). The VID is the VLAN identifier and its use is defined by the 802.1Q standard.
Because the VID is 12 bits long, 4094 unique VLANs can be identified.
The tag is inserted into the packet header, increasing the length of the entire packet by 4 octets. All
of the information that was originally contained in the packet is retained.
The EtherType and VLAN ID are inserted after the MAC source address, but before the origina l
EtherType/Length or Logical Link Control. Because the packet is now longer than it was
originally, the cyclic redundancy check (CRC) must be recalculated.
0
Octets
12 3 4
DestinationAddress (6 octets)
DestinationAddress (6 octets)
SourceAddress (6 octets)
SourceAddress (6 octets)
EtherType= 0x8100
EtherType= 0x8100
TagControl Information
TagControl Information
MACLength/Type
MACLength/Type
Beginingof Data
Beginingof Data
IEEE 802.1Q Tag
IEEE 802.1Q Tag
UserPriority
UserPriority
CFI VLANID (VID) (12 bits)
VLANID (VID) (12 bits)
3bits
3bits
1bit
1bit
12bits
12bits
CyclicRedundancy Check (4 octets)
CyclicRedundancy Check (4 octets)