Applying the QoS policy to VLANs
You can apply a QoS policy to VLANs to regulate traffic of the VLANs.
Configuration restrictions and guidelines
When you apply a QoS policy to VLANs, follow these restrictions and guidelines:
QoS policies cannot be applied to dynamic VLANs, including VLANs created by GVRP.
If the hardware resources of an IRF member device are insufficient, applying a QoS policy to VLANs might fail on the IRF member device. The system does not automatically roll back the QoS policy configuration already applied to other IRF member devices. To ensure consistency, use the undo qos vlan-policy vlan command to manually remove the QoS policy configuration applied to them.
Configuration procedure
To apply the QoS policy to VLANs:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Apply the QoS policy to VLANs. | qos vlan-policy policy-name vlan vlan-id-list { inbound | outbound } | By default, no QoS policy is applied to a VLAN. |