Step Description Command Keys
5 Specify DSCP code value which will be
set in IP packets corresponding to the
class being configured.
(cannot be assigned simultaneously
with IP Precedence and CoS fields). (if
remarking is required)
esr(config-class-map)# set dscp
<DSCP>
<DSCP> – DSCP code value,
takes values in the range of
[0..63].
6 Specify IP Precedence code value which
will be set in IP packets corresponding
to the class being configured (cannot
be assigned simultaneously with DSCP
and CoS fields). (if remarking is
required)
esr(config-class-map)# set ip-
precedence <IPP>
<IPP> – IP Precedence code
value, takes values in the range
of [0..7].
7 Specify 802.1p priority value which will
be set in packets corresponding to the
class being configured (cannot be
assigned simultaneously with DSCP and
IP Precedence fields). (if remarking is
required)
esr(config-class-map)# set сos
<COS>
<COS> – priority 802.1p value,
takes values of [0..7].
8 Create QoS policy and switch to the
policy parameters configuration mode.
esr(config)# policy-map <NAME>
esr(config-policy-map)#
<NAME> – name of the policy
being created, set by the string
of up to 31 characters.
9 Specify QoS policy description
(optionally).
esr(config-policy-map)#
description <description>
<description> – up to 255
characters..
10 Set the committed outgoing bandwidth
for the policy in total.
esr(config-policy-map)# shape
average <BANDWIDTH> [BURST]
<BANDWIDTH> – committed
bandwidth in Kbps, takes the
value of [64..10000000];
<BURST> – size of the
restrictive threshold in KB,
takes the value [128..16000].
128 KB.
11 Enable automatic bandwidth allocation
between classes without bandwidth
configuration, including the default
class (if required).
esr(config-policy-map)# shape
auto-distribution
12 Include the specified QoS class in the
policy and switch to the class
parameters configuration mode within
the policy.
esr(config-policy-map)# class
<NAME>
esr(config-class-policy-map)#
<NAME> – name of the class
being bound, set by the string
of up to 31 characters. When
specifying the “class-default”
value, the incoming
unclassified traffic falls into the
given class.