Configuring QoS mutation map actions

Follow these steps to configure a QoS mutation map.

Before you begin

A policy map and a class map have been configured.

About this task

Different kinds of mutations can be used depending on the command. For complete information, refer to relevant Command Reference guide. The available commands are cos-mutation, cos-traffic-class, dscp-cos, dscp-mutation, and dscp-traffic-class.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Select the policy map.
    device(config)# policy-map policyMap1
    
  3. Select the class.
    device(config-policymap)# class default
    
  4. Specify the mutation map.
    device(config-policyclass)# map dscp-cos all-zero-map
    
    In this example a DSCP-to-CoS mutation is configured.
  5. Return to privileged EXEC mode.
    device(config-policyclass)# end
    
  6. Verify the configuration.
    device# show run policy-map
    policy-map policyMap1
     class default
      map dscp-cos all-zero-map
     !
    
  7. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

QoS mutation map configuration example

device# configure terminal
device(config)# policy-map policyMap1
device(config-policymap)# class default
device(config-policyclass)# map dscp-cos all-zero-map
device(config-policyclass)# end
device# show run policy-map
device# copy running-config startup-config