The user-queue command sets the class-based HQOS parameters for the specified traffic behavior.
The undo user-queue command deletes the class-based HQOS parameters for the specified traffic behavior.
By default, the class-based HQOS parameters for the specified traffic behavior is not set.
user-queue cir cir-value [ [ pir pir-value ] | [ flow-queue flow-queue-name ] | [ user-group-queue group-name ] | [ service-template service-template-name ] ] *
undo user-queue [ cir cir-value [ [ pir pir-value ] | [ flow-queue flow-queue-name ] | [ user-group-queue group-name ] | [ service-template service-template-name ] ] * ]
Parameter | Description | Value |
---|---|---|
pir pir-value |
Specifies the PIR of an SQ. |
It is an integer and the value can be 0 or an integer from 16 to 4294967294, expressed in kbit/s. The minimum configurable PIR is cir-value. |
flow-queue flow-queue-name |
Specifies the name of an FQ template. |
It is a string of 1 to 31 characters. |
user-group-queue group-name |
Specifies the name of a GQ. |
It is a string of 1 to 31 characters. |
service-template service-template-name |
Specifies the name of the service template. The system defines fourteen service templates based on different service. |
The name is a string of 1 to 31 characters. |
cir cir-value |
Specifies the CIR of an SQ. |
It is an integer and the value can be 0 or an integer from 16 to 4294967294, expressed in kbit/s. The minimum configurable CIR is 0 kbit/s. |
Usage Scenario
Running the user-queue command in the traffic behavior view means to perform class-based HQoS scheduling over the packets that match the traffic rules. The outgoing traffic supports class-based HQoS scheduling only when the traffic policy works in unshared mode and is applied to an ETM subcard.
Precautions
In the view of traffic behavior view, this command and car (traffic behavior view) are mutually exclusive.
The user-queue command cannot bind four-flow-queue in the traffic behavior view. If member interfaces of a trunk interface reside on different forwarding or traffic management modules, the effective CIR or PIR for CAR or user-queue can be a multiple of the configured one.