HP MSR2000/3000/4000 Router Series ACL and QoS Configuration Guide

52
Ste
Command
Remarks
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
By default, no traffic behavior is
created.
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 ]
By default, low-limit is 10,
high-limit is 30, and discard-prob
is 10.
Repeat this command to configure
more IP precedence values.
Defining a QoS policy
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a policy and enter
policy view.
qos policy policy-name By default, no policy is created.
3. Associate a traffic
behavior with a class in the
policy.
classifier classifier-name
behavior behavior-name
By default, a class is not associated with a
behavior.
Applying the QoS policy
Use the qos apply policy command to apply a policy to a physical interface. You can apply a policy to
multiple physical interfaces.
Configuration restrictions and guidelines
You can apply a QoS policy configured with QoS actions to common physical interfaces, for
example remark, car, queue af, queue ef, and queue wfq.
An inbound QoS policy cannot contain 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 subinterfaces. You
must also configure the bandwidth command to provide base bandwidth for CBQ bandwidth
calculation.
Configuration procedure
To apply a policy to an interface:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Apply a policy to the
interface.
qos apply policy policy-name
{ inbound | outbound }
By default, no QoS policy is
applied to an interface.