Replacing DSCP or 802.1p Fields

Specify a QoS profile for matching packets. The field values are replaced with the value associated with that profile. In the following example, DiffServ replacement is configured such that QP8 is mapped to code point 56. Matching packets are sent to QP8, and the DSCP value in the packet is set to 56.
entry voice_entry {
if {
source-address 2.2.2.2/32;
} then {
qosprofile qp8;
replace-dscp;
}
}

See Quality of Service for more details about QoS profiles, and 802.1p and DSCP replacement.