Page MenuHomeVyOS Platform

QoS: set-dscp option has no effect
Closed, ResolvedPublicBUG

Description

Setting DSCP marking on a shaper class:

set qos policy shaper FOO class 10 set-dscp CS4

commits and appears in show qos, but egress packets are not re-marked

The set-dscp node is defined in interface-definitions/include/qos/set-dscp.xml.i and included at interface-definitions/qos.xml.in:652 (class) and :718 (default), but nothing consumes it: python/vyos/qos/base.py builds the class match filter and police action without reading set_dscp, and src/conf_mode/qos.py doesn't handle it either, so no DSCP-rewrite tc action is generated.

Details

Version
1.5, 1.4
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

natali-rs1985 changed the task status from Open to In progress.Jun 22 2026, 4:37 PM
natali-rs1985 claimed this task.
natali-rs1985 triaged this task as Normal priority.
natali-rs1985 changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.