158
<dscp-list> is a list of DSCP value consisting of up to 8 DSCP-inside 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-inside values, up to 8 values are supported, each DSCP-inside
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-inside value, <dscp1...dscp8> are 8 DSCP-inside 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
DSCP Value 0 8 16 24 32 40 48 56
Default DSCP-to-CoS Map
DSCP Value 0–7 8–15 16–23 24–31 32–39 40–47 48–55 56–63
CoS Value 0 1 2 3 4 5 6 7
Default IP-Precedence-to-DSCP Map
IP Precedence Value 0 1 2 3 4 5 6 7
DSCP Value 0 8 16 24 32 40 48 56
dscp-mutation and policed-dscp are not configured by default
Command mode: Global Mode
Usage Guide: The dscp which in cos-dscp, dscp-cos, ip-prec-dscp, dscp-mutation fingers
dscp-inside value. Because of the dscp-inside value have 64 and that the chip
priority-inside only 8, the dscp-cos mapping need 8 continuum dscp-inside mapping to the
same cos, in other words, dscp 0-7 mapping the same cos value.
Example: 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
13.9 policy
Command: policy <rate-kbps> <burst-kbyte> [ exceed-action { drop |
policed-dscp-transmit } ]