Follow these steps to create a DSCP mutation map and remap the incoming DSCP value of the ingress packet to egress DSCP values.
device# configure terminal
device(config)# qos map dscp-mutation dscpMap
device(dscp-mutation-dscpMap)# map dscp 24 to dscp 50
device(dscp-mutation-dscpMap)# map dscp 33 to dscp 35
device(dscp-mutation-dscpMap)# map dscp 53 to dscp 61
device(dscp-mutation-dscpMap)# map dscp 60 to dscp 40
device(dscp-mutation-dscpMap# end
device# show qos map dscp-mutation dscpMap Dscp-to-Dscp Mutation map 'dscpMap' (dscp= d1d2) d1 : d2 0 1 2 3 4 5 6 7 8 9 ------------------------------------- 0 : 00 01 02 03 04 05 06 07 08 09 1 : 10 11 12 13 14 15 16 17 18 19 2 : 20 21 22 23 24 25 26 27 28 29 3 : 30 31 32 33 34 35 36 37 38 39 4 : 40 41 42 43 44 45 46 47 48 49 5 : 50 51 52 53 54 55 56 57 58 59 6 : 40 61 62 63 Enabled on the following interfaces:
device# copy running-config startup-config
device# configure terminal device(config)# qos map dscp-mutation dscpMap device(dscp-mutation-dscpMap)# map dscp 60 to dscp 40 device(dscp-mutation-dscpMap)# map dscp 24 to dscp 50 device(dscp-mutation-dscpMap)# map dscp 33 to dscp 35 device(dscp-mutation-dscpMap)# map dscp 53 to dscp 61 device(dscp-mutation-dscpMap# end device# show qos map dscp-mutation dscpMap device# copy running-config startup-config