< Home

qos local-precedence-queue-map

Function

The qos local-precedence-queue-map command configures the default mappings between local precedences and queues.

The undo qos local-precedence-queue-map command restores the default mappings between local precedences and queues.

Table 1 lists the default mappings between local precedences and queues.

Table 1 Mappings between local precedences and queues

Local Precedence

Queue Index

BE

0

AF1

1

AF2

2

AF3

3

AF4

4

EF

5

CS6

6

CS7

7

Format

qos local-precedence-queue-map local-precedence queue-index

undo qos local-precedence-queue-map [ local-precedence ]

The S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S do not support the mapping configuration between local precedences and queues cannot be configured.

Parameters

Parameter

Description

Value

local-precedence

Specifies the name of the local precedence.

The value can be af1, af2, af3, af4, be, cs6, cs7, or ef.

queue-index

Specifies the index of a queue.

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Scenario

The device sends packets to the specified queue according to the mapping between local precedences and queues.

To make traffic across the entire network achieve consistent QoS, ensure that all the stations keep consistent mapping between local precedences and queues.

Precautions

If you run the qos local-precedence-queue-map command multiple times in the system view, only the latest configuration takes effect.

Example

# Map packets with local precedence AF3 to queue 2.

<HUAWEI> system-view
[HUAWEI] qos local-precedence-queue-map af3 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >