qos map dscp-mutation

Creates a DSCP mutation by mapping the incoming DSCP value of the ingress packet to outgoing DSCP values.

Syntax

qos map dscp-mutation name
no map qos dscp-mutation name
map dscp ingress dscp values to dscp egress dscp value

Command Default

DSCP mutation is not enabled.

Parameters

name
Name of DSCP mutation map
map dscp
Inbound DSCP values.
ingress dscp values
The ingress DSCP values. The range is from 0 through 63.
dscp
Outbound DSCP values.
egress dscp values
The egress DSCP value. The range is from 0 through 63.

Modes

dscp-mutation mode for the DSCP mutation map

Global configuration mode

Usage Guidelines

Enter qos dscp-mutation name while in configuration mode for a specific interface to apply the DSCP mutation map to that interface. When you enter qos map dscp-mutation, the system is placed in dscp-mutation mode for the configured map. At this point, you can map ingress DSCP values to egress DSCP values using the dscp map command.

Enter no qos dscp-mutation name while in interface configuration mode to remove the DSCP mutation map from that interface.

Enter no map dscp-mutation name while in global configuration mode to remove the DSCP mutation map.

Examples

To create a QoS DSCP mutation map and place system into dscp-mutation mode:

device# configure terminal
device(config)# qos map dscp-mutation test 
device(dscp-mutation-test)#

To map an ingress DSCP value to egress DSCP values while in dscp-mutation mode:

device# configure terminal
device(config)# qos map dscp-mutation test 
device(dscp-mutation-test)# map dscp 1,3,5,7 to dscp 40

To map multiple ingress DSCP values to egress DSCP values while in dscp-mutation mode:

device# configure terminal
device(config)# qos map dscp-mutation test 
device(dscp-mutation-test)# map dscp 60 to dscp 40
device(dscp-mutation-test)# map dscp 24 to dscp 50 
device(dscp-mutation-test)# map dscp 33 to dscp 35 
device(dscp-mutation-test)# map dscp 53 to dscp 61

To remove a QoS DSCP mutation map while in global configuration mode:

device# configure terminal
device(config)# no qos map dscp-mutation test