How to reproduce the problem:
set qos policy limiter 1G-in class 100 bandwidth '20gbit' set qos policy limiter 1G-in class 100 burst '3760k' set qos policy limiter 1G-in class 100 match INTERNAL mark '100' set qos policy limiter 1G-in class 100 priority '20' set qos policy limiter 1G-in default bandwidth '1gbit' set qos policy limiter 1G-in default burst '125000000b' set qos interface eth0 ingress 1G-in
show qos
interface eth0 {
ingress 1G-in
}
policy {
limiter 1G-in {
class 100 {
bandwidth 20gbit
burst 3760k
match INTERNAL {
mark 100
}
priority 20
}
default {
bandwidth 1gbit
burst 125000000b
}
}
}Check tc, missing filter with priority 20:
#tc filter show dev eth0 ingress filter parent ffff: protocol all pref 255 basic chain 0 filter parent ffff: protocol all pref 255 basic chain 0 handle 0x1 flowid ffff:65 action order 1: police 0x1 rate 1Gbit burst 125000000b mtu 2Kb action drop overhead 0b ref 1 bind 1
tc filters when configured correctly:
filter parent ffff: protocol all pref 20 fw chain 0 filter parent ffff: protocol all pref 20 fw chain 0 handle 0x64 classid ffff:64 action order 1: police 0xac rate 20Gbit burst 3847500b mtu 2Kb action drop overhead 0b ref 1 bind 1 filter parent ffff: protocol all pref 255 basic chain 0 filter parent ffff: protocol all pref 255 basic chain 0 handle 0x1 flowid ffff:65 action order 1: police 0xab rate 1Gbit burst 125000000b mtu 2Kb action drop overhead 0b ref 1 bind 1