qos apply policy (interface view, control plane view)
Use qos apply policy to apply a QoS policy.
Use undo qos apply policy to remove an applied QoS policy.
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 or control plane.
Views
Layer 2 Ethernet interface view, 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 or control plane.
outbound: Applies the QoS policy to the outgoing traffic of an interface.
Examples
# Apply QoS policy USER1 to the outgoing traffic of GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos apply policy USER1 outbound
# Apply QoS policy aaa to the incoming traffic of the control plane of IRF member device 3.
<Sysname> system-view [Sysname] control-plane slot 3 [Sysname-cp-slot3] qos apply policy aaa inbound