Traffic Control command tc

Sources

https://chandanduttachowdhury.wordpress.com/2015/08/14/bandwidth-limiting-with-tc-on-linux/

Samples

Set a limit of 20MB/s bidirectional with burst of 30MB/s on interface ens3

tc qdisc add dev ens3 root tbf rate 160mbit latency 50ms burst 240mbit