sub-port-queue outbound

Function

The sub-port-queue outbound command applies a sub-interface queue profile to an interface.

The undo sub-port-queue outbound command deletes a sub-interface queue profile from an interface.

By default, no sub-interface queue profile is applied to an interface.

Format

sub-port-queue sub-port-queue-name outbound [ group group-name ]

undo sub-port-queue [ sub-port-queue-name ] outbound [ group group-name ]

Parameters

Parameter Description Value
group group-name

Specifies the name of a group to which scheduling queues are allocated.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

sub-port-queue sub-port-queue-name

Specifies the name of a sub-interface queue.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

25GE interface view, 400GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE sub-interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

In HQoS, multiple user groups can access an interface or sub-interface. You can bind a sub-interface queue profile to the interface or sub-interface to allocate scheduling queues to these user groups.

As user services develop and user groups increase, the traffic rate of the upstream device may exceed the capability of the downstream device, causing bandwidth insufficiency and network congestion. To resolve this problem, apply a sub-interface queue profile created using the sub-port-queue command to modify the default sub-interface queue bandwidth for all user group queues.

Inter-sub-interface users with the same sub-interface queue profile name and group name share the same user scheduling queue.

A group can be used for different sub-interface views, but not for sub-interfaces on different physical interfaces, to share a sub-interface queue.

Example

# Apply a sub-interface queue profile named aa to the outgoing traffic on GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] sub-port-queue aa
[*HUAWEI-sub-port-queue-aa] commit
[~HUAWEI-sub-port-queue-aa] quit
[~HUAWEI] interface GigabitEthernet0/1/0.1
[~HUAWEI-GigabitEthernet0/1/0.1] sub-port-queue aa outbound group g1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >