Configuration Guide     178
Configuring MAC VLAN Configuration Example
Switch_3(config-if)#switchport general allowed vlan 10 untagged
Switch_3(config-if)#exit
Switch_3(config)#interface 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                 Gi1/0/1, Gi1/0/2, Gi1/0/3, Gi1/0/4, 
                                                                                        Gi1/0/5, Gi1/0/6, Gi1/0/7, Gi1/0/8
                                                                                        ......
10                   DeptA                     active                 Gi1/0/2, Gi1/0/3, Gi1/0/4
20                   DeptB                     active                 Gi1/0/2, Gi1/0/3, Gi1/0/5