R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

79
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:
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
You can apply a policy to multiple physical interfaces or ATM PVCs.
To apply a CBQ policy to a physical interface or ATM PVC:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view, port
group view, or PVC view.
Enter interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Enter PVC view:
a. interface atm
interface-number
b. pvc vpi/vci
Settings in interface view take
effect on the current interface.
Settings in port group view take
effect on all ports in the port group.
Settings in PVC view take effect on
the current PVC.