Figure 3-11 Network diagram of MAC address-based VLAN assignment
PC1
PC2
PC3
Switch
SwitchA
Enterprise
network
GE1/0/1
GE1/0/1
GE1/0/2
MAC:22-22-22 MAC:33-33-33 MAC:44-44-44
VLAN 10
Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLANs and determine the VLAN that PCs of employees belong to.
2. Add Ethernet interfaces to VLANs.
3. Associate MAC addresses of PC1, PC2, and PC3 with the specified VLAN so that the
Switch can assign the VLAN to packets according to their source MAC addresses.
Data Preparation
To complete the configuration, you need the following data:
l The PVID of GE1/0/1 on the Switch is 100.
l GE1/0/1 of the Switch needs to be added to VLAN 10 in untagged mode.
l GE1/0/2 of the Switch needs to be added to VLAN 10 in tagged mode.
l VLAN 1 to which all the interfaces are added in untagged mode on SwitchA
l MAC addresses of PC1, PC2, and PC3 need to be associated with VLAN 10.
Procedure
Step 1 Configure the Switch.
# Create VLANs.
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.
121