275
9.1.3.9 mls qos dscp-mutation
Command:mls qos dscp-mutation <dscp-mutation-name>
no mls qos dscp-mutation <dscp-mutation-name>
Function:
Applies DSCP mutation mapping to the port; the “
no mls qos dscp-mutation
<dscp-mutation-name>
“ command restores the DSCP mutation mapping default.
Parameters: <dscp-mutation-name>
is the name of DSCP mutation mapping.
Default:
There is no policy by default.
Command mode:
Interface Mode
Usage Guide
: For configuration of DSCP mutation mapping on the port to take effect, the
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 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
9.1.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,