
Operation Manual – VLAN
H3C S9500 Series Routing Switches
Chapter 1 VLAN Configuration
1-2
A VLAN is not restricted by physical factors, that is to say, hosts that reside in different
network segments may belong to the same VLAN; a VLAN can be with the same switch,
or span across multiple switches or routers.
VLAN technology has the following advantages:
z
Broadcast traffic is confined to each VLAN, reducing bandwidth utilization and
improving network performance.
z
LAN security is improved. Packets in different VLANs cannot communicate with
each other directly. That is, users in a VLAN cannot interact directly with users in
other VLANs, unless routers or Layer 3 switches are used.
z
A more flexible way to establish virtual working groups. With VLAN technology,
clients can be allocated to different working groups, and users from the same
group do not have to be within the same physical area, making network
construction and maintenance much easier and more flexible.
1.1.2 VLAN Fundamental
To enable switches to identify packets of different VLANs, the VLAN tag field is inserted
into the data link layer encapsulation of packets.
The format of the packets carrying the VLAN tag field is defined in IEEE 802.1Q, which
was issued in 1999.
In the header of a traditional Ethernet packet, the field following the destination MAC
address and the source MAC address is protocol type, which indicates the upper layer
protocol type.
Figure 1-2
illustrates the format of a traditional Ethernet packet, where
DA stands for destination MAC address, SA stands for source MAC address, and Type
stands for upper layer protocol type.
Figure 1-2
The format of a traditional Ethernet packet
IEEE 802.1Q defines a four-byte VLAN Tag field between the DA&SA field and the
Type field to carry VLAN-related information, as shown in
Figure 1-3
.
Figure 1-3
The position and the format of the VLAN Tag field
The VLAN Tag field comprises four sub-fields: the TPID field, the Priority field, the CFI
field, and the VLAN ID field.
z
The tag protocol identifier (TPID) field, 16 bits in length, indicates that this data
frame is VLAN-tagged. IEEE 802.1Q defines the value of this filed as 0x8100.