58
Removing the
queue af
or
queue wfq
command configuration also removes the WRED-related
parameters.
To configure the lower limit, upper limit, and drop probability denominator for an IP precedence value
in WRED:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic behavior and
enter traffic behavior view.
traffic behavior
behavior-name
The specified traffic behavior
name cannot be the name of any
system-defined behavior.
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:
Step
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.