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 an applied QoS policy.
Syntax
qos apply policy policy-name { inbound | outbound }
undo qos apply policy policy-name { inbound | outbound }
Default
No QoS policy is applied to a user profile.
Views
User profile view
Predefined user roles
network-admin
Parameters
inbound: Applies the QoS policy to the incoming traffic (traffic sent by online users) of a user profile.
outbound: Applies the QoS policy to the outgoing traffic (traffic received by online users) of a user profile.
policy-name: Specifies a QoS policy by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Deleting a user profile also removes QoS policies applied to it.
The QoS policy applied to a user profile takes effect only after the QoS policy is successfully issued to the driver.
Examples
# Apply QoS policy test to the outgoing traffic of user profile user.
<Sysname> system-view [Sysname] user-profile user [Sysname-user-profile-user] qos apply policy test outbound