Follow these steps to apply a DSCP-to-traffic class and drop precedence mutation map to an ingress interface.
The ingress DSCP value can be used to classify traffic in to a specific traffic class and drop precedence by applying a DSCP-to-traffic class and drop precedence mutation map on the ingress interface.
device# configure terminal
device(config)# interface ethernet 0/2
device(conf-if-eth-0/2)# qos dscp-traffic-class dscpTcDpMap
device(conf-if-eth-0/2)# end
device# show qos maps dscp-traffic-class dscpTcDpMap DSCP-to-TC Map: dscpTc (x/y: TC = x, DP = y, DSCP = d1d2) d1 : d2 0 1 2 3 4 5 6 7 8 9 ------------------------------------------------ 0 : 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 1/0 1/0 1 : 1/0 1/0 1/0 1/0 1/0 1/0 2/0 2/0 2/0 2/0 2 : 2/0 2/0 2/0 2/0 3/0 3/0 3/0 3/0 3/0 3/0 3 : 3/0 3/0 4/0 4/0 4/0 4/0 4/0 4/0 4/0 4/0 4 : 5/0 5/0 5/0 5/0 5/0 5/0 5/0 5/0 6/0 6/0 5 : 6/0 6/0 6/0 6/0 6/0 6/0 7/0 7/0 7/0 7/0 6 : 7/0 7/0 7/0 7/0 Enabled on the following interfaces: Eth 0/2
device# copy running-config startup-config
device# configure terminal device(config)# interface ethernet 0/2 device(conf-if-eth-0/2)# qos dscp-traffic-class dscpTcDpMap device(conf-if-eth-0/2)# end device# show qos maps dscp-traffic-class dscpTcDpMap device# copy running-config startup-config