Applying the QoS policy

You can apply a QoS policy to the following destinations:

You can modify classes, behaviors, and class-behavior associations in an applied QoS policy unless it is applied to online users. If a class references an ACL for traffic classification, you can delete or modify the ACL (such as add rules to, delete rules from, and modify rules of the ACL).

Applying the QoS policy to an interface or PVC

A policy can be applied to multiple interfaces or PVCs, but only one policy can be applied in one direction (inbound or outbound) of an interface or PVC.

When you apply the QoS policy to an interface or PVC, follow these guidelines:

To apply the QoS policy to an interface or PVC:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view, port group view, or PVC view.

  • Enter interface view:interface interface-type interface-number

  • Enter port group view:port-group manual port-group-name

  • Enter PVC view:

    1. interface atm interface-number

    2. pvc vpi/vci

Settings in interface view take effect on the current interface. Settings in port group view take effect on all ports in the port group. Settings in PVC view take effect on the current PVC.

3. Apply the policy to the interface, port group, or PVC.

qos apply policy policy-name { inbound | outbound }

N/A

Applying the QoS policy to online users

You can apply a QoS policy to multiple online users. In one direction of each online user, only one policy can be applied. To modify a QoS policy already applied in a certain direction, remove the QoS policy application first.

When you apply the QoS policy to online users, follow these guidelines:

To apply the QoS policy to online users:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter user profile view.

user-profile profile-name

The configuration made in user profile view takes effect when the user profile is activated and the users of the user profile are online.

For more information about user profiles, see Security Configuration Guide.

3. Apply the QoS policy.

qos apply policy policy-name { inbound | outbound }

Use the inbound keyword to apply the QoS policy to the incoming traffic of the device (traffic sent by the online users). Use the outbound keyword to apply the QoS policy to the outgoing traffic (traffic received by the online users).

4. Return to system view.

quit

N/A

5. Activate the user profile.

user-profile profile-name enable

By default, user profiles are inactive.