Apply QoS Mutation Maps to an Interface

Follow these steps to specify the mutation map to be used on a port.

Before you begin

A mutation map has been configured.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Select the policy map.
    device(config)# policy-map policyMap1
    
  3. Enter interface configuration mode.
    device(config-policymap)# interface ethernet 1/1
    
  4. Apply a DSCP-to-DSCP mutation map to the interface.
    device(conf-if-eth-1/1)# qos dscp-mutation dscpMutMap 		  
    
    Different kinds of mutations can be used.
  5. Return to privileged EXEC mode.
    device(conf-if-eth-1/1)# end
    
  6. Verify the configuration.
    device# show qos map dscp-mutation dscpMutMap
    
    Dscp-to-Dscp Mutation map 'dscpMutMap' (dscp= d1d2)
    d1 :  d2 0  1  2  3  4  5  6  7  8  9
    -------------------------------------
     0 :    11 11 11 03 11 11 11 11 11 11
     1 :    11 11 11 11 11 11 11 11 11 11
     2 :    11 11 11 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 11 11 11 11 11
     6 :    11 11 11 11
    
       Enabled on the following interfaces:
        Eth 1/1
    
  7. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# policy-map policyMap1
device(config-policymap)# interface ethernet 1/1
device(conf-if-eth-1/1)# qos dscp-mutation dscpMutMap  
device(conf-if-eth-1/1)# end
device# show qos map dscp-mutation dscpMutMap 
device# copy running-config startup-config