Cisco Switch – Understanding the MAC Address Learning Process

ciscoswitchswitchingswitchportvlan

Does a switch learns hosts mac address in these following scenarios:

  • Switch port configured as access and frames received tagged on different VLAN
  • Switch port configured as trunk and frames received tagged on non authorized trunk VLAN
  • Switch port configured as trunk without native VLAN and frames received not tagged
  • Switch port not configured (default), and frames received

And more global question, are these generals rules or does it depends of the vendors ?

Best Answer

It depends on the manufacturer. For Cisco switches:

Switch port configured as access and frames received tagged on different VLAN

Frame is dropped

Switch port configured as trunk and frames received tagged on non authorized trunk VLAN

Frame is dropped

Switch port configured as trunk without native VLAN and frames received not tagged

Frame is dropped

Switch port not configured (default), and frames received

The default configuration is access port on VLAN 1, so frame will be accepted and the switch will learn the MAC address.

Related Topic