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:
Frame is dropped
Frame is dropped
Frame is dropped
The default configuration is access port on VLAN 1, so frame will be accepted and the switch will learn the MAC address.