Simple L2 vlan shaper

Is it possible to configure the HTB shaper to limit the incoming and outgoing speed of the vlan interfaces?
old script htb.init allows you to limit the incoming and outgoing speed.
But I can’t make a simple rule shaper in VyOS.
In the future, I want to change the shaper through http api

Hello @zavndw, you can use input interface for using HTB
https://docs.vyos.io/en/latest/configuration/trafficpolicy/index.html#the-case-of-ingress-shaping

I have over 100 vlan interfaces. I looked at the option from the link, it is suitable for 1 interface

I’m sure that it is possible to use a redirect to one IFB for many subinterfaces. I think you need to try.
Also, I think that policer has more performance if you have a high load system.

I created a sub interface ifbXXX for each vlan. thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.