The user-queue command creates a subscriber queue in a QoS profile to implement HQoS.
The undo user-queue command deletes a subscriber queue from a QoS profile.
By default, no subscriber queue is configured in a QoS profile.
user-queue { pir pir-value | flow-queue-profile flow-queue-profile-name | flow-mapping-profile flow-mapping-profile-name } *
undo user-queue
S5731-S, S5731S-S, S5731-H, and S5731S-H do not support the flow-mapping-profile flow-mapping-profile-name parameter.
Parameter |
Description |
Value |
---|---|---|
pir pir-value |
Specifies the peak information rate (PIR) of a subscriber queue, which is the maximum rate of traffic that can pass through an interface. |
The value is an integer that ranges from 64 to 10000000, in kbit/s. |
flow-queue-profile flow-queue-profile-name |
Specifies the name of the referenced flow queue profile. If the name of the referenced flow queue profile is not specified, the flow queue profile default is used. |
The value must be the name of an existing flow queue profile. |
flow-mapping-profile flow-mapping-profile-name |
Specifies the name of the referenced flow mapping profile. If the name of the referenced flow mapping profile is not specified, the flow mapping profile default is used. |
The value must be the name of an existing flow mapping profile. |
Usage Scenario
To configure HQoS for authentication users to implement fine-granular scheduling, run the user-queue command to create subscriber queues, set different traffic shaping rates, and reference different flow queue profiles and flow mapping profiles.
Prerequisites
A QoS profile has been created using the qos-profile command.
The user-defined flow queue profile and flow mapping profile have been created using the flow-queue-profile and flow-mapping-profile commands respectively. If the user-defined flow queue profile and flow mapping profile are not required, use the default ones.