What happens when an untagged frame is sent to a multiple untagged VLANs port

vlan

I am totally new to the concept of VLAN and just read about it today. So sorry if my question sounds stupid.

Let's say I set up port g2 on a 10-port Cisco switch as a general port (thus can be part of multiple tagged/untagged VLANs). Furthermore, g2 is setup to be 1U,2U,3U,4T (VLAN 1,2,3,4 with 1,2,3 untagged and 4 tagged). No PVID is setup.

My question is what happens when an untagged frame is sent to port g2? Because no PVID is setup, how will the switch manage that frame?

Best Answer

Every trunk port/port-group on a Cisco switch can have a default vlan, it's this vlan that is added to untagged traffic that needs further trunking, or if it's a L3 switch can be used for routing internally. As Chris suggests though it a ONE default vlan, as there'd be nothing to define which non-existant vlan untagged traffic was supposed to go on. Ultimately try to tag all traffic in a mixed vlan environment if you can.