DGS-6604
m
qos map dscp-mutation
CLI Reference Guide
514
qos map dscp-mutation
To define a named differentiated services code point (DSCP) mutation map, use
the qos map dscp-mutation command in global configuration mode. To return to
the default mapping, use the no form of this command.
qos map dscp-mutation
MAP-NAME INPUT-DSCP-LIST
to
OUTPUT-DSCP
no qos map dscp-mutation
MAP-NAME
Default
OUTPUT-DSCP
equals the
INPUT-DSCP
Command Mode
Global configuration
Usage Guideline
When a packet is received by an interface, the incoming DSCP can be mutated
to another DSCP right before any QoS operations based on the DSCP mutation
map.
The DSCP mutation is helpful to integrate domains with different DSCP
assignment.
When configuring a named DSCP mutation map, note the following:
• Multiple commands can be entered to map additional DSCP values to a
mutated DSCP value.
• A separate command can be entered for each mutated DSCP value.
Up to 15 ingress-DSCP mutation maps can be configured to mutate the incoming
DSCP value before any QoS operation. After the ingress-DSCP mutation map
creation, use
qos dscp-mutation
command to attach the ingress-DSCP
mutation map to physical interfaces.
The DSCP-CoS map and DSCP-color map will still base on packet's original
DSCP. All the subsequent operations will base on mutated DSCP.
Example
This example shows how to map DSCP 30 to mutated DSCP value 8, DSCP 20
to mutated DSCP 10, the mutation map named, mutemap1:
Use the
show qos map
privileged EXEC command to verify the settings.
Syntax Description
MAP-NAME
Name of the DSCP mutation map in a string length up to 32 characters (no
space is allowed)
INPUT-DSCP-LIST
Specifies the list of DSCP code point to be mutated to another DSCP value . The
range of DSCP is 0 to 63. A series of DSCPs can be separated by comma (,) or
hyphen(-). No space is before and after
,
or
-
.
OUTPUT-DSCP
Mutated DSCP value; valid values are from 0 to 63.
Switch(config)#qos map dscp-mutation mutemap1 30 to 8
Switch(config)#qos map dscp-mutation mutemap1 20 to 10