When You Configure the set priority dscp and remark dscp Commands Simultaneously, Which One Takes Effect?
The set priority dscp command sets the DSCP priority of protocol packets sent by the device. To change the DSCP priority of protocol packets, you can also configure a traffic policy, define remark dscp for protocol packets in the traffic policy, and apply the traffic policy to the outbound direction of an interface.
If the ip soft-forward enhance enable command has been executed to enable the enhanced IP forwarding function, the remark dscp command takes effect. If the ip soft-forward enhance enable command is not used, the set priority command takes effect.