R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)

26
Ste
p
Command Remarks
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.
Configuring QoS policy-based traffic rate measuring interval
for an interface
The QoS policy-based traffic rate measuring function collects per-class traffic statistics, including the
average forwarding rate and drop rate over an interval. The measuring interval is user configurable and
the statistics are refreshed every 15 seconds. You can use the display qos policy interface command to
view the collected traffic rate statistics.
When you configure QoS policy-based traffic rate measuring interval for an interface, follow these
guidelines:
The traffic rate measuring interval of an ATM PVC is the same as that configured on the ATM
interface that carries it.
The traffic rate measuring interval of an FR DLCI is the same as that configured on the FR interface
that carry it.
The traffic rate measuring interval of a subinterface is the same as that of the main interface.
To configure the QoS policy-based traffic rate measuring interval for an interface:
Ste
p
Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the QoS policy-based
traffic rate measuring interval for the
interface.
qos flow-interval interval
The default setting is 5
minutes.