beautypg.com

2 mls qos map – PLANET XGS3-24040 User Manual

Page 222

background image

14-88

Example:

Configuring Ethernet port 1/1 to trust DSCP, using DSCP mutation mapping of mu1.

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#mls qos trust dscp pass-through-cos

Switch(Config-If-Ethernet1/1)#mls qos dscp-mutation mu1

14.7.2 mls qos map

Command:

mls qos map (cos-dscp | dscp-cos to | dscp-mutation

to

|ip-prec-dscp

|

policed-dscp (normal-burst | max-burst) to )

no mls qos map (cos-dscp | dscp-cos | dscp-mutation |

ip-prec-dscp | policed-dscp (normal-burst | max-burst))

Function:

Support the configuration of all actions in dual rate dual bucket mode. 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 exceed-action

and violate-action use different policied-dscp map tables. The no command restores the default

mapping.

Parameters:

cos-dscp <dscp1...dscp8> defines the mapping from CoS value to DSCP-inside,

<dscp1...dscp8> are the 8 DSCP-inside value corresponding to the 0 to 7 CoS value, each

DSCP-inside value is delimited with space, ranging from 0 to 63; dscp-cos <dscp-list> to <cos>

defines the mapping from DSCP-inside to CoS value, <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 to <out-dscp> defines the mapping from

DSCP to DSCP mutation, is the name for mutation mapping,

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 to

defines DSCP mark down mapping, where is a list of DSCP

values containing up to 8 DSCP values, 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