< Home

Configuring a Load Balancing Mode for Stack Links

Context

In service port stacking, multiple stack links exist between member switches when a logical stack port created by bundling multiple stack member ports. You can configure a load balancing mode for stack links to prevent traffic congestion by ensuring that outgoing traffic is properly distributed to multiple stack links. Configure a load balancing mode in the system view or logical stack port view based on the source IP address, destination IP address, source MAC address, destination MAC address carried in packets, or a combination of these factors.
  • The load balancing mode configured in the system view applies to all logical stack ports.

  • The load balancing mode configured in the logical stack port view applies to that port only.

  • A logical stack port gives preference to the load balancing mode configured in the logical stack port view. If no load balancing mode is configured in the logical stack port view, the port uses the mode configured in the system view.

Procedure

  • Configure a global load balancing mode.
    1. Run the system-view command to enter the system view.
    2. Run the stack-port load-balance mode { dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac } command to configure a global load balancing mode.

      By default, the global load balancing mode is the enhanced mode.

  • Configure a load balancing mode on a logical stack port.
    1. Run the system-view command to enter the system view.
    2. Run the interface stack-port member-id/port-id command to enter the logical stack port view.
    3. Run the stack-port load-balance mode { dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac } command to configure a load balancing mode for the logical stack port.

      By default, the load balancing mode of a logical stack port is the enhanced mode.

Verifying the Configuration

  • Run the display stack-port global load-balance or display stack-port load-balance command to the view the load balancing mode on a logical stack port.

    Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S series switches support load balancing for stack links.

    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, this command can only be configured in the system view.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >