R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
226
• af—Assured forwarding.
• be—Best-effort.”
• be-flow-based—Uses the weighted random early detection (WRED) drop policy.
Follow these steps to define a traffic behavior:
To do… Use the command…
Remarks
Enter system view
system-view
—
Create a traffic behavior and
enter traffic behavior view
traffic behavior behavior-name Required
Configure actions in the traffic
behavior
See the subsequent chapters, depending on the purpose of the traffic
behavior: traffic policing.
3. Defining a policy
You associate a behavior with a class in a QoS policy to perform the actions defined in the behavior for
the class of packets.
The system provides a pre-defined QoS policy named default. It includes the associations between
predefined classes and predefined traffic behaviors:Class default-class with behavior be.
You cannot name a user-defined QoS policy the same as the system-defined QoS policy.
Follow these steps to associate a class with a behavior in a policy:
To do… Use the command…
Remarks
Enter system view
system-view
—
Create a policy and enter policy
view
qos policy policy-name Required
Associate a class with a
behavior in the policy
classifier tcl-name behavior
behavior-name
Required
NOTE:
If the ACL contains deny rules, the if-match clause is ignored and the matching process continues.
4. Applying the QoS policy to an interface
A policy can be applied to multiple interfaces, but only one policy can be applied in one direction
(inbound or outbound) of an interface.
Follow these steps to apply the QoS policy to an interface or PVC:
To do… Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
Required
Settings in interface
view take effect on the
current interface.
Apply the policy to the interface
qos apply policy policy-name
{ inbound | outbound }
Required
5. Displaying and maintaining QoS policies