18.
Quality of Service
MN700004 Rev 01
224
Command Syntax
device-name
(config)#
qos drop-level priority
<
priority
> {
green
|
yellow
|
red
}
device-name
(config)#
no qos drop-level priority
Argument Description
priority
Priority level value in the range <0-7>.
green
Conforming precedence level.
yellow
Last conforming precedence level.
red
Non conforming precedence level.
Example
The following example configures the drop level priority 1, 2 and 3 and sets the precedence
level. The
show qos drop-level
command displays the results.
device-name
(config)#
qos drop-level priority
1 green
device-name
(config)#
qos drop-level priority
2 red
device-name
(config)#
qos drop-level priority
3 yellow
device-name
(config)#
end
device-name
#
show qos drop-level
=======================
Priority | Drop Level
----------+------------
0 | green
1 | green
2 | red
3 | yellow
4 | green
5 | green
6 | green
7 | green
Configuring Traffic Shaping
The
qos shaper
command, in Interface Configuration mode, sets the rate for the transmit port
or transmit port and queue. Traffic shaping is used to control the rate of outgoing traffic in
order to make sure that the traffic conforms to the maximum rate of transmission provided for
it. The
no
form of this command removes the traffic shaping.
Each transmit port can be configured to transmit at a specific rate. On each transmit port you
can also set the transmit rate for a specific queue. Any traffic that exceeds the configured
shaping rate will be queued and transmitted at the configured rate. If the burst of traffic
exceeds the size of the queue, packets will be dropped to maintain transmission at the
configured shaping rate.
By default, no traffic shaping is assigned.
NOTE
Since the rate granularity is limited, whenever you set the rate you will see a message
specifying the rate that is actually configured.
Command Syntax
device-name
(config-if UU/PP/SS)#
qos shaper
[
queue
<
value
>]
rate
<
rate-size
>
burst
<
burst-size
>