70 
APPLYING A QOS POLICY TO VLANS
When applying a QoS policy to VLANs, go to these sections for information that 
you are interested in:
■ “Overview” on page 889
■ “Applying a QoS Policy to VLANs” on page 889
■ “Displaying and Maintaining QoS Policies Applied to VLANs” on page 890
■ “Configuration Examples” on page 890
Overview QoS polices support the following application modes:
■ Port-based application: QoS policies are effective for inbound packets on a 
port.
■ VLAN-based application: QoS policies are effective for inbound traffic on a 
VLAN.
A QoS policy is not effective on dynamic VLANs, for example, VLANs created by 
GVRP.
Applying a QoS Policy 
to VLANs
Configuration
Prerequisites
■ The QoS policy to be applied is defined. Refer to “Configuring a QoS Policy” on 
page 870 for policy defining.
■ VLANs where the QoS policy is to be applied are determined.
Configuration Procedure Follow these steps to apply a QoS policy to VLANs:
Note that, when you apply a QoS policy with the qos vlan-policy command, the 
support for the inbound/outbound keyword varies with the actions defined in 
the traffic behavior, as described in Table 70.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Apply the QoS policy to the 
specified VLAN(s) 
qos vlan-policy policy-name vlan 
vlan-id-list { inbound | outbound } 
Required