Traffic shaping on a physical port

  • 1
  • Question
  • Updated 3 years ago
How can I shape the traffic on a physical port.

I have 1 Gbps ports and want to allow the host connected on port swp1 only to have 500 Mbps and the host on port swp2 only have 200 Mbps of traffic allowed.
Photo of Christian Blumer

Christian Blumer

  • 70 Points

Posted 3 years ago

  • 1
Photo of Jason Guy

Jason Guy, Employee

  • 1,692 Points 1k badge 2x thumb
Currently, QoS at this granularity is not supported in Cumulus Linux. An alternate way of implementing this is to configure the shaper on the host side. The data rates you indicated are low enough to be done in software.
Photo of Jason Guy

Jason Guy, Employee

  • 1,692 Points 1k badge 2x thumb
Hey Christian,
On second thought, I was interpreting your question as "traffic shaping" (meaning buffer and smooth out bursts). It is certainly possible to configure rate-limiting (policing) where it caps the ingress bandwidth. This function is handled in the cl-acltool. Please check out this link, and let us know if you have any other questions: 

http://docs.cumulusnetworks.com/display/DOCS/Netfilter+-+ACLs