30-44
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Co nf iguring QoS
Configuring QoS
You can attach only one output policy map per port.
The maximum number of policy maps configured on the switch is 256.
These sections describe how to configure different types of output policy maps:
Configuring Output Policy Maps with Class-Based-Weighted-Queuing, page 30-44
Configuring Output Policy Maps with Class-Based Shaping, page 30-46
Configuring Output Policy Maps with Port Shaping, page 30-47
Configuring Output Policy Maps with Class-Based Priority Queuing, page 30-48
Configuring Output Policy Maps with Weighted Tail Drop, page 30-53
Configuring Output Policy Maps with Class-Based-Weighted-Queuing
You use the bandwidth policy-map class configuration command to configure class-based weighted fair
queuing (CBWFQ). CBWFQ sets the relative precedence of a queue by allocating a portion of the total
bandwidth that is available for the port.
Follow these guidelines when configuring CBWFQ:
When configuring bandwidth in a policy map, all rate configurations must be in the same format,
either a configured rate or a percentage.
The total rate of the minimum bandwidth guarantees for e ach queue of the policy cannot exceed the
total speed for the interface.
You cannot configure CBWFQ (bandwidth) and traffic (shape average) or priority queuing
(priority) for the same class in an output policy map.
You cannot configure bandwidth as an absolute rate or percentage of total bandwidth wh en stri ct
priority (priority without police) is configured for another class map.
You can configure bandwidth as a percentage of remaining bandwidth only when strict priority
(priority without police) is configured for another class in the output policy map.
Beginning in privileged EXEC mode, follow these steps to use CBWFQ to control bandwidth allocated
to a traffic class by specifying a minimum bandwidth as a bit rate or percentage:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 policy-map policy-map-name Create a policy map by entering the policy map na me, an d en te r
policy-map configuration mode.
Step3 class class-map-name Enter a class-map name, and enter policy-map class configuration
mode.