least active-bandwidth

Function

The least active-bandwidth command configures the minimum bandwidth for the member links that are Up on an Eth-Trunk interface.

The undo least active-bandwidth command restores the default minimum bandwidth configured for the member links that are Up on an Eth-Trunk interface.

By default, no minimum bandwidth is configured for the member links that are Up on an Eth-Trunk interface.

Format

least active-bandwidth bandwidth

undo least active-bandwidth

undo least active-bandwidth bandwidth

Parameters

Parameter Description Value
bandwidth

Specifies the minimum bandwidth of the member links that are Up on an Eth-Trunk interface.

The value is an integer ranging from 1 to 4294967295, in Mbit/s.

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
trunk write

Usage Guidelines

Usage Scenario

The bandwidth of an Eth-Trunk interface equals the total bandwidth of all member links that are Up. To ensure proper traffic forwarding, you can run the least active-bandwidth bandwidth command to configure the minimum bandwidth for the member links that are Up on an Eth-Trunk interface. After the minimum bandwidth is configured, the Eth-Trunk interface is Up only when the total bandwidth of all member links that are Up is greater than or equal to the minimum bandwidth.

Prerequisites

An Eth-Trunk interface has been correctly configured.

The least active-linknumber link-number command has not been run because it is mutually exclusive with the least active-bandwidth bandwidth command.

Configuration Impact

After the minimum bandwidth for the member links that are Up on an Eth-Trunk interface is configured:

  • The Eth-Trunk interface is Down when the total bandwidth of all member links that are Up is less than the minimum bandwidth.
  • The Eth-Trunk interface is Up when the total bandwidth of all member links that are Up is greater than or equal to the minimum bandwidth.

Precautions

The minimum bandwidth configured for both ends of an Eth-Trunk must be the same to prevent the Eth-Trunk interface from flapping.After the minimum bandwidth is configured for the member links that are Up on an Eth-Trunk interface, do not run the max active-linknumber link-number command to configure the maximum number of active links. That is because the Eth-Trunk interface will go Down if the total bandwidth of the maximum number of active links is less than the minimum bandwidth.

Example

# Set the minimum bandwidth to 3 Mbit/s for the member links that are Up on interface Eth-Trunk 1.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] least active-bandwidth 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >