some operational command related to qos on VRF , doesn't work. although. it works when we use native linux commands .eg :
vyos@qos-test:~$ show configuration commands | match qos set qos interface eth0 egress 'TEST' set interfaces ethernet eth0 vrf 'TEST' set vrf bind-to-all set vrf name TEST table '200' set qos policy shaper TEST bandwidth '100mbit' set qos policy shaper TEST class 10 bandwidth '30%' set qos policy shaper TEST class 10 description 'test' set qos policy shaper TEST class 10 match icmp ip protocol 'icmp' set qos policy shaper TEST class 10 priority '1' set qos policy shaper TEST class 10 queue-type 'fair-queue' set qos policy shaper TEST default bandwidth '20%' set qos policy shaper TEST default queue-type 'fq-codel'
operational commands :
show qos shaper detail show qos shaper show qos shaper interface ethx
tc command :
vyos@qos-test:~$ tc -s -d qdisc show dev eth0 qdisc htb 1: root refcnt 2 r2q 63 default 0xb direct_packets_stat 0 ver 3.17 direct_qlen 1000 Sent 426 bytes 3 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 qdisc fq_codel 802b: parent 1:b limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 32Mb drop_batch 64 Sent 426 bytes 3 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 maxpacket 342 drop_overlimit 0 new_flow_count 2 ecn_mark 0 new_flows_len 1 old_flows_len 0 qdisc sfq 8029: parent 1:a limit 127p quantum 1514b depth 127 flows 128 divisor 1024 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0