R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
24
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:
• You can only edit or remove the configurations in a disabled user profile. Disabling a user profile
logs out the users that are using the user profile.
• The QoS policy applied to a user profile supports only the remark, car, and filter actions.
• Do not apply a null policy to a user profile. The user profile using a null policy cannot be activated.
• The authentication methods supported for online users include PPPoE, 802.1X, Portal, and MAC
authentication.
To apply the QoS policy to online users:
Ste
p
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.
Applying the QoS policy to a VLAN
You can apply a QoS policy to a VLAN to regulate traffic of the VLAN.
When you apply the QoS policy to a VLAN, follow these guidelines:
• QoS policies cannot be applied to dynamic VLANs, such as VLANs created by GVRP.
• When you apply a QoS policy to VLANs, the QoS policy is applied to the specified VLANs on all
interface cards. If the hardware resources of an interface card are insufficient, applying a QoS
policy to VLANs might 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 the undo qos vlan-policy vlan command to manually remove the QoS
policy configuration applied to them.
To apply the QoS policy to a VLAN:
Ste
p
Command
1. Enter system view.
system-view