Configuring a traffic class-to-CoS mutation map

Follow these steps to configure QoS traffic class-to-CoS mutation map.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Configure the QoS traffic class-to-CoS mutation map.
    device(config)# qos map traffic-class-cos CoSMap 1 1 2 3 4 4 4 3
    
    If the QoS CoS mutation map is not configured, then the default CoS mutation map is used with 1:1 mapping for the traffic class-to-PCP values.
  3. Return to privileged exec mode.
    device(config)# exit
    
  4. Verify the configuration.
    device# show qos maps traffic-class-cos  
    
    Traffic Class-to-Cos Mutation map 'CoSMap'
       TrafficClass: 0  1  2  3  4  5  6  7
       ------------------------------------
            Out-Cos: 1  1  2  3  4  4  4  3
    
       Enabled on the following interfaces:  
    
  5. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

Traffic class-to-CoS mutation map configuration example

device# configure terminal
device(config)# qos map traffic-class-cos CoSMap 1 1 2 3 4 4 4 3
device(config)# exit
device# show qos maps traffic-class-cos 
device# copy running-config startup-config