PLANET WGSW-50040 User Manual
Page 184

<dp1..dp8> are 8 dp value corresponding to the 0 to 7 CoS value, each dp value is delimited with
space, ranging from 0 to 2;
dscp-dscp defines the mapping from ingress DSCP to egress DSCP,
delimited with space, ranging from 0 to 63, <out-dscp> is the output DSCP value, ranging from 0 to
63;
dscp-intp defines the mapping from DSCP to intp;
dscp-dp defines the mapping from DSCP to dp;
intp-dscp defines the mapping from intp to DSCP,
<dscp1..dscp8> are 8 DSCP value corresponding to the 0 to 7 intp value, each CoS value is
delimited with space, ranging from 0 to 63.
Default:
Default mapping values are:
Default CoS-TO-DP Map
CoS Value
0
1
2
3
4
5
6
7
DP Value
0
0
0
0
0
0
0
0
Default DSCP-TO-DSCP Map
In-DSCP Value
0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
Out-DSCP Value
0
8 16 24 32 40 48 56
Default DSCP-TO-INTP Map
In-DSCP Value
0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
INTP Value
0
1
2 3 4 5
6 7
Default DSCP-TO-DP Map
In-DSCP Value
0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
DP Value
0 0
0 0
0
0
0 0
Command mode:
Global Mode
Usage Guide:
INTP means the chip internal priority setting, DP means the drop precedence. Because of the
internal DSCP value have 64 and the chip internal priority only 8, the dscp-intp mapping need 8
continuum dscp-inside mapping to the same INTP or DP.
Example:
1. Setting the CoS-to-DSCP mapping value to the default 0 8 16 24 32 40 48 56 to 0 1 2 3 4 5 6 7.
Switch(config)#mls qos map cos-dscp 0 1 2 3 4 5 6 7
2. Mapping DSCP 1, 2 to COS 7.
Switch(config)#mls qos map dscp-cos 1 2 to 7