Change the PVIDs for certain ports in the new VLANs
Change the PVIDs for certain ports in the new VLANs
To set the PVID for port 1 to VLAN ID 10 and the PVID for port 4 to VLAN ID 20 so that packets entering these ports are tagged with the VLAN ID:
With the VLAN configuration that you set up, the following situations produce results as described:
- If an untagged packet enters port 1, the switch tags it with VLAN ID 10. The packet can access port 2 and port 3. The outgoing packet is stripped of its tag to leave port 2 as an untagged packet. For port 3, the outgoing packet leaves as a tagged packet with VLAN ID 10.
- If a tagged packet with VLAN ID 10 enters port 3, the packet can access port 1 and port 2. If the packet leaves port 1 or port 2, it is stripped of its tag to leave the switch as an untagged packet.
- If an untagged packet enters port 4, the switch tags it with VLAN ID 20. The packet can access port 5 and port 6. The outgoing packet is stripped of its tag to become an untagged packet as it leaves port 6. For port 5, the outgoing packet leaves as a tagged packet with VLAN ID 20.