Operation Manual

Configuration Guide 178
Configuring MAC VLAN Configuration Example
3) Set port 1/0/4 and port 1/0/5 as untagged ports, and respectively add them to VLAN 10
and VLAN 20.
Switch_3(config)#interface ten-gigabitEthernet 1/0/4
Switch_3(config-if)#switchport general allowed vlan 10 untagged
Switch_3(config-if)#exit
Switch_3(config)#interface ten-gigabitEthernet 1/0/5
Switch_3(config-if)#switchport general allowed vlan 20 untagged
Switch_3(config-if)#end
Switch_3#copy running-config startup-config
Verify the Configurations

Switch 1
Switch_1#show mac-vlan all
MAC Address Description VLAN
---------------------- ----------------- ----------
00:19:56:8A:4C:71 PCA 10
00:19:56:82:3B:70 PCB 20
---------------------------------------------------------------------

Switch 2
Switch_2#show mac-vlan all
MAC Address Description VLAN
---------------------- --------------------- -----------
00:19:56:8A:4C:71 PCA 10
00:19:56:82:3B:70 PCB 20
-------------------------------------------------------------------------

Switch 3
Switch_3#show vlan
VLAN Name Status Ports
-------- --------------- ------------- -------------------------------------
1 Default VLAN active Te1/0/1, Te1/0/2, Te1/0/3, Te1/0/4,
Te1/0/5, Te1/0/6, Te1/0/7, Te1/0/8