223
Creating a user profile
Follow these steps to create a user profile:
To do… Use the command…
Remarks
Enter system view system-view —
Create a user profile, and
enter its view
user-profile profile-name
Required
You can use the command to enter the view of
an existing user profile.
Configuring a user profile
Configuration guidelines
• After a user profile is created, apply a QoS policy in user profile view to implement restrictions on
online users. The QoS policy takes effect when the user profile is enabled and a user using the user
profile goes online.
• The QoS policies that can be applied to user profiles support only the remark, car, and filter
actions.
• Do not apply an empty policy in user profile view because a user profile with an empty policy
applied cannot be enabled.
• If a user profile is enabled, you cannot change the QoS policy or edit any QoS policy content
(including the ACL that is referenced by the QoS policy).
• For information about QoS policy configurations, see ACL and QoS Configuration Guide.
Configuration procedure
Follow these steps to configure a user profile:
To do… Use the command…
Remarks
Enter system view system-view —
Enter user profile view user-profile profile-name Required
Apply the QoS policy
qos apply policy policy-name
{ inbound | outbound }
Required
The inbound keyword applies the
QoS policy to incoming traffic of the
switch (traffic sent by online users).
The outbound keyword applies the
QoS policy to outgoing traffic of the
switch (traffic sent to online users).