< Home

map flow-queue (flow mapping profile view)

Function

The map flow-queue command configures the mapping between flow queues and interface queues.

The undo map flow-queue command restores the default mapping between flow queues and interface queues.

By default, a flow queue maps to an interface queue.

Format

map flow-queue flow-queue-index to port-queue port-queue-index

undo map flow-queue flow-queue-index

Parameters

Parameter

Description

Value

flow-queue flow-queue-index

Specifies the index of a flow queue.

The value is an integer that ranges from 0 to 7.

to port-queue port-queue-index

Specifies the index of an interface queue.

The value is an integer that ranges from 0 to 7.

Views

Flow mapping profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, a flow queue maps to an interface queue, that is, flow queues 0 to 7 maps to interface queues 0 to 7 respectively. To change the default mapping, run this command so that specified services in a subscriber queue enter interface queues with different priorities for scheduling and other QoS processing according to service requirements.

Prerequisites

A flow mapping profile has been created and the flow mapping profile view has been displayed.

Example

# Configure flow mapping profile map1 and map flow queue 1 to interface queue 2.

<HUAWEI> system-view
[HUAWEI] flow-mapping-profile map1
[HUAWEI-flow-mapping-map1] map flow-queue 1 to port-queue 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >