set interfaces ethernet <ifname> vif <id> ingress-qos <value> and egress-qos check the value with the regular expression [:0-7 ]+ (interface-definitions/include/interface/vif.xml.i). It allows every mix of the digits 0 to 7, colons and spaces, so values that are not a list of from:to pairs pass set: 2:, :2, :, 1:2:3, 1 2, 1:2 3.
Reproduce (rolling 2026.11.22, VLAN with a valid mapping first):
set interfaces ethernet eth0 vif 77 address 192.0.2.1/24 set interfaces ethernet eth0 vif 77 ingress-qos '1:2' commit set interfaces ethernet eth0 vif 77 ingress-qos '2:' commit
The second set is accepted. The commit fails:
OSError: [Errno 255] failed to run command: ip link add link eth0 name eth0.77 type vlan id 77 ingress-qos-map 2: [[interfaces ethernet eth0]] failed Commit failed
The update deletes the VLAN before it creates it again, so eth0.77 is gone from the kernel while the configuration still has it (show interfaces ethernet eth0 vif 77 lists the address and ingress-qos 1:2). If the VLAN had no mapping before, the value is accepted and silently has no effect.
Expected: the value is rejected at set with the message of the node. The message says "with numbers 0-9", the expression allows 0 to 7.
Proposed fix: [0-7]+:[0-7]+( +[0-7]+:[0-7]+)* for both nodes, message "with numbers 0-7", and a smoketest that rejects the six values above for both nodes (it fails with the old expression: 12 subtests).