R3102-R3103-HP 6600/HSR6600 Routers ACL and QoS Command Reference
66
qos apply policy (user-profile view)
Use qos apply policy to apply a QoS policy to a user profile.
Use undo qos apply policy to remove the QoS policy.
Syntax
qos apply policy policy-name { inbound | outbound }
undo qos apply policy [ policy-name ] { inbound | outbound }
Views
User profile view
Default command level
2: System level
Parameters
inbound: Applies the QoS policy to the traffic sent by the online users.
outbound: Applies the QoS policy to the traffic received by the online users.
policy-name: Policy name, a string of 1 to 31 characters.
Usage 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 takes effect when the user-profile is activated and the users are
online.
Only the remark, car, and filter actions are supported in the QoS policies applied in user profile view.
A null policy cannot be applied in user profile view.
Examples
# Apply policy test to the traffic received by the users online. (Assume that the QoS policy has been
configured.)
<Sysname> system-view
[Sysname] user-profile user
[Sysname-user-profile-user] qos apply policy test outbound
qos policy
Use qos policy to create a policy and enter policy view.
Use undo qos policy to delete a policy.
Syntax
qos policy policy-name
undo qos policy policy-name
Views
System view










