z QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
z Do not apply a QoS policy to a VLAN and the ports in the VLAN at the same time.
z A QoS policy containing any of the nest, remark customer-vlan-id, and remark service-vlan-id
actions cannot be applied to a VLAN.
Applying the QoS policy globally
You can apply a QoS policy globally to the inbound or outbound direction of all ports.
Follow these steps to apply the QoS policy globally:
To do… Use the command… Remarks
Enter system view system-view —
Apply the QoS policy globally
qos apply policy policy-name
global inbound
Required
A QoS policy containing any of the nest, remark customer-vlan-id, and remark service-vlan-id
Actions cannot be applied globally.
Displaying and Maintaining QoS Policies
To do… Use the command… Remarks
Display information about a
class and the corresponding
actions associated by a policy
display qos policy
user-defined [ policy-name
[ classifier classifier-name ] ]
Available in any view
Display information about the
policies applied on a port
display qos policy interface
[ interface-type
interface-number ] [ inbound ]
Available in any view
Display information about a
traffic behavior
display traffic behavior
user-defined
[ behavior-name ]
Available in any view
Display information about a
class
display traffic classifier
user-defined
[ classifier-name ]
Available in any view
Display information about a
global QoS policy
display qos policy global
[ slot slot-number ] [ inbound ]
Available in any view
Display information about QoS
policies applied to VLANs
display qos vlan-policy
{ name policy-name | vlan
[ vlan-id ] } [ slot slot-number ]
[ inbound ]
Available in any view