User's Manual

215
2 byte
3 bit 1 bit
12 bit
Figure 3 Structure of the VLAN Tag of Ethernet frame
TPID is a field in VLAN Tag and the value of this field regulated by IEEE 802.1Q is 0x8100.switches
adopt the default TPID value, that is, 0x8100. Some manufacturers do not set the TPID of the
outside tag of the Dot1Q Tunnel packets in their devices to 0x8100. In order to be compatible with
these devices, most switches provide the function to modify the TPID value of the Dot1Q Tunnel
packets. The TPID value of the PE device can be configured by users. After the ports of these
devices receive packets, the TPID value of the outside VLAN tag of these packets will be replaced
with user-defined value and then these packets will be forwarded. In this way, the Dot1Q Tunnel
packets can be identified by the devices of other manufacturer after they are forwarded into the
public network.
31.3 VLANConfiguration Task List
Adding/Deleting VLAN
Configuring the Port of the Switch
Creating/deleting the VLAN interface
Configuring the superVLAN interface
Monitoring the VLAN Configuration and VLAN State
Configuring the VLAN-based access control model
Enabling or Disabling Dot1Q Tunnel Globally
Configuring VLAN translation mode and items on a port
Setting MAC-Based VLAN
Setting IP Subnet-Based VLAN
Setting Protocol-Based VLAN
31.4 VLAN Configuration Task
31.4.1 Adding/Deleting VLAN
VLAN is grouped according to different functions, project groups or different applications, not based
on the physical locations of these users. VLAN has the similar attributes as the physical LAN, but
can group terminals in different physical LANs into a same VLAN. One VLAN can have multiple
ports, while all unicast/broadcast/multicast packets can be forwarded or diffused to the terminals
through a same VLAN. Each VLAN is a logical network; to forward one packet to another VLAN,
the routes or bridge must be used to forward it.
Run the following commands to configure VLAN:
Command Purpose
vlan
vlan-id
Enters the
VLAN
configuration mode.
name
str
Name in the
VLAN
configuration mode
Exit
Exits the
VLAN
configuration mode and creates
the
VLAN
.