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:
The system view is displayed.
The Eth-Trunk interface view is displayed.
The lower threshold for the number of active interfaces is set.
By default, the lower threshold for the number of active interfaces is 1.
The lower threshold for the number of active interfaces on the local switch can be different from that on the remote switch. If the two values are different, the larger one is used.
The upper threshold for the number of active interfaces is set.
By default, the upper threshold for the number of active interfaces in an Eth-Trunk is 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, 16 on the S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI, and 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.
The upper thresholds on both ends must be the same; otherwise, the Eth-Trunk status flaps if an active interface fails.
The upper threshold for the number of active interfaces must be greater than or equal to the lower threshold for the number of active interfaces.
The number of interfaces in an Eth-Trunk where load balancing calculation is performed is configured.
By default, the number of interfaces in an Eth-Trunk where load balancing calculation is performed is the number of active interfaces of the device.
If the number of active interfaces is smaller than 8 and traffic on an Eth-Trunk is unevenly load balanced, you can run this command to increase the number of interfaces in the Eth-Trunk where load balancing calculation is performed so that traffic can be better load balanced among active links. Only the S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, and S5720-SI support this command.
You can also run the load-distribution active-linknumber-change link-number1 to link-number2 global command in the system view to specify the number of Eth-Trunk interfaces participating in load balancing calculation. If the number of Eth-Trunk interfaces participating in load balancing calculation is configured in both the system view and Eth-Trunk interface view, the configuration in the Eth-Trunk interface view takes effect.
The load-distribution active-linknumber-change link-number1 to link-number2 and load-distribution active-linknumber-change link-number1 to link-number2 global commands with different values of link-number1 can be configured repeatedly. When the number of active interfaces is the same as the value of link-number1, the configuration takes effect. If the commands with the same value of link-number1 is configured, only the latest configuration takes effect.
When an inter-device Eth-Trunk is configured in an iStack and the local-preference enable command is used to configure an Eth-Trunk to preferentially forward local traffic, the number of interfaces in the Eth-Trunk where load balancing calculation is performed is the number of active interfaces.