R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

62
3. Configure the lower limit,
upper limit and drop
probability denominator for
an IP precedence value in
WRED.
wred ip-precedence precedence
low-limit low-limit high-limit
high-limit [ discard-probability
discard-prob ]
N/A
Defining a QoS policy
You associate a behavior with a class in a QoS policy. Each behavior includes a set of actions, such as
queue scheduling (EF, AF, and WFQ), traffic policing, traffic shaping, WRED, and traffic marking.
To associate a traffic behavior with a specific class in policy view:
Ste
p
Command Remarks
1. Enter system
view.
system-view N/A
2. Create a policy
and enter
policy view.
qos policy policy-name N/A
3. Associate a
traffic behavior
with a class in
the policy.
classifier classifier-name
behavior behavior-name
classifier-name: Class name. It must be the name of an
existing system-defined or user-defined class.
behavior-name: Name of a behavior. It must be the name
of an existing system-defined or user-defined behavior.
Applying the QoS policy
Use the qos apply policy command to apply a policy to a physical interface or ATM PVC. You can apply
a policy to multiple physical interfaces or ATM PVCs.
Configuration restrictions and guidelines
You can apply a QoS policy configured with various QoS actions (including remark, car, gts, queue
af, queue ef, queue wfq, wred, and so on) to common physical interfaces and the VT interfaces
used by MP.
An inbound QoS policy cannot contain a GTS action or any of these queuing actions: queue ef,
queue af, or queue wfq.
You must enable the rate limit function for the queuing function to take effect on these interfaces:
tunnel interfaces, subinterfaces, Layer 3 aggregate interfaces, HDLC link bundle interfaces, RPR
logical interfaces, and VT interfaces configured with PPPoE, PPPoA, or PPPoEoA. At the same time,
you must configure the qos max-bandwidth command to provide base bandwidth for CBQ
bandwidth calculation.
On some cards, QoS policies can be applied but cannot take effect due to limited system resources.
In this case, you can adjust related parameters (for example, reducing the number of queues)
according to system prompt and then apply a QoS policy again.
Configuration procedure
To apply a policy to an interface or ATM PVC: