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

You have configured a QoS CoS-to-traffic class map.

The incoming packet PCP value can be mapped to an internal traffic class when packet ingresses the switch. You can create a priority mapping table using a CoS-to-traffic Class map. This map can then be applied to an ingress interface to take effect for priority remapping. This feature only maps the incoming packet priority to traffic class.

  1. Enter global configuration mode.
    device# configure terminal
  2. Enter interface configuration mode..
    device(config)# interface ethernet 1/5
  3. Apply the CoS-to-traffic class map to an ingress interface and return to privileged EXEC mode.
    device(conf-if-eth-1/5)# qos cos-traffic-class tc_1
  4. Return to privileged EXEC mode.
    device(conf-if-eth-1/5)# end
  5. Verify the configuration.
    device# show qos maps cos-traffic-class tc_1
    
    Cos-traffic-class map 'tc_1'
        In-Cos   : 0  1  2  3  4  5  6  7
       ------------------------------------
    Traffic-class: 5  5  5  5  5  5  5  5
       Enabled on the following interfaces: Eth 1/5 
  6. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
Applying a QoS CoS-to-traffic class mutation map to an interface configuration example.
device# configure terminal
device(config)# interface ethernet 1/5
device(conf-if-eth-1/5)# qos cos-traffic-class tc_1
device(conf-if-eth-1/5)# end
device# show qos maps cos-traffic-class tc_1 
device# copy running-config startup-config