Follow these steps to map an ingress DSCP value to an outgoing 802.1p value. This can be done by configuring a DSCP-to-CoS mutation map on the ingress interface.
device# configure terminal
device(config)# interface ethernet 1/5
device(conf-if-eth-1/5)# qos dscp-cos dscpCosMap
device(conf-if-eth-1/5)# 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/5
device# copy running-config startup-config
device# configure terminal device(config)# interface ethernet 1/5 device(conf-if-eth-1/5)# qos dscp-cos dscpCosMap device(conf-if-eth-1/5)# end device# show qos maps dscp-cos device# copy running-config startup-config