The load-distribution active-linknumber-change command configures the number of interfaces in an Eth-Trunk where load balancing calculation is performed.
The undo load-distribution active-linknumber-change command cancels the configuration.
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.
Only the S2720-EI, S5720-LI, S5720S-LI, S5720I-SI, S5720-SI, and S5720S-SI support this command.
load-distribution active-linknumber-change link-number1 to link-number2
undo load-distribution active-linknumber-change [ link-number1 ]
Parameter | Description | Value |
---|---|---|
link-number1 |
Specifies the number of active interfaces in an Eth-Trunk. |
The value is an integer that ranges from 2 to 7. |
link-number2 |
Specifies the number of interfaces in an Eth-Trunk where load balancing calculation is performed. |
The value is an integer that ranges from 3 to 8. NOTE:
When this command is used, link-number2 must be larger than link-number1. |
Usage Scenario
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 the load-distribution active-linknumber-change 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.
The load-distribution active-linknumber-change link-number1 to link-number2 command 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 load-distribution active-linknumber-change link-number1 to link-number2 command with the same value of link-number1 is configured, only the latest configuration takes effect.
Precautions
When an inter-device Eth-Trunk is configured in a 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.
This command is effective only for known unicast packets.