Applying a QoS policy
You can apply QoS policies in user profile view to implement traffic management functions.
Follow these guidelines when you apply a QoS policy:
After a user profile is created, apply a QoS policy in user profile view to implement restrictions on online users. The QoS policy takes effect when the user profile is enabled and a user using the user profile goes online.
The QoS policies that can be applied to user profiles support only the remark, car, and filter actions.
Do not apply an empty policy in user profile view because a user profile with an empty policy applied cannot be enabled.
If a user profile is enabled, you cannot modify the applied QoS policy (including the ACL that is referenced by the QoS policy) or remove it.
For information about QoS policy configurations, see ACL and QoS Configuration Guide.
To apply a QoS policy:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter user profile view. | user-profile profile-name | N/A |
3. Apply a QoS policy. | qos apply policy policy-name { inbound | outbound } | The inbound keyword applies the QoS policy to incoming traffic of the switch (traffic sent by online users). The outbound keyword applies the QoS policy to outgoing traffic of the switch (traffic sent to online users). |