
20-130
20.8 mls qos map
Command:
mls qos map {cos-
intp <intp1…intp8> | cos-dp<dp1…dp8> | dscp-intp <in-dscp list> to <intp> | dscp-dp
<in-dscp list> to <dp> | dscp-dscp <in-dscp list> to <out-dscp>}
no mls qos map {cos-intp | cos-dp | dscp-intp | dscp-dp | dscp-dscp}
Function:
Set the priority mapping of QoS,
the
no command restores the default mapping.
Parameters:
cos-intp <intp1
…intp8> defines the mapping from CoS to intp (queue) value, <intp1..intp8> are 8 intp value
corresponding to the 0 to 7 CoS value, each intp value is delimited with space, ranging from 0 to 3;
cos-dp<dp1
…dp8> defines the mapping from Cos to the dropping priority, <dp1…dp8> is the Cos value of 0 to 7 that
correspond to the 8 dropping priority. Every dropping priority value is separated by the space and the range of the
dropping priority is 0 to 2;
dscp-intp defines the mapping from DSCP to intp (queue);
dscp-dp defines the mapping from dscp value to the dropping priority;
dscp-dscp defines the mapping from ingress dscp value to egress dscp value, <in-dscp list> is the inputting dscp
value and there are 8 at most. They are separated by the space and the range is 0 to 63. <out-dscp> is the outputting
dscp value and the range is 0 to 63.
Default:
Default mapping values are:
Default CoS-TO-INTP Map
CoS Value
0
1
2
3
4
5
6
7
INTP Value
0
0
1
1
2
2
3
3
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-INTP Map
In-DSCP Value
0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
INTP Value
0
0
1 1 2
2 3 3
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
Default DSCP-TO-DSCP Map