qos default user-queue

Function

The qos default user-queue outbound command modifies the default user queue scheduling parameters.

The undo qos default user-queue outbound command cancels the new user queue scheduling parameters.

By default, the default user queue scheduling parameters are used.

Format

qos default user-queue { cir cir-value | cbs cbs-value | pir pir-value | pbs pbs-value | weight weight-value } * outbound

undo qos default user-queue outbound

Parameters

Parameter Description Value
cir cir-value

Specifies the CIR.

The value can be 0 or an integer ranging from 16 to 4294967294, in kbit/s. The minimum CIR that can be configured is 0 kbit/s. The default CIR is 10000 kbit/s.

cbs cbs-value

Specifies the CBS.

The value is an integer ranging from 1 to 4194304, in bytes. By default, the value complies with the following formula: cbs-value (byte) = cir-value (kbit/s) x 10 (ms)/8.

pir pir-value

Specifies the PIR.

The value can be 0 or an integer ranging from 16 to 4294967294, in kbit/s. The minimum value of the PIR can be set to the specified value of the CIR.

  • If no CIR is configured, the minimum PIR that can be configured is 10000 kbit/s.
  • If the configured CIR is not 0, the minimum PIR that can be configured is the specified CIR.
  • If the configured CIR is 0, the minimum PIR that can be configured is 0 kbit/s.

    The default PIR is the interface bandwidth.

pbs pbs-value

Specifies the PBS.

The value is an integer ranging from 1 to 4194304, in bytes. By default, the value complies with the following formula: pbs-value (byte) = pir-value (kbit/s) x 10 (ms)/8.

weight weight-value

Specifies the weight value.

The value is an integer ranging from 1 to 63.

outbound

Indicates outgoing packets.

-

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

On the CR5D0EFGFE70/CR5D0L5XFE70/CR5D0L2XFE70/CR5DL2XEFG7E/CR5D0L5XFA7E/CR5D0L5XFE71/CR5DLAXFAJ7E , the default weight of an SQ is 64. On the other boards or subcards, the default weight of an SQ is 10.

For example, a main interface has three sub-interfaces.

  • On sub-interface 1, HQoS is not configured, and common QoS is applied to traffic.
  • On sub-interface 2, three QoS profiles are configured, with a user-queue command being configured in each profile. To be specific, HQoS is configured for three SQs on sub-interface 2.
  • On sub-interface 3, one QoS profile is configured, with a user-queue command being configured in the profile. To be specific, HQoS is configured for one SQ on sub-interface 3.

    In this case, the scheduling weight rate of the three sub-interfaces is as follows: sub-interface 1:sub-interface 2:sub-interface 3 = 64:30:10.

    In multi-VS scenarios, after this command is configured on a trunk main interface, the command configuration is also effective for the trunk sub-interfaces that reside in other VSs.

Example

# Set the CIR to 20000 kbit/s, PIR to 30000 kbit/s, CBS to 300 bytes, PBS to 400 bytes, and weight value to 12 on a GE-Trunk interface.
<HUAWEI> system-view
[~HUAWEI] interface Eth-Trunk 1
[~HUAWEI-Eth-Trunk1] quit
[~HUAWEI] interface GigabitEthernet0/1/0
[~HUAWEI-GigabitEthernet0/1/0] eth-trunk 1
[~HUAWEI-GigabitEthernet0/1/0-eth-trunk 1] qos default user-queue cir 20000 cbs 300 pir 30000 pbs 400 weight 12 outbound
# Set the CIR to 20000 kbit/s, PIR to 30000 kbit/s, CBS to 33 bytes, PBS to 44 bytes, and weight value to 23 on a GE interface.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/0
[~HUAWEI-GigabitEthernet0/1/0] qos default user-queue cir 20000 cbs 33 pir 30000 pbs 44 weight 23 outbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >