Applying a traffic class-to-CoS mutation map to an egress interface

A QoS traffic class-to-CoS mutation map has been configured.

  1. Enter global configuration mode.
     device# configure terminal 
  2. Enter interface configuration mode.
     device(config)# interface ethernet 2/2 
  3. Apply the configured QoS traffic class-to-CoS map to the interface.
     device(conf-if-eth-2/2)# qos traffic-class-cos tcCoSMap  
  4. Return to privileged exec mode.
     device(conf-if-eth-2/2)# end 
  5. Verify the configuration.
    device# show qos maps traffic-class-cos tcCoSMap
    
      [Note: CoS = Class of Service, TC = Traffic Class, DP = Drop Precedence]
      TC-to-CoS Map: tcCoSMap
                  In-TC: 0  1  2  3  4  5  6  7
          -------------------------------------
          Out-CoS(DP=0): 0  1  2  3  4  2  6  7
          Out-CoS(DP=1): 0  1  2  3  4  5  6  7
          Out-CoS(DP=2): 0  1  1  3  4  2  6  7
          Out-CoS(DP=3): 0  1  2  3  4  5  6  7
    
          Enabled on the following interfaces: 
          Eth 2/2 
  6. Save the running-config file to the startup-config file.
    device# copy running-config startup-config 

Apply a QoS traffic class-to-CoS mutation map to an egress interface configuration example

 device# configure terminal
device(config)# interface ethernet 2/2
device(conf-if-eth-2/2)# qos traffic-class-cos tcCoSMap  
device(conf-if-eth-2/2)# end
device# show qos maps traffic-class-cos tcCoSMap 
device# copy running-config startup-config