
74
Configuring a WRED drop action
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 a WRED
drop action.
wred
[
dscp
|
ip-precedence
]
•
dscp
—Uses the DSCP value for
calculating the drop probability for a
packet.
•
ip-precedence
—Uses the IP
precedence value for calculating the drop
probability for a packet. This keyword is
used by default.
You can configure the
wred
[
dscp
|
ip-precedence
] command only after configuring the
queue af
command or the
queue wfq
command.
When a QoS policy including the WRED traffic behavior is applied to an interface, the previous
interface-level WRED configuration gets invalid.
Defining a QoS policy
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
You can apply a policy to multiple physical interfaces or ATM PVCs.
To apply a CBQ policy to a physical interface or ATM PVC:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A