23
•
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:
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.
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:
Step
Command
1.
Enter system view.
system-view
2.
Apply the QoS policy to VLANs.
qos vlan-policy
policy-name
vlan
vlan-id-list
{
inbound
|
outbound
}
Displaying and maintaining QoS policies
Task
Command
Remarks
Display a specified class-behavior
association in a specified policy or
all class-behavior associations in
a specified policy or in all policies.
display qos policy
{
system-defined
|
user-defined
} [
policy-name
[
classifier
classifier-name
]
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.