Not involved
Delivering speed limit configuration on vlan-interface is not supported.
Check the configuration guide. Only the interface marked yellow below supports the application of qos policy, so vlan-interface is not supported.
Applying
the QoS policy to an interface
Restrictions and guidelines
A
QoS policy can be applied to multiple interfaces. However, only one QoS policy
of the same type can be applied to one direction (inbound or outbound) of an
interface.
A
maximum of five QoS policies (one for each type) can be applied to the same
direction of an interface. Different actions can be taken on the same traffic
class if QoS policies of different types are applied to an interface.
When
a QoS policy is applied to the outgoing traffic, a Layer 2 ACL rule matching
the MAC addresses of packets in a class cannot match IPv6 packets.
The
QoS policy applied to the outgoing traffic on an interface does not regulate
local packets. Local packets refer to critical protocol packets sent by the
local system for operation maintenance. The most common local packets include
link maintenance, RIP, LDP, and SSH packets.
The term "interface" in this
section collectively refers to Layer 2 Ethernet interfaces, Layer 2 aggregate
interfaces, Layer 3 Ethernet interfaces, Layer 3 aggregate interfaces, Layer 3
Ethernet subinterfaces, and VSI interfaces. You can
use the port link-mode command
to configure an Ethernet port as a Layer 2 or Layer 3 interface (see Ethernet
interface configuration in Layer 2—LAN Switching Configuration Guide).
You
cannot apply a QoS policy to the outbound direction of a Layer 2 or Layer 3
Ethernet interface.
For
information about VSI interfaces, see VXLAN Configuration Guide.
Procedure
1. Enter system
view.
system-view
2. Enter
interface view.
interface interface-type
interface-number
3. Apply the
QoS policy to the interface.
qos apply [ ipv6-matching |
{ accounting | mirroring | remarking } ] policy policy-name { inbound | outbound [ share-mode ]
By
default, no QoS policy is applied to an interface.
Apply qos under supported interfaces.