< Home

least active-linknumber

Function

The least active-linknumber command sets the lower threshold for the number of active interfaces in an Eth-Trunk.

The undo least active-linknumber command restores the default lower threshold for the number of active interfaces in an Eth-Trunk.

By default, the lower threshold for the number of active interfaces in an Eth-Trunk is 1.

Format

least active-linknumber link-number

undo least active-linknumber

Parameters

Parameter Description Value
link-number Specifies the lower threshold for the number of active interfaces in an Eth-Trunk.

The value is an integer that ranges from 1 to 32 on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S, 1 to 16 on the S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI, and 1 to 8 on other models.

On the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI, you can run the assign trunk command to set the value, and run the display trunk configuration command to check the configuration.

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The number of active interfaces in an Eth-Trunk affects the status and bandwidth of the Eth-Trunk. The bandwidth of an Eth-Trunk is equal to the total bandwidth of all member interfaces in Up state.

The number of Up member links affects the status and bandwidth of an Eth-Trunk. To ensure that the Eth-Trunk functions properly and is less affected by member link status changes, set the following thresholds.

  • Lower threshold for the number of active interfaces

    When the number of active interfaces falls below this threshold, the Eth-Trunk goes Down. This guarantees the Eth-Trunk a minimum available bandwidth.

    For example, if the Eth-Trunk is required to provide a minimum bandwidth of 2 Gbit/s and each member link's bandwidth is 1 Gbit/s, the lower threshold for the number of active interfaces must be set to 2 or larger.

  • Upper threshold for the number of active interfaces

    When the number of active interfaces reaches this threshold, the bandwidth of the Eth-Trunk will not increase even if more member links go Up. This guarantees higher network reliability.

    To set the upper threshold for the number of active interfaces, use the max active-linknumber command.

To delete the configured lower threshold or restore the default lower threshold, use the undo least active-linknumber or least active-linknumber 1 command.

Prerequisites

The Eth-Trunk has been correctly configured.

Precautions

If you run the least active-linknumber command multiple times, only the latest configuration takes effect.

After the upper threshold for the number of active interfaces is configured, the following situations may occur:

  • The Eth-Trunk goes Down when the number of active interfaces falls below the configured lower threshold.

  • The Eth-Trunk goes Up when the number of active interfaces reaches the configured lower threshold.

If the max active-linknumber command has been configured before you run the least active-linknumber command, ensure that the lower threshold for the number of active interface is less than or equal to the upper threshold for the number of active interfaces.

Example

# Set the lower threshold for the number of active interfaces to 3.

<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] least active-linknumber 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >