- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Netgear switch VLAN PCP support
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Netgear switch VLAN PCP support
Hi there, I'm wondering if theGS108 Netgear switch has hardware support for the PCP in the VLAN tag? My guess is no, but I want to hear from the experts here.
Below is my experiments:
Setup:
I enabled advanced 802.1Q VLAN configuration for my GS108Ev3 switch. In the netgear switch GUI in the browser, I added VLAN 100 group with all the ports in the member list, and all the ports are in "Tag All" mode for VID 100. The PVID list is in the default state (all ports PVID is set to 1).
I created VLAN interfaces on my two linux mahines, and configured vlan qos on Linux to set PCP 5 to streams egress at the vlan interfece. So streams going through the VLAN interfaces shall have PCP value 5.
Then I start testing using iperf.
Results:
I stream iperf UDP traffic from one Linux machine to the other, via the Netgear switch. There's one normal UDP stream and one VLAN tagged UDP stream, both transmitted using the one same ethernet cable. In wireshark I see the packets going through the VLAN interfaces have 802.1Q tag and the priority value is 5. Correct.
Problem:
I don't see any prioritized effect in the iperf stream performance. Both normal stream and VLAN tagged stream equally share the bandwidth. To be specific, I have one 100Mb link between the two linux machines, and I stream one normal 120 Mbps UDP stream and one VID 100 UDP stream, also at 120Mbps. The streams saturated the link. I would expect the VLAN tagged stream to take up more bandwidth and have less packet loss rate due to its high priority value (5 instead of 0 by default). But it is not the case. Therefore I guess the Netgear switch does not really prioritize the stream based on the PCP value inside the VLAN tag at the hardware level. Am I right about this?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
The switch core has just a smaller amount of queues as common in this switch world, something like four forwarding Queues in fact, something like High, Medium, Normal, and Low.
In 802.1q and DSCP, settings, we have no control in the Web UI about the 802.1q priority -> Queue resp. DSCP Class Selector (CS)/Assured Forwarding (AF)/Expedited Forwarding (EF) -> Queue mapping.
In my opinion, the documentation and ideally the on-line help should hold a reference to the implied queue mappings. This is something missing all over the documentation of the simple Web Managed (earlier designate Smart Managed Plus).
In your test case, I would assume a 802.1p PCP of 5 should make a difference from the default 1 (or 0) however.
Regards,
-Kurt
PS. I'll requesta moderator to move this thread to the Business -> Smart Plus And Smart Pro Managed Switches Forum section (even if the same question could apply to the GS808E/GS810EMX models here).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
Thanks for the reply. A small update.
I found out if I don't set any port speed limit on the Netgear switch, then the PCP prioritization works for the VLAN tagged stream. However, as soon as I limit the egress port on Netgear from the default 1Gbps to 100Mbps (which I need for my experiments), then the prioritization effect is gone. The two UDP streams start sharing the bandwidth equally again.
In short, the port speed limit config overwrites the previous queue mapping config, although the PCP value is still set to 5.
It would be really helpful if the issue can be resolved.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
I believe the PCP (Priority Code Point) field you are referring to is applicable to only VLAN ... That Netgear switch does support vlans.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
Hi newgear12,
I cannot reproduce the situation you mentioned.
Could you help to provide the following items? It will help to reproduce the situtation. Thanks
1, provide 2 MAC address of the 2 PCs that send UDP streams. Indicate which PC you expect to get higher priority and bandwidth.
2, enable mirror features on GS108Ev3. Send the 2 UDP streams into GS108Ev3 as you did. Use Wireshark to capture 2 UDP streams from GS108Ev3. Provide packet capture file.
3, provide topology chart, which PC is connected to which port, including sender PCs and receiver PC.
4, provide your configuraiton file
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
Hi WilsonS, thanks for the reply.
What I tried to experiment with is to reproduce the setup shown here:
https://github.com/NXP/dds-tsn/
I wanted to use the Netgear switch in the setup instead of the specific TSN ethernet switch. But the prioritization didn't work, which I described earlier.
Sorry I cannot provide the information you asked in short term, because of other urgent things.
But I'll be interested to know if you can create two iperf streams with PCP & link speed limit configuration as described in the repo, and see the bandwidth difference of the two streams.
Will provide you the documents once I get around working on it again.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
The priortisiation does work, unless you enforce the hard speed limit - this isn't a IEEE 802.1Qav Credit-Based Shaper (CBS
) as shown in that experiment.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
You are right. The hard speed limit is not used as a CBS, but simply to make the PCP effect much more visible in the Gazebo simulator.
You are also right about the issue I have. And I think the netgear switch should support the PCP + speed limit configuration. They are not two contradictory settings.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Netgear switch VLAN PCP support
Scratch the port speed limit and leave it open, and use a network cable with just two pairs - this will make the switch auto-negotiate to max 100 Mb/s. Now re-test.
@newgear12 wrote:
And I think the netgear switch should support the PCP + speed limit configuration. They are not two contradictory settings.
Agree on that, exactly the first thought I had, too. That's why I had challenged Netgear before on this.
The point is that this is some 0.00x% use case, more academic or lab style then real networking.
• Introducing NETGEAR WiFi 7 Orbi 770 Series and Nighthawk RS300
• What is the difference between WiFi 6 and WiFi 7?
• Yes! WiFi 7 is backwards compatible with other Wifi devices? Learn more