Command Reference Guide
66
Usage guidelines
For information about S-channel interfaces, S-channel aggregate interfaces, VSI interfaces, and VSI
aggregate interfaces, see EVB Configuration Guide.
Examples
# Apply QoS policy USER1 to the outgoing traffic of FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface FortyGigE 1/1/1
[Sysname-FortyGigE1/1/1] qos apply policy USER1 outbound
# Apply QoS policy aaa to the incoming traffic of the control plane of IRF member device 1.
<Sysname> system-view
[Sysname] control-plane slot 1
[Sysname-cp-slot1] qos apply policy aaa inbound
# Apply QoS policy USER1 to the outgoing traffic of interface S-Channel 1/1/1:1.
<Sysname> system-view
[Sysname] interface S-Channel 1/1/1:1
[Sysname-S-Channel1/1/1:1] qos apply policy USER1 outbound
# Apply QoS policy USER1 to the incoming traffic of interface Schannel-Aggregation 1:1.
<Sysname> system-view
[Sysname] interface Schannel-Aggregation 1:1
[Sysname-Schannel-Aggregation1:1] qos apply policy USER1 inbound
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.