XG Series User's Guide Chapter 4 Switch Functions and their Configuration
VLAN
75
4.6.2 Tag-Based (IEEE802.1Q) VLAN

Tag-based VLAN is a method of configuring VLANs so that the frame forwarding decision is based on a tag in the MAC

header identifying the VLAN membership. 4 bytes of additional data in the header, called a VLAN tag, identifies the

VLAN frame ownership. Using a VLAN tag enables configuring a single physical link that shares multiple VLANs.

The device’s tag-based VLAN function is based on the IEEE 802.1Q standard.

The following figure shows an Ethernet frame format including a VLAN tag as specified by the IEEE 802.1Q standard.

To configure a tag-based VLAN, carry out the following procedures in "admin" Operation mode.

Command Task
XG2600# configure Switch to Configuration mode.
XG2600(config)# ether 1-8 vlan tag 100-300 Set the tag-based VLAN ID 100-300 for port 1-8.
XG2600(config)# commit Apply the configuration.
XG2600(config)# save Save the configuration.
XG2600(config)# exit Switch to Operation mode.
Protocol data (IP Packet, etc.)/
LLC,SNAP
Protocol data (IP Packet, etc.)/
LLC,SNAP
TPID (Tag Protocol Identifier) (0x8100)
TCI (Tag Control Information)
User Priority(3bit): Priority of Frames (Higher priority to larger number from 0 to 7)
CFI (Canonical Format Indicator)(1bit): ”1” when RIF field exists. Normally “0”.
VLAN ID(12bit):VLAN identifier (0 to 4095. 0 and 4095 are reserved ID)
TYPE
LENGTH
(2)
TYPE
LENGTH
(2)
VLAN tag
(4)
User
Priority
CFI VLAN ID
3 bit 1 bit 12 bit
DA
(6)
SA
(6)
2 bytes 2 bytes
TCI
TPID
0x8100
2 bytes 2 bytes
TCI
TPID
0x8100

Tag VLAN Frame Format