qos default shaping

Function

The qos default shaping command sets default rate limiting parameters of VI (sub-interface queues) or GQ (user group queues).

The undo qos default shaping command cancels the set default rate limiting parameters of VI (sub-interface queues) or GQ (user group queues).

By default, default rate limiting parameters of VI (sub-interface queues) or GQ (user group queues) are not set.

Format

qos default { user-group-queue | sub-port-queue } shaping shaping-value [ pbs pbs-value ] outbound

undo qos default { user-group-queue | sub-port-queue } [ shaping shaping-value ] [ pbs pbs-value ] outbound

qos default user-group-queue shaping shaping-value [ pbs pbs-value ] outbound

undo qos default user-group-queue shaping shaping-value [ pbs pbs-value ] outbound

Parameters

Parameter Description Value
user-group-queue

Sets rate limiting parameters of GQ.

-

sub-port-queue

Sets rate limiting parameters of VI.

-

shaping-value

Specifies a shaping rate.

The value is an integer ranging from 66 to 4294967294, in bit/s.

pbs pbs-value

Specifies a peak burst size.

The value is an integer ranging from 64 to 2097152, in bytes.

outbound

Specifies the outbound direction.

-

Views

100GE interface view, 10GE interface view, 25GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, GE interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To set default rate limiting parameters of sub-interface queues or user group queues, run the qos default shaping command.

Example

# Set the default rate limit to 1 Mbit/s for the user group queue on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] qos default user-group-queue shaping 1000 pbs 10000 outbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >