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 1equuleus:
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