Follow these steps to apply a QoS CoS-to-traffic class map to an interface.
The internal traffic class can be mapped to the outgoing PCP value when the packet egresses the switch. A user can create a priority mapping table using a CoS mutation map. This CoS mutation map can then be applied to an egress interface to effect the priority remapping. This feature only maps the incoming priority to outgoing priority.
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 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
device# copy running-config startup-config
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