R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
225
Figure 127 QoS policy configuration procedure
1. Defining a class
The system pre-defines a classe. A user-defined class cannot be named the same as a system-defined
class. You can use pre-defined classes when defining a policy. The system-defined classes is The default
class.
Follow these steps to define a class:
To do… Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier tcl-name [ operator
{ and | or } ]
Required
By default, the operator of a class is
AND.
The operator of a class can be AND
or OR.
• AND: A packet is assigned to a
class only when the packet
matches all the criteria in the
class.
OR: A packet is assigned to a class
if it matches any of the criteria in the
class.
Configure match criteria
if-match match-criteria
Required
For more information, see the
if-match command.
2. Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)
to take on a class of traffic.
The system pre-defines some traffic behaviors and defines general QoS actions for them. A user-defined
behavior cannot be named the same as a system-defined behavior. You can use these behaviors when
defining a policy. The system-defined behaviors are as follows:
• ef—Expedited forwarding.
Define a class
Define a
behavior
Define a policy
Apply the policy
To an interface