3 typical application of the dynamic vlan – PLANET XGS3-24040 User Manual
Page 130

Chapter 14 VLAN Configuration
14-19
14.5.3 Typical Application of the Dynamic VLAN
Scenario:
In the office network Department A belongs to VLAN100. Several members of this department often have the
need to move within the whole office network. It is also required to ensure the resource for other members of
the department to access VLAN 100. Assume one of the members is M, the MAC address of his PC is
00-30-4f-11-22-33, when M moves to VLAN200 or VLAN300, the port connecting M is configured as Hybrid
mode and belongs to VLAN100 with untag mode. In this way, the data of VLAN100 will be forwarded to the
port connecting M, and implement the communication requirement in VLAN100.
Figure 1-7 Typical topology application of dynamic VLAN
Configuration Items
Configuration Explanation
MAC-based VLAN
Global configuration on Switch A, Switch B, Switch C.
For example, M at E1/1 of SwitchA, then the configuration procedures are as follows:
Switch A, Switch B, Switch C:
SwitchA (Config)#mac-vlan mac 00-03 -0f-11-22-33 vlan 100 priority 0
SwitchA (Config)#interface ethernet 1/1
SwitchA (Config-Ethernet1/1)# swportport mode hybrid
SwitchA (Config-Ethernet1/1)# swportport hybrid allowed vlan 100 untagged
SwitchB (Config)#mac-vlan mac 00-30-4f-11-22-33 vlan 100 priority 0
SwitchB (Config)#exit
SwitchB#
SwitchC (Config)#mac-vlan mac 00-30-4f-11-22-33 vlan 100 priority 0
SwitchC (Config)#exit
SwitchC#
SwitchA
SwitchB
SwitchC
VLAN100
VLAN200
VLAN300
M