XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
189
Fig 1-8 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/0/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/0/1
SwitchA (Config-Ethernet1/0/1)# swportport mode hybrid
SwitchA (Config-Ethernet1/0/1)# swportport hybrid allowed vlan 100 untagged
SwitchB (Config)#mac-vlan mac 00-03-0f-11-22-33 vlan 100 priority 0
SwitchB (Config)#exit
SwitchB#
SwitchC (Config)#mac-vlan mac 00-03-0f-11-22-33 vlan 100 priority 0
SwitchC (Config)#exit
SwitchC#
22.5.4 Dynamic VLAN Troubleshooting
On the switch configured with dynamic VLAN, if the two connected equipment (e.g. PC)
are both belongs to the same dynamic VLAN, first communication between the two
SwitchA SwitchB SwitchC
VLAN100
VLAN200
VLAN300
M