VLAN
Division
Method
Definition
MAC address-
based VLAN
division
PCs are added to VLANs based on their MAC addresses.
A switch maintains a VLAN mapping table that records mappings
between MAC addresses and VLANs.
IP subnet-based
VLAN division
VLANs are configured based on IP addresses of PCs. PCs belonging
to one IP subnet are added to the same VLAN.
A switch maintains a VLAN mapping table that records mappings
between IP subnets and VLANs.
Protocol-based
VLAN division
VLANs are configured based on the Length/Type fields in Layer 2
frames. Currently, IPv4, IPv6, IPX, or AppleTalk can be specified in
the Length/Type field of a Layer 2 frame to indicate the running
network protocol.
A switch maintains a VLAN mapping table that records mappings
between protocols and VLANs.
Policy-based
VLAN division
PCs are added to VLANs based on their MAC and IP addresses.
A switch maintains a VLAN mapping table that records mappings
between MAC addresses, IP addresses, interfaces, and VLANs.
l Type of VLAN links
Figure 3-4 Schematic diagram for VLAN links
Trunk link
CE1
CE2
PC3
VLAN3 VLAN3
PC4
PC1
VLAN2 VLAN2
PC2
3
2
3
2
2
3
Access link
Access link
Trunk link
PE
As shown in Figure 3-4, there are the following types of VLAN links:
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
67