Page MenuHomeVyOS Platform

[QoS] Policy Limiter class match filter by interface doesn't work
Open, LowPublicBUG

Description

sagitta:

vyos@vyos# run show configuration commands | grep qos
set qos interface eth1 ingress 'test'
set qos policy limiter test class 10 bandwidth '100mbit'
set qos policy limiter test class 10 match test_match interface 'eth2'
set qos policy limiter test default bandwidth '100gbit'
[edit]
vyos@vyos# tc -d filter show dev eth1 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:b 
        action order 1:  police 0x1 rate 100Gbit burst 0b mtu 2Kb action drop overhead 0b linklayer ethernet 
        ref 1 bind 1

equuleus:

vyos@vyos# run show configuration commands | grep traf
set interfaces ethernet eth1 traffic-policy in 'test'
set traffic-policy limiter test class 10 bandwidth '100mbit'
set traffic-policy limiter test class 10 match test_match interface 'eth2'
set traffic-policy limiter test default bandwidth '100gbit'
[edit]
vyos@vyos# tc -d filter show dev eth1 ingress
filter parent ffff: protocol all pref 20 basic chain 0 
filter parent ffff: protocol all pref 20 basic chain 0 handle 0x1 flowid ffff:a 
  meta(rt_iif eq 4)

        action order 1:  police 0x1 rate 100Mbit burst 15337b mtu 2Kb action drop overhead 0b linklayer ethernet 
        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:b 
        action order 1:  police 0x3 rate 100Gbit burst 0b mtu 2Kb action drop overhead 0b linklayer ethernet 
        ref 1 bind 1

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4.1-beta1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

HollyGurza changed Version from - to VyOS 1.4.1-beta1.
HollyGurza changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
HollyGurza changed the subtype of this task from "Task" to "Bug".