232
trust status of that port must be “
trust DSCP
”. Applying DSCP mutation mapping allows
DSCP values specified directly to be converted into new DSCP values without class and
policy process. DSCP mutation mapping is effective to the local port only. The “trust
DSCP” refers to the DSCP value before DSCP mutation in this case.
Example:
Configuring Ethernet port 0/0/1 to trust DSCP, using DSCP mutation mapping
of mu1.
Switch(Config)#interface Ethernet 0/0/1
Switch(Config-Ethernet0/0/1)#mls qos trust dscp pass-through cos
Switch(Config-Ethernet0/0/1)#mls qos dscp-mutation mu1
8.3.10 mls qos map
Command: mls qos map {cos-dscp <dscp1...dscp8> | dscp-cos <dscp-list> to
<cos> | dscp-mutation <dscp-mutation-name> <in-dscp> to <out-dscp>
|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 <dscp-mutation-name> <in-dscp> to
<out-dscp>
defines the mapping from DSCP to DSCP mutation,
<dscp-mutation-name>
is the name for mutation mapping,
<in-dscp>
stand
for
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