10 mls qos map – Accton Technology ES4626 User Manual
Page 264

264
Example:
Configuring Ethernet port 1/1 to trust DSCP, using DSCP mutation mapping of
mu1.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos trust dscp pass-through cos
Switch(Config-Ethernet1/1)#mls qos dscp-mutation mu1
8.1.3.10 mls qos map
Command: mls qos map {cos-dscp <dscp1...dscp8> | dscp-cos <dscp-list> to
<cos> | dscp-mutation
|ip-prec-dscp <dscp1...dscp8> | policed-dscp <dscp-list>
to
<mark-down-dscp>}
no mls qos map {cos-dscp | dscp-cos | dscp-mutation
<dscp-mutation-name> | ip-prec-dscp | policed-dscp}
Function:
Sets class of service (CoS)-to-Differentiated Services Code Point (DSCP)
mapping, DSCP to CoS mapping, DSCP to DSCP mutation mapping, IP precedence to
DSCP
and policed DSCP mapping; the “no mls qos map {cos-dscp | dscp-cos |
dscp-mutation <dscp-mutation-name> | ip-prec-dscp | policed-dscp}
” command
restores the default mapping.
Parameters: cos-dscp <dscp1...dscp8>
defines the mapping from CoS value to DSCP,
<dscp1...dscp8>
are the 8 DSCP value corresponding to the 0 to 7 CoS value, each
DSCP value is delimited with space, ranging from 0 to 63; dscp-cos <dscp-list> to
<cos>
defines the mapping from DSCP to CoS value, <dscp-list> is a list of DSCP value
consisting of up to 8 DSCP values, <cos> are the CoS values corresponding to the
DSCP values in the list; dscp-mutation
<out-dscp>
defines the mapping from DSCP to DSCP mutation,
is the name for mutation mapping,
incoming DSCP values, up to 8 values are supported, each DSCP value is delimited with
space, ranging from 0 to 63, <out-dscp> is the sole outgoing DSCP value, the 8 values
defined in incoming DSCP will be converted to outgoing DSCP values; ip-prec-dscp
<dscp1...dscp8>
defines the conversion from IP precedence to DSCP value,
<dscp1...dscp8>
are 8 DSCP values corresponding to IP precedence 0 to 7, each DSCP
value is delimited with space, ranging from 0 to 63; policed-dscp <dscp-list> to
<mark-down-dscp>
defines DSCP mark down mapping, where <dscp-list> is a list of
DSCP values containing up to 8 DSCP values, <mark-down-dscp> are DSCP value
after mark down.
Default:
Default mapping values are:
Default CoS-to-DSCP Map
CoS Value
0 1 2 3 4 5 6 7