qos cos pack-size

Function

The qos cos pack-size command sets the packet block threshold size.

The undo qos cos pack-size command restores the default settings.

By default,the packet block threshold size is not set.

Format

qos cos all pack-size pack-size-value

undo qos cos all pack-size pack-size-value

Parameters

Parameter Description Value
pack-size-value

Specifies the packet block threshold size. The larger the value is, the higher the traffic burst can be.

The value is an integer ranging from 0 to 5, in KBytes.

all

Specifies all queues.

-

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

In most cases, using the default configuration is recommended. If the packet block threshold size needs to be set to control the traffic burst, contact technical support personnel for configuration guide.

Example

# Set the packet block threshold size to 4 KBytes for all queues on the board in slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] qos cos all pack-size 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >