flow-queue

Function

The flow-queue command creates a flow queue profile.

The undo flow-queue command deletes a flow queue profile.

By default, no flow queue profile is created.

Format

flow-queue flow-queue-name

flow-queue flow-queue-name priority-mode

undo flow-queue flow-queue-name [ priority-mode ]

undo flow-queue flow-queue-name

flow-queue flow-queue-name 8cos-enhance-mode

undo flow-queue flow-queue-name 8cos-enhance-mode

Parameters

Parameter Description Value
flow-queue-name

Specifies the name of a flow queue profile.

The value is a string of 1 to 31 characters.

priority-mode

Indicates the priority mode.

-

8cos-enhance-mode

Specifies 8cos enhance mode.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

A flow queue profile is used to configure scheduling parameters for eight priority queues. You can configure a scheduling mode (PQ/WFQ/LPQ), CIR, shaping value, and drop policy (WRED) for the eight queues, scheduling service traffic with different priorities.

A flow queue profile in priority mode allows you to flexibly specify different scheduling priorities for eight queues.

A flow queue profile in enhanced 8-CoS mode supports scheduling parameters for eight queues and allows you to flexibly specify different scheduling priorities for the eight queues.

Configuration Impact

If the specified flow-queue-name does not exist, the system creates a new flow queue to bind the parameters of the eight flow queues in the profile.

If the flow-queue-name exists, the system enters the flow queue view and then you can modify the parameters of the flow queue.

Precautions

A maximum of 2048 flow queue profiles can be created in the system. A flow queue profile referenced by a user queue cannot be deleted.

Example

# Create a non-priority flow queue profile named test.
<HUAWEI> system-view
[~HUAWEI] flow-queue test
# Create a flow queue profile named test in enhanced 8-CoS mode.
<HUAWEI> system-view
[~HUAWEI] flow-queue test 8cos-enhance-mode
# Create a priority-mode flow queue profile named test2.
<HUAWEI> system-view
[~HUAWEI] flow-queue test2 priority-mode
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >