Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
477
The DSCP to CoS map is used by a DSCP trust port to map a DSCP value to an internal CoS value. In
turn this CoS value is then mapped to the CoS queue based on the CoS to queue map configured by the
priority-queue cos-map command.
Example
This example shows how to configure the DSCP to CoS map for mapping DSCP 12, 16, and 18 to CoS 1
for eth2/0/6.
Switch# configure terminal
Switch(config)# interface eth2/0/6
Switch(config-if)# mls qos map dscp-cos 12,16,18 to 1
Switch(config-if)#
53-10 mls qos map dscp-mutation
This command is used to define a named Differentiated Services Code Point (DSCP) mutation map. To
remove the mutation map, use the no form of this command.
mls qos map dscp-mutation MAP-NAME INPUT-DSCP-LIST to OUTPUT-DSCP
no mls qos map dscp-mutation MAP-NAME
Parameters
MAP-NAME
Specifies the 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 is from 0 to 63. A series of DSCPs can be separated
by commas (,) or hyphens (-). No space or hyphen is before and after.
OUTPUT-DSCP
Specifies the mutated DSCP value. Valid values are from 0 to 63.
Default
The output DSCP is equal to the input DSCP.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When a packet is received by an interface, based on a DSCP mutation map, the incoming DSCP can be
mutated to another DSCP immediately before any QoS operations. The DSCP mutation is helpful to
integrate domains with different DSCP assignments.
When configuring a named DSCP mutation map, note the following:
Enter multiple commands to map additional DSCP values to a mutated DSCP value.
Enter a separate command for each mutated DSCP value.
The DSCP-CoS map and DSCP-color map will still be based on the packet’s original DSCP. All the
subsequent operations will base on the mutated DSCP.
Example