qos user-queue burst-size

Function

The qos user-queue burst-size bytes command configures the minimum default burst size and period on a board.

The undo qos user-queue burst-size bytes command cancels the minimum default burst size and period on a board.

By default, the minimum default burst size and period on a board are not configured.

Format

qos user-queue burst-size bytes min-bytes time burst-time

undo qos user-queue burst-size

Parameters

Parameter Description Value
time burst-time

Specifies a burst period.

The value is an integer ranging from 100 to 100000, in us.

bytes min-bytes

Specifies a minimum default burst size.

The value is an integer ranging from 1000 to 1000000, in byte.

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To configure the minimum default burst size and period on a board, run the qos user-queue burst-size bytes command. The CBS and PBS values can be calculated accordingly.

The CBS and PBS values are calculated based on the CIR and PIR configured using the user-queue command.

Precautions

The PBS is calculated as follows:

  1. If the PBS is configured, the configured one is delivered.
  2. If the PBS is not configured:
  • If this command is run, PBS = Max (bytes-value, Bandwidth x time-value/8000).
  • If this command is not run: if the bandwidth is less than 25 Mbit/s in the downstream direction, PBS = Bandwidth x 3500/8000. In other cases, PBS = Bandwidth x 10000/8000.

Example

# Set the minimum default burst size and period to 8000 bytes and 5 ms, respectively, on the board in slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] qos user-queue burst-size bytes 8000 time 5000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >