< Home

user-queue (qos-profile view)

Function

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.

Format

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.

Parameters

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.

Views

QoS profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure a user queue in the QoS profile huawei to implement HQoS.

<HUAWEI> system-view
[HUAWEI] qos-profile name huawei
[HUAWEI-qos-huawei] user-queue pir 1000 flow-queue-profile flow1 flow-mapping-profile map1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic