Step
2.
Enter interface view.
3.
Apply a policy to the interface.
Applying a QoS policy to a VLAN
You can apply a QoS policy to a VLAN to mirror the traffic in a specific direction on all ports in the
VLAN.
To apply the QoS policy to a VLAN:
Step
1.
Enter system view.
2.
Apply a QoS policy to a VLAN.
Applying a QoS policy globally
You can apply a QoS policy globally to mirror the traffic in a specific direction on all ports.
To apply a QoS policy globally:
Step
1.
Enter system view.
2.
Apply a QoS policy globally.
Applying a QoS policy to the control plane
You can apply a QoS policy to the control plane to mirror the traffic in a specific direction on all ports of
the control plane.
To apply a QoS policy to the control plane:
Step
1.
Enter system view.
2.
Enter control plane view.
3.
Apply a QoS policy to the
control plane.
Command
interface interface-type interface-number
qos apply policy policy-name { inbound | outbound }
Command
system-view
qos vlan-policy policy-name vlan vlan-id-list { inbound
| outbound }
Command
system-view
qos apply policy policy-name global { inbound |
outbound }
Command
system-view
control-plane slot slot-number
qos apply policy policy-name inbound
122