# shaper 只能用于out
set traffic-policy shaper eth1-2-outpu bandwidth 100Mbit
set traffic-policy shaper eth1-2-output default bandwidth 20%
set traffic-policy shaper eth1-2-output default ceiling 40%
set traffic-policy shaper eth1-2-output default queue-type fair-queue
set interfaces ethernet eth1 traffic-policy in eth1-2-input
# limiter 用于in
set traffic-policy limiter eth1-2-input default bandwidth 20mbit
set traffic-policy limiter eth1-2-input default burst 50mb
set interface ethernet eth1 traffic-policy in eth1-2-input
vyos in or out 限流量
最新推荐文章于 2024-02-21 19:33:38 发布