Configuring MAC VLAN Configuration Example
Configuration Guide  
  171
Switch_3(config)#interface fastEthernet 1/0/3
Switch_3(config-if)#switchport general allowed vlan 10,20 tagged
Switch_3(config-if)#exit
3)  Add untagged port 1/0/4 to VLAN 10 and untagged port 1/0/5 to VLAN 20.
Switch_3(config)#interface fastEthernet 1/0/4
Switch_3(config-if)#switchport general allowed vlan 10 untagged
Switch_3(config-if)#exit
Switch_3(config)#interface fastEthernet 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 Add                           Name                              VLAN-ID
----------------------        -----------------             ----------
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