Recently, we migrated from VC6.6R1 to VyOS 1.2.
For some reason, our traffic-policy(shaper) does not working as intented:
admin@fwVyatta-1:~$ show queueing ethernet eth0
eth0 Queueing:
Class Policy Sent Dropped Overlimit Backlog
root shaper 7981132269866 5432172 1214761563 0
10 fair-queue 0 0 0 0
20 fair-queue 0 0 0 0
default fair-queue 7981132260625 5432172 0 0
It seems shaper(for some reason) can’t find a match and allowing all traffic to go through default:
bandwidth 1gbit
class 10 {
bandwidth 300mbit
burst 15k
ceiling 330mbit
description PEERING
match PEERING {
interface eth3
}
priority 0
queue-type fair-queue
}
class 20 {
bandwidth 500mbit
burst 15k
ceiling 575mbit
description INET
match INET {
interface eth1
}
priority 1
queue-type fair-queue
}
default {
bandwidth 850mbit
burst 15k
priority 7
queue-type fair-queue
}
We have this traffic-policy only on our eth0:
traffic-policy {
out SHAPER-2
}
For the moment, we have no idea why it is not working.