11-29-2022 01:10 AM
Hello everyone.
I have a question about VLAN setting of ERS3549GTS v5.2.0.004.
I couldn't figure it out by looking at the CLI reference.
Q1.vlan port [port number] pvid [vid]
・"pvid = Port VLAN ID (native vlan)"
Is my understanding correct?
・Assuming that the following settings are reflected.
"vlan members 100 1", "vlan port 1 pvid 10"
Then, which port communicates with VLAN-ID 1 or 10?
below, Is my understanding correct?
untag VLAN-ID 1: Communication possible
untag VLAN-ID 10: Communication possible
Tag VLAN-ID 1&10: Communication impossible
Q2.
Suppose you have reflected the following settings:
"vlan ports X tagging untagPvidOnly"
"vlan members X add 10,20,30,40"
At this time, since pvid is not set, will pvid be 1?
To begin with, I don't understand the difference between "tagALL" and "untagPvidOnly".
Q3. vlan ports [port number] tagging tagAll filter-untagged-frame enable
I don't understand the intent of this command.
Any single answer is welcome.
BR
Solved! Go to Solution.
11-29-2022 11:05 AM
Squid-c,
Q1 - You are correct; PVID and Native are the same. So, for your example, I assume "vlan members 100 1" was a typo and should have read "vlan members 10 1" as the following "possible" scenarios do not include vlan 100. that said, all three are answered as yes but....
There are four tagging options; untagall, untagpvidonly, tagall, and tagpvidonly.
“untag vlan-id 1” “untag vlan-id 10” and “tag vlan-id 1 & 10” are all missing the untag(all/pvidonly) as is the tag(all/pvidonly).
Q2 – “At this time, since pvid is not set, will the pvid be 1?” There is data missing for a simple yes or no answer.
“vlan configcontrol” must be set to either flexible/automatic to add multiple vlans. Assuming you haven’t removed vlan 1 from the/all port(s), and “vlan configcontrol flexible” is set, then yes the pvid could be “1”. If “vlan configcontrol autopvid” is set, then no. The pvid would be the last vlan added.
Q3 – “vlan ports [port number] tagging tagAll filter-untagged-frame enable”
This is setting the port as a trunk port in which all vlans are tagged. If the port were to receive traffic without a tag it would drop the traffic.
I hope this helps.
Steve
11-29-2022 11:05 AM
Squid-c,
Q1 - You are correct; PVID and Native are the same. So, for your example, I assume "vlan members 100 1" was a typo and should have read "vlan members 10 1" as the following "possible" scenarios do not include vlan 100. that said, all three are answered as yes but....
There are four tagging options; untagall, untagpvidonly, tagall, and tagpvidonly.
“untag vlan-id 1” “untag vlan-id 10” and “tag vlan-id 1 & 10” are all missing the untag(all/pvidonly) as is the tag(all/pvidonly).
Q2 – “At this time, since pvid is not set, will the pvid be 1?” There is data missing for a simple yes or no answer.
“vlan configcontrol” must be set to either flexible/automatic to add multiple vlans. Assuming you haven’t removed vlan 1 from the/all port(s), and “vlan configcontrol flexible” is set, then yes the pvid could be “1”. If “vlan configcontrol autopvid” is set, then no. The pvid would be the last vlan added.
Q3 – “vlan ports [port number] tagging tagAll filter-untagged-frame enable”
This is setting the port as a trunk port in which all vlans are tagged. If the port were to receive traffic without a tag it would drop the traffic.
I hope this helps.
Steve
11-30-2022 06:24 PM
I appreciate your help.
My question has been resolved thanks to you!
11-29-2022 06:53 AM
I'll try my best.
Not sure what PVID stands for. Part 2. I'm assuming there is a typo, and it should be "vlan members 10 1"
In my network, I don't put vlan 1 as a member of any port. Just my preference. So I don't know (and didn't experiment) with it. But yes, vlan 10, untagged, should communicate. I presume you're referring to communicating with a computer of some kind plugged into that port. And yes, if vlan 10 (and 1) are tagged, then no communication will happen to the computer. Computers need an untagged connection.
Question 2: I'm not sure what PVID will be, if anything. TagAll means all vlans using that port will be tagged with a vlan tag. This allows multiple vlans to be using the same port, and not get confused. This is especially useful on uplinks/downlinks to other switches. UntagPVIDOnly means that all vlans EXCEPT the PVID will have vlan tags as part of their network packets. This parameter (untagpvidonly) is used (in my case, and I suspect many others) when you have a deskphone and computer hooked up to the same port. The computer uses the PVID vlan (since it needs untagged traffic) and the deskphone can use tagged traffic, on a separate vlan.
Question 3: the tag all explained in question 2. The "filter-untagged-frame enable" just means that if a packet/frame comes through that has no vlan tag on it, drop it.
I hope this helps, and if I'm wrong on something (or could have explained it more clearly) please chime in.