Applying a DSCP-to-DSCP mutation map to an egress interface

Follow these steps to apply a QoS DSCP-to-DSCP mutation map to an egress interface.

About this task

This feature allows you to take the normalized QoS in-DSCP value of the egressing IP packet, and bind it to an egress interface.

Before you begin

A QoS DSCP-to-DSCP mutation map has been configured.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enter interface configuration mode.
    device(config)# interface ethernet 0/5 
    
  3. Enable the DSCP-to-DSCP mutation map on the interface.
    device(conf-if-eth-0/5)# qos dscp-mutation dscpMap  
    
  4. Return to privileged exec mode.
    device(conf-if-eth-0/5)# end
    
  5. Verify the configuration.
    device# show qos maps dscp-mutation
    
    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: Eth 0/5
    
  6. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

Apply a QoS DSCP-to-DSCP mutation map to an interface configuration example

device# configure terminal
device(config)# interface ethernet 0/5 
device(conf-if-eth-0/5)# qos dscp-mutation dscpMap  
device(conf-if-eth-0/5)# end
device# show qos maps dscp-mutation
device# copy running-config startup-config