Can someone please explain what the point of having untagged and PVID options are (specifically on Netgear switches).<\/p>\n
Advertisement
When you set a VLAN up, you need to set which ports it applies too, which I understand, but I don’t quite get why I need to enable both PVID and untagged options on a certain port. They won’t work without the other (or so it seems), so why not simply just have PVID or untagged options on their own.<\/p>\n
Advertisement
I am fairly new to VLANs, so don’t understand all the ins and outs, but am trying to figure out why this is needed at all. If any am missing something, please let me know…or is this simply something that Netgear (or anyone else for that matter) do VLANs.<\/p>\n
so for instance, I have port 1 with a PVID of 1, untagged with VLAN 1 and Tagged with VLAN 5 and then port 5 with PVID 5 and untagged with VLAN 5. Why can’t I simply just have tagged and untagged, or tagged and PVID?<\/p>\n
OK, here is the general guides when talking about vlans (all systems).<\/p>\n
Switch to switch links (ports) are typically tagged, with the link members of all vlans that must cross the link.<\/p>\n
Switch to device links (ports) are typically untagged, with the ports PVID set to the desired vlan.<\/p>\n
There is an exception to the above guidance when dealing with voip phone and a computer on the same switch port. Setting the ports PVID to vlan 1 and tagging with vlan 5 falls under this exception. This is done to tag voip traffic but untag data lan traffic.<\/p>\n
Both ends of the link must be either tagged or untagged for communications to happen. You can’t have the switch tagging and the computer set to untagged (exception for the exception above)<\/p>","upvoteCount":2,"datePublished":"2012-11-29T11:14:01.000Z","url":"https://community.spiceworks.com/t/netgear-vlan-queries-untagged-vs-pvid/179389/2","author":{"@type":"Person","name":"george1421","url":"https://community.spiceworks.com/u/george1421"}},"suggestedAnswer":[{"@type":"Answer","text":"
Can someone please explain what the point of having untagged and PVID options are (specifically on Netgear switches).<\/p>\n
When you set a VLAN up, you need to set which ports it applies too, which I understand, but I don’t quite get why I need to enable both PVID and untagged options on a certain port. They won’t work without the other (or so it seems), so why not simply just have PVID or untagged options on their own.<\/p>\n
I am fairly new to VLANs, so don’t understand all the ins and outs, but am trying to figure out why this is needed at all. If any am missing something, please let me know…or is this simply something that Netgear (or anyone else for that matter) do VLANs.<\/p>\n
so for instance, I have port 1 with a PVID of 1, untagged with VLAN 1 and Tagged with VLAN 5 and then port 5 with PVID 5 and untagged with VLAN 5. Why can’t I simply just have tagged and untagged, or tagged and PVID?<\/p>\n
Thanks, yes I do understand this, but what is the point of having untagged and PVID options, they always seem to be the same (are they not)?<\/p>\n
Why not just have one or the other?<\/p>","upvoteCount":0,"datePublished":"2012-11-29T11:20:05.000Z","url":"https://community.spiceworks.com/t/netgear-vlan-queries-untagged-vs-pvid/179389/3","author":{"@type":"Person","name":"rs12832","url":"https://community.spiceworks.com/u/rs12832"}},{"@type":"Answer","text":"
I don’t know the netgear, but some switch mfg have different modes for their ports (access [allows only untagged], trunk [allows only tagged], general [allows both tagged and untagged]).<\/p>\n
In access mode untagging removes all vlan tag information and the PVID tell the port which vlan to connect to. In this mode they should be connected lock step. The pvid is more important on the General mode where it tells the port, if you see any untagged data assume it belongs to vlan X. You would use this in the example of a switch → voip phone → desktop computer. The Voip phone is setup to tag voip traffic and the computer has nothing special setup. The computer will only interact with untagged data so then when this traffic hits the switch port untagged, the switch knows to connect it to the data vlan inside the switch. When the switch see the voip traffic already tagged it just passes it on. It is a little confusing to have tagged data and untagged data going out the same port. But there are use cases for each setup.<\/p>","upvoteCount":0,"datePublished":"2012-11-29T12:35:39.000Z","url":"https://community.spiceworks.com/t/netgear-vlan-queries-untagged-vs-pvid/179389/4","author":{"@type":"Person","name":"george1421","url":"https://community.spiceworks.com/u/george1421"}},{"@type":"Answer","text":"
Hi,<\/p>\n
I believe I have the same question as the original poster, but I’d like to ask the question differently:<\/p>\n
Given that a port can be untagged for only one (1) VLAN, in what cases would you ever want the PVID to differ from the untagged VLAN ID?<\/p>\n
If you take the example provided in one of the above replies, where you have a port tagged for VLAN 2 (VoIP VLAN) and untagged for VLAN 1 (primary computer VLAN), you would then plug in a VLAN-aware IP phone into the switch and a PC into the IP phone’s switch. The PC’s traffic is untagged, and the phone’s traffic is tagged as VLAN 2. The phone will forward the PC’s untagged traffic to the switch, which will default it to VLAN 1.<\/p>\n
Since the switch config already knows that the port is untagged for VLAN 1, why then the need to also provide PVID? In what cases would the PVID be set to a value other than that of the port’s untagged VLAN ID?<\/p>\n
I think you’re mixing up PVID and VVID in the “multi-vlan access port” (study it-know it) scenario where you’d have host-phone-switchport. This is still an access port although there is a tagged frame passed out of the switch. The switch will handle the voice vlan differently than a standard access vlan, and the configuration points that out.<\/p>\n