Qos Example - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

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
DSCP Value
Default DSCP-to-CoS Map
DSCP Value
CoS Value
Default IP-Precedence-to-DSCP Map
IP Precedence Value
DSCP Value
dscp-mutation and policed-dscp are not configured by default
Command mode: Global Mode
Usage Guide: In police command, classified packet traffic can be set to mark down if
exceed specified average speed or burst value, policed-dscp <dscp-list> to
<mark-down-dscp> can mark down the DSCP values of those packets to new DSCP
values.
Example: Set 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

24.3 QoS Example

Scenario 1:
Enable QoS function, change the queue out weight of port ethernet 0/0/1to 1: 2: 4: 8,
and set the port in trust QoS mode without changing DSCP value, and set the default QoS
value of the port to 5.
The configuration steps are listed below:
Switch#config
Switch(config)#mls qos
Switch(config)#wrr-queue bandwidth 1 2 4 8
Switch(config)#interface ethernet 0/0/1
Switch(config-Ethernet0/0/1)#mls qos trust cos
Switch(config-Ethernet0/0/1)#mls qos cos 5
DCS-3950 series Ethernet switch manual
0 1 2 3 4 5 6 7
0 8 16 24 32 40 48 56
0–7 8–15 16–23 24–31 32–39 40–47 48–55 56–63
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 8 16 24 32 40 48 56
284
370

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents