Defining a Class
You define a class by matching the QoS map entry to packets that meet certain
criteria.
Table 8-6.
QoS Map Criteria
Criteria
ToS value—IP precedence
ToS value—DiffServ
IP header—source or destination IP
address and protocol port
destination UDP protocol port
bridged traffic
Each QoS map entry can use only one set of criteria to match traffic. To match
another group of traffic, you must configure another entry.
Enter one of the match commands shown in Table 8-6 to select traffic.
Different options for the match command will be discussed separately in the
following sections.
Classifying Traffic According to a ToS Value. WFQ allocates relatively
more bandwidth to traffic with higher IP precedence (or DiffServ values).
Simple WFQ must use this formula:
(IP precedence value +1)/sum of all (IP precedence values +1)
With CBWFQ, you can control how much bandwidth the router assigns to a
class defined by a ToS value.
You would create an entry for each ToS value your system uses and then enter
this command:
Syntax: match [dscp <value> | precedence <value>]
Valid DiffServ (DSCP) values are from 0 to 63; valid IP precedence values are
from 0 to 7. For example:
ProCurve(config-qos-map)# match precedence 5
Setting Up Quality of Service
Match Command
match precedence <0-7>
match dscp <0-63>
match list <ACL listname>
match ip rtp <first port number> [<last
port number>] [all]
match protocol bridge [netbeui]
Configuring CBWFQ
8-21