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.
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. |
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.<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