qos user-queue granularity

Function

The qos user-queue granularity command configures the user-queue bandwidth granularity for users who go online from a specified domain.

The undo qos user-queue granularity command restores the default user-queue bandwidth granularity for users who go online from a specified domain.

The default mappings between bandwidth ranges and granularities are listed in the table in Usage Scenario.

This command is supported only on the NetEngine 8000 F1A.

Format

qos user-queue granularity granularity-value

undo qos user-queue granularity granularity-value

Parameters

Parameter Description Value
granularity-value

Specifies a bandwidth granularity.

The value is an enumerated type and can be 1, 16, 32, 64, 128, 256, 512, or 1024, in kbit/s.

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To reduce user-queue bandwidth resource consumption on a device, default granularities are configured for different bandwidth ranges on the device, as shown in Table 1. For example, if the default granularity is 16 for the bandwidth range of 384–1024 kbit/s, traffic at the rate of 384–399 kbit/s must conform to 384 kbit/s, and traffic at the rate of 400–415 kbit/s must conform to 400 kbit/s.

To improve the rate limit precision, you can run the qos user-queue granularity command to configure the granularity for bandwidth ranges. The configured granularity takes effect as follows:

  • If the configured granularity is greater than the default granularity, the default granularity takes effect.
  • If the configured granularity is smaller than the default granularity, the configured granularity takes effect.

    For example, if the granularity is set to 64 using this command, the default granularity takes effect for the bandwidth of 0–4096, but the configured granularity 64 takes effect for the bandwidth of 4097–4294967295.

    **Table1 ** Default mappings between bandwidth ranges and default granularities
Bandwidth Range (kbit/s) Default Granularity (kbit/s)
0-383 1
384-1024 16
1025-2048 32
2049-4096 64
4097-8192 128
8193-16384 256
16385-32768 512
32769-4294967295 1024

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the user-queue bandwidth granularity to 128 for users in the test domain.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain test
[~HUAWEI-aaa-domain-test] qos user-queue granularity 128
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >