Configuring a traffic class-to-CoS mutation map

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

Note

Note

This map is not supported on SLX 9740 and Extreme 8820 devices.
  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
    SLX(traffic-class-cos-CoSMap)# map traffic-class 0 to cos 1
    SLX(traffic-class-cos-CoSMap)# map traffic-class 5 to cos 4
    SLX(traffic-class-cos-CoSMap)# map traffic-class 6 to cos 4
    SLX(traffic-class-cos-CoSMap)# map traffic-class 7 to cos 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 3 
device(traffic-class-cos-CoSMap)# map traffic-class 0 to cos 1 4 
device(traffic-class-cos-CoSMap)# map traffic-class 5 to cos 4 5 
device(traffic-class-cos-CoSMap)# map traffic-class 6 to cos 4 6 
device(traffic-class-cos-CoSMap)# map traffic-class 7 to cos
device(config)# exit
device# show qos maps traffic-class-cos 
device# copy running-config startup-config