The user-queue command sets scheduling parameters for the SQ.
The undo user-queue command removes the setting.
By default, HQoS is disabled on the interface.
Parameter | Description | Value |
---|---|---|
pir pir-value |
Specifies the value of PIR. |
The value is an integer in the range of 0, 16 to 4294967294 in kbit/s. pir-value should be no less than the configured cir-value. If pir pir-value is not configured, pir-value = cir-value by default. |
flow-queue flow-queue-name |
Specifies the name of the flow queue template. |
The name is a string of 1 to 31 characters. |
user-group-queue group-name |
Specifies the name of a user group name and applies the GQ. |
The name is a string of 1 to 31 characters. |
inbound |
Indicates that the scheduling parameters for the SQ is applied to the incoming traffic on interfaces. |
- |
outbound |
Indicates that the scheduling parameters for the SQ is applied to the outgoing traffic on interfaces. |
- |
service-template template-name |
Specifies the name of the service template. |
The name is a string of 1 to 31 characters. The system defines fourteen service templates based on different service. |
adjust-on-card |
Specifies to enable the network header length function. |
- |
cir cir-value |
Specifies the CIR value for the user queue. The value must be smaller than the bandwidth of the interface. |
The value is an integer in the range of 0, 16 to 4294967294 in kbit/s. |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10G LAN interface view, 10G WAN interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE interface view, VE sub-interface view, Sub-interface view
Usage Scenario
The user-queue command is used to configure HQoS scheduling parameters on an interface to control the bandwidth and delay on the interface.
Prerequisites
The flow queue mapping object, flow queue template, and GQ used in the command must have been created before application and properly configured.
Configuration Impact
After the user-queue command is run, the user queue parameters on an interface are modified, affecting traffic scheduling on the interface.
Precautions
The value of pir-value must not exceed the interface bandwidth. It must be greater than or equal to the CIR value.
If member interfaces of a trunk interface reside on TM subcards of different types on the same board, this command cannot be configured for outgoing traffic on the trunk interface. Precision compensation takes effect only on TM subcards. If member interfaces of a trunk interface reside on different forwarding or traffic management module, the effective CIR or PIR for CAR or user-queue can be a multiple of the configured one. User-queue can be bound only to flow-queue in common mode and user-group-queue in common mode.<HUAWEI> system-view [*HUAWEI] user-group-queue test [*HUAWEI-user-group-queue-test] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] user-queue cir 200 pir 600 user-group-queue test inbound