The default VLAN ID of an interface is called the port default VLAN ID (PVID). Frames processed on a switch all carry VLAN tags. Whether the VLAN tags are added or removed depends on whether the frame is tagged or untagged, and whether the frame has the same VLAN ID as the interface's PVID. The details are as follows:
- When an interface receives an untagged frame, the switch adds a tag with the PVID to the frame and processes the frame. When an interface receives a tagged frame, the switch does not add a tag with the PVID to the frame.
- When an interface sends a frame in which the VLAN ID is the same as the PVID, the switch removes the tag from the frame before sending it out from the interface.