< Home

qos dynamic-buffer max-maximum

Function

The qos dynamic-buffer max-maximum command configures the maximum buffer size of a queue for which dynamic buffer adjustment is enabled.

The undo qos dynamic-buffer max-maximum command restores the default maximum buffer size of a queue for which dynamic buffer adjustment is enabled.

By default, the maximum buffer size of a queue for which dynamic buffer adjustment is enabled is 320 cells. The size of a cell is 128 bytes.

This command is available only on the following switch models:

S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S

Format

qos dynamic-buffer max-maximum max-maximum

undo qos dynamic-buffer max-maximum

Parameters

Parameter

Description

Value

max-maximum

Specifies the maximum buffer size of a queue for which dynamic buffer adjustment is enabled.

The value is an integer in the range from 10 to 3500, in cells. The size of a cell is 128 bytes.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If congestion occurs, the switch uses the tail drop method. When the queue length reaches the upper limit, excess packets (buffered at the queue tail) are discarded until congestion is removed. You can run the qos dynamic-buffer enable command to enable dynamic queue buffer adjustment. This ensures that a queue has sufficient buffer space, preventing packets from being discarded. You can run the qos dynamic-buffer max-maximum command to configure the maximum buffer size of a queue for which dynamic buffer adjustment is enabled.

Precautions

This command takes effect only after the qos dynamic-buffer enable command is run to enable dynamic queue buffer adjustment.

Example

# Set the maximum buffer size of a queue for which dynamic buffer adjustment is enabled to 100, in cells.

<HUAWEI> system-view
[HUAWEI] qos dynamic-buffer max-maximum 100 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >