R0106-HP MSR Router Series ACL and QoS Command Reference(V7)

72
Views
Interface view, PVC view, control plane view, management interface control plane view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a QoS policy by its name, a case-sensitive string of 1 to 31 characters.
inbound: Applies the QoS policy to the incoming traffic of an interface, PVC, or control plane.
outbound: Applies the QoS policy to the outgoing traffic of an interface or PVC.
Usage guidelines
To successfully apply a QoS policy to an interface or PVC, 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 or PVC to a value smaller than the total bandwidth for AF and
EF queues, the applied QoS policy is removed. For a QoS policy to be applied to 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 outgoing traffic of GigabitEthernet 2/1/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/0
[Sysname-GigabitEthernet2/1/0] qos apply policy USER1 outbound
# Apply QoS policy aaa to the incoming traffic of the control plane of slot 1.
<Sysname> system-view
[Sysname] control-plane slot 1
[Sysname-cp-slot1] qos apply policy aaa inbound
# Apply QoS policy bbb to the incoming traffic of the management interface control plane.
<Sysname> system-view
[Sysname] control-plane management
[Sysname-cp-management] qos apply policy bbb inbound
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