The load-balance command sets the load balancing mode of the Eth-Trunk interface.
The undo load-balance command restores the default configurations.
| Parameter | Description | Value |
|---|---|---|
src-dst-ip |
Indicates the per-flow load balancing mode, in which the load is balanced by the source and destination IP addresses of the packets. |
- |
packet-all |
Indicates the per-packet load balancing mode, in which the load is balanced by packet. |
- |
For Eth-Trunk 65535, per-packet load balancing is used by default and only per-packet load balancing can be configured. For other interfaces, per-flow load balancing is used by default and per-packet load balancing can be configured.
Packet-by-packet load balancing can improve the bandwidth usage, but cannot guarantee the packet order. src-dst-ip load balancing can guarantee packet order but cannot improve bandwidth usage.