DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
487
Switch# configure terminal
Switch(config)# interface eth3/0/1
Switch(config-if)# mls qos map dscp-color 61-63 to yellow
Switch(config-if)#
56-9 mls qos map dscp-cos
This command is used to define a Differentiated Services Code Point (DSCP)-to-class of service (CoS)
map. Use the no form of this command to revert to the default setting.
mls qos map dscp-cos DSCP-LIST to COS-VALUE
no mls qos map dscp-cos DSCP-LIST
Parameters
Specifies the list of DSCP code points to be mapped to a CoS
value. The range is from 0 to 63. The series of DSCPs can be
separated by commas (,) or hyphens (-) with no spaces or hyphens
before and after.
Default
CoS Value: 0 1 2 3 4 5 6 7
DSCP Value: 0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
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)#
56-10 mls qos map dscp-mutation
This command is used to define a named Differentiated Services Code Point (DSCP) mutation map.
Use the no form of this command to remove the mutation map.
mls qos map dscp-mutation MAP-NAME INPUT-DSCP-LIST to OUTPUT-DSCP
no mls qos map dscp-mutation MAP-NAME