Creates a QoS map for performing CoS-to-CoS mutation.
No CoS-to-CoS mutation QoS maps are defined.
CoS value | Description |
---|---|
cos0 | Sets the outbound CoS value for all packets with inbound CoS 0. |
cos1 | Sets the outbound CoS value for all packets with inbound CoS 1. |
cos2 | Sets the outbound CoS value for all packets with inbound CoS 2. |
cos3 | Sets the outbound CoS value for all packets with inbound CoS 3. |
cos4 | Sets the outbound CoS value for all packets with inbound CoS 4. |
cos5 | Sets the outbound CoS value for all packets with inbound CoS 5. |
cos6 | Sets the outbound CoS value for all packets with inbound CoS 6. |
cos7 | Sets the outbound CoS value for all packets with inbound CoS 7. |
Global configuration mode
A CoS-to-CoS mutation takes an inbound CoS value and maps it to an outbound CoS value. The inbound CoS value is the user priority after any interface ingress QoS trust and Interface default CoS policy have been applied. The outbound CoS value is used in selecting Traffic Class and egress packet marking.
Enter no qos map cos-mutation name command to delete the named CoS-to-CoS mutation QoS map. A QoS map can only be deleted if it is not bound to any interface.
To create a CoS-to-CoS QoS mutation map to swap CoS 4 and CoS 5 and apply it on an interface, for example having inbound CoS 4 mapped to outbound CoS 5 and inbound CoS 5 mapped to outbound CoS 4; but all other CoS values go through unchanged:
device# configure terminal device(config)# qos map cos-mutation cosMap 0 1 2 3 5 4 6 7 device(config)# interface ethernet 2/1 device(conf-if-eth-2/1)# qos cos-mutation cosMap
To delete a CoS-to-CoS QoS mutation map:
device# configure terminal device(config)# no qos map cos-mutation cosMap