Configure an MPLS QoS EXP-to-DSCP Mutation Map

This configuration is not supported on SLX 9150/Extreme 8520 devices.
  1. Enter global configuration mode.
    device# configure terminal
    
  2. Create and name an MPLS QoS EXP-to-DSCP mutation map.
    device(config)# qos-mpls map exp-dscp expDscpMap
    
  3. Define the EXP-to-DSCP values.
    device(exp-dscp-expDscpMap)# exp 0 to dscp 7 
    device(exp-dscp-expDscpMap)# exp 1 to dscp 23 
    device(exp-dscp-expDscpMap)# exp 3 to dscp 31 
    device(exp-dscp-expDscpMap)# exp 4 to dscp 62
    
    The default value is used for those DSCP that are not explicitly defined.
  4. Return to privileged exec mode
    device(exp-dscp-expDscpMap)# end
    
  5. Verify the configuration.
    device# show qos maps exp-dscp expDscpMap
    
    exp-dscp map 'expDscpMap'
        Exp   : 0  1  2  3  4  5  6  7
       ------- ------------------------
        DSCP  : 0  2  4  3  6  4  5  7
    
       Enabled on the following slots:
    
  6. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

This example summarizes the commands in this procedure.

device# configure terminal
device(exp-dscp-expDscpMap)# exp 0 to priority 7 drop-precedence 0
device(exp-dscp-expDscpMap)# exp 0 to dscp 7 
device(exp-dscp-expDscpMap)# exp 1 to dscp 23 
device(exp-dscp-expDscpMap)# exp 3 to dscp 31 
device(exp-dscp-expDscpMap)# exp 4 to dscp 62
device(exp-dscp-expDscpMap)# end
device# show qos maps exp-dscp expDscpMap
device# copy running-config startup-config