Use the DSCP value of ingress packets to remap the egress 802.1p CoS priority values.
device# configure terminal
device(config)# qos map dscp-cos dscpCosMap
device(dscp-cos-dscpCosMap)# map dscp 23 to cos 4
device(dscp-cos-dscpCosMap)# map dscp 43 to cos 5
device(dscp-cos-dscpCosMap)# end
device# show qos maps dscp-cos Dscp-to-CoS map 'dscpCosMap' (dscp= d1d2) d1 : d2 0 1 2 3 4 5 6 7 8 9 ------------------------------------- 0 : 00 00 00 00 00 00 00 00 01 01 1 : 01 01 01 01 01 01 02 02 02 02 2 : 02 02 02 04 03 03 03 03 03 03 3 : 03 03 04 04 04 04 04 04 04 04 4 : 05 05 05 05 05 05 05 05 06 06 5 : 06 06 06 06 06 06 07 07 07 07 6 : 07 07 07 07 Enabled on the following interfaces: Eth 1/3
device# copy running-config startup-config