user-queue(Traffic behavior view)

Function

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.

Format

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 ] ] * ]

Parameters

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.

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

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.

Example

# Configure HQoS for the traffic behavior b1: The CIR is 1 Mbit/s and the PIR is 10 Mbit/s.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] user-queue cir 1000 pir 10000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >