33-23
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 33 Configuring QoS
Understanding QoS
Note
The total of the minimum bandwidth guarantees (CIR) for each queue of the child policy cannot exceed
the total port-shape rate.
This is an example of a parent-child configuration:
Switch(config)#
policy-map parent
Switch(config-pmap)#
class class-default
Switch(config-pmap-c)#
shape average 50000000
Switch(config-pmap-c)#
service-policy child
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
interface fastethernet0/1
Switch(config-if)#
service-policy output parent
Switch(config-if)#
exit
Class-Based Weighted Fair Queuing
You can configure class-based weighted fair queuing (CBWFQ) to set the relative precedence of a queue
by allocating a portion of the total bandwidth that is available for the port. You use the
bandwidth
policy-map class configuration command to set the output bandwidth for a class of traffic as a rate
(kilobits per second), a percentage of total bandwidth, or a percentage of remaining bandwidth.
Note
When you configure bandwidth in a policy map, you must configure all rates in the same format, either
a configured rate or a percentage. The total of the minimum bandwidth guarantees (CIR) for each queue
of the policy cannot exceed the total speed of the parent.
•
When you use the
bandwidth
policy-map class configuration command to configure a class of
traffic as an absolute rate (kilobits per second) or a percentage of total bandwidth, this represents
the minimum bandwidth guarantee (CIR) for that traffic class. This means that the traffic class gets
at least the bandwidth indicated by the command, but is not limited to that bandwidth. Any excess
bandwidth on the port is allocated to each class in the same ratio in which the CIR rates are
configured.
Note
You cannot configure bandwidth as an absolute rate or a percentage of total bandwidth when
strict priority (priority without police) is configured for another class in the output policy.
•
When you use the
bandwidth
policy-map class configuration command to configure a class of
traffic as a percentage of
remaining
bandwidth, this represents the portion of the excess bandwidth
of the port that is allocated to the class. This means that the class is allocated bandwidth only if there
is excess bandwidth on the port, and if there is no minimum bandwidth guarantee for this traffic
class.
Note
You can configure bandwidth as percentage of remaining bandwidth only when strict
priority (priority without police) is configured for another class in the output policy map.
For more information, see the
“Configuring Output Policy Maps with Class-Based-Weighted-Queuing”
section on page 33-54
.
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...