If the traffic is already being tagged by the phone and phone is tagged in the VLAN, then the following line is redundant and all you need to do is configure and enable examination:
# configure vlan "ENAVoice" qosprofile QP5Dot1p values are carried in the 802.1Q header, so the phone port MUST be tagged in the ENAVoice VLAN, if not, then those Dot1p values will be stripped and the above command can be used to re-apply the value to the traffic
DSCP values are carried in the IP Header, so port tagging is inconsequential.
A stream can have both a Dot1p and DSCP value set. On inspection, the Dot1p value will always take precedence.
You can verify your configuration by looking at the following output, if the QP counters are increasing in the correct queue then all is well:
My understanding is that you can't use both Dot1P and DiffServ together. In our standard build, we issue a "disable dot1p examination ports all" following the config diffserv line. Here's what our template looks like:
create qosprofile qp5
config diffserv examination code-point 34 qp5
config diffserv examination code-point 46 qp5
enable diffserv examination ports all
disable dot1p examination ports all # if you don't disable dot1p, diffserv won't work