DGS-6604
m
qos map dscp-cos
CLI Reference Guide
513
qos map dscp-cos
To define a differentiated services code point (DSCP)-to-class of service (CoS)
map, use the qos map dscp-cos command in global configuration mode. To
remove a prior entry, use the no form of this command.
qos map dscp-cos
DSCP-LIST
to
COS-VALUE
no qos map dscp-cos
Default
Below is a table of the default dscp-cos mappings:
Command Mode
Interface Configuration
Usage Guideline
The DSCP to CoS map is used by the DSCP trust port to map the DSCP value to
an internal CoS value, which will be in turn be mapped to the CoS queue based
on the CoS to queue map configured by the qos map cos command.
Only physical ports are valid for this command. All of the DSCP-to-CoS maps are
globally defined. The map applies to all ports.
Example
This example configures the DSCP to CoS map for mapping DSCP 12, 16, 18 to
CoS 1 for eth2.6.
Use the
show qos interface map
privileged EXEC command to verify the
settings.
Syntax Description
dscp-cos
DSCP-LIST
to
COST-VALUE
Specifies the list of DSCP code point to be mapped to a COS value. The range
of DSCP is 0 to 63. The series of DSCPs can be separated by comma (,) or
hyphen(-). No space is before and after
,
or
-
. The COS-VALUE range is 0 ~ 7
DSCP
ValueCOS Value
0-7
0
8-15
1
16-23
2
24-31
3
32-39
4
40-47
5
48-55
6
56-63
7
Switch(config)# interface eth2.6
Switch(config-if)# qos map dscp-cos 12,16,18 to 1
Switch(config-if)#end