HP MSR2000/3000/4000 Router Series ACL and QoS Command Reference

62
Syntax
qos apply policy policy-name { inbound | outbound }
undo qos apply policy policy-name { inbound | outbound }
Default
No QoS policy is applied to an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a QoS policy name, a case-sensitive string of 1 to 31 characters.
inbound: Applies the QoS policy to the incoming traffic of an interface.
outbound: Applies the QoS policy to the outgoing traffic of an interface.
Usage guidelines
To successfully apply a QoS policy to an interface, make sure the total bandwidth assigned to AF and EF
queues in the QoS policy is smaller than the available bandwidth of the interface. If you modify the
available bandwidth of the interface to a value smaller the total bandwidth for AF and EF queues, the
applied QoS policy is removed. For a QoS policy to be applied in the inbound direction, the referenced
traffic behaviors must not be configured with commands queue af, queue ef, queue wfq, and gts.
A QoS policy must be applied to an interface following these rules:
You can apply a QoS policy configured with various QoS actions (such as remark, car, gts, queue
af, queue ef, queue wfq, and wred) to common physical interfaces.
An inbound QoS policy cannot contain a GTS action or any of these queuing actions: queue ef,
queue af, or queue wfq.
Examples
# Apply QoS policy USER1 to the incoming traffic of Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos apply policy USER1 outbound
qos policy
Use qos policy to create a QoS policy and enter QoS policy view.
Use undo qos policy to delete a QoS policy.
Syntax
qos policy policy-name
undo qos policy policy-name
Default
No QoS policy is configured.