Setting Up Quality of Service
Configuring CBWFQ
N o t e
8-20
To configure CBWFQ, you must complete these steps:
1.
Create a QoS map entry.
2.
Define a class. You can define classes according to:
•
ToS value
•
IP header fields—source and destination IP address, port, and
protocol
•
destination UDP protocol port
•
bridged protocol
3.
Allocate bandwidth to the class.
4.
Create QoS map entries with the same name and different sequence
numbers to configure multiple classes. Repeat steps 2 and 3.
5.
Apply the QoS map to a WAN interface.
Creating a QoS Map Entry
To create a QoS map, enter the following command from the global configu-
ration mode context:
Syntax: qos map <mapname> <sequence number>
The mapname is alphanumeric and case-sensitive. Valid sequence numbers
range from 0 to 65,535.
If you are using LLQ and CBWFQ on the same interface, the map entries for
the low-latency queues and the CBWFQ classes should use the same name.
For example, you could use map entries 0 and 1 for low-latency queues and
configure map entry 2 to define a CBWFQ class:
ProCurve(config)# qos map QoSMap 2
The router matches packets to lower-numbered entries first. If you configure
classes that might match the same traffic, you should assign the entry for the
more specific definition a lower sequence number.
Using different kinds of criteria to define classes on the same interface can
also complicate matters. For example, a packet might fall into a class of traffic
from subnet 192.168.3.0 and into a class of traffic with IP precedence 4. You
should either use the same kind of criteria for all the classes or take care to
assign a lower sequence number to the entry you want to take precedence in
defining traffic.