Probably this question is not very useful in real life enviroments, but is just to understand (I'm studyng for QoS exam)
On a 2950(EI) switch, You can configure classification using:
- trust state (CoS/DSCP) that affects internalDSCP with COS-to-DSCP mapping or directly trusting DSCP of inconming frame
- using a service policy applied to interface with a policy-map configured to "set ip dscp X" that should directly affect internal DSCP value
What happens if both method are used? Which of the 2 commans has higher priority and affect the internalDSCP?
I was looking on Cisco site...but I can't find an answer.
Hope for your comments
Generally speaking if you have a service-policy on the ingress port and at the same time you trust the marking then the service policy takes precedence. If there is no match in the service policy then the trust is taken into account. From your link
"A policy-map configuration state supersedes any actions due to an interface trust state"