Applying the QoS policy to a VLAN
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
VLAN QoS policies are applied globally to all interface cards. If the hardware resources of an interface card
are insufficient, applying a QoS policy to VLANs may fail on the interface card. The system does not
automatically roll back the QoS policy configuration already applied to the main processing unit or other
interface cards. To ensure consistency, use undo qos vlan-policy vlan to manually remove the QoS policy
configuration applied to them.
Apply a QoS policy to a VLAN to regulate traffic of the VLAN.
To do...
1.
Enter system view.
2.
Apply the QoS policy to VLANs.
Displaying and maintaining QoS policies
To do...
Display traffic class configuration.
Display traffic behavior configuration.
Display system-defined or user-defined
QoS policy configuration.
Display QoS policy configuration on the
specified or all interfaces/PVCs.
Display VLAN QoS policy configuration
(on A6604, A6608, and A6616).
Clear VLAN QoS policy statistics.
Command...
system-view
qos vlan-policy policy-name vlan vlan-id-list
{ inbound | outbound }
Command...
display traffic classifier { system-defined | user-
defined } [ tcl-name ] [ | { begin | exclude |
include } regular-expression ]
display traffic behavior { system-defined |
user-defined } [ behavior-name ] [ | { begin |
exclude | include } regular-expression ]
display qos policy { system-defined | user-
defined } [ policy-name [ classifier tcl-name ] ] [ |
{ begin | exclude | include } regular-expression ]
display qos policy interface [ interface-type
interface-number ] [ inbound | outbound ] [ pvc
{ pvc-name [ vpi/vci ] | vpi/vci } ] [ | { begin |
exclude | include } regular-expression ]
display qos vlan-policy { name policy-name |
vlan vlan-id } [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
reset qos vlan-policy [ vlan vlan-id ] [ inbound |
outbound ]
25
Remarks
—
Required.
Remarks
Available in
any view.
Available in
any view.
Available in
any view.
Available in
any view.
Available in
any view.
Available in
user view.