Configures a QoS CoS-to-traffic-class mutation map.
If CoS-to-traffic class mutation map is not defined, the default CoS-to-traffic class map is used, which is a one-to-one map for each priority.
Global configuration mode
A CoS-to-traffic class mutation map takes an inbound CoS value and maps it to an outbound traffic class (priority queue) value. The inbound CoS value is the user priority after any interface ingress QoS trust and Interface default CoS policy have been applied.
Use the no form of the command to delete the named map.
A QoS map can only be deleted if it is not bound to an interface.
This example creates a QoS CoS-to-traffic-class mutation map and assigns it to the specified Ethernet interface. The drop-precedence parameter is mandatory.
device# configure terminal device(config)# qos map cos-traffic-class tcmap1 device(cos-traffic-class-tcmap1)# map cos 2 to traffic-class 4 drop-precedence 0 device(cos-traffic-class-tcmap1)# map cos 3 to traffic-class 4 drop-precedence 1 device(cos-traffic-class-tcmap1)# map cos 3 to traffic-class 6 drop-precedence 1 device(cos-traffic-class-tcmap1)# interface ethernet 1/1 device(conf-if-eth-1/1)# qos cos-traffic-class tcmap1
This example removes the mutation map that is bound to the specified Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# no qos cos-traffic-class tcmap1 device(conf-if-eth-1/1)# exit device(config)# no qos map cos-traffic-class tcmap1