< Home

display stack-port load-balance

Function

The display stack-port load-balance command displays the load balancing modes of stack ports.

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 support this command.

Format

display stack-port { global load-balance | load-balance [ slot-id/port-id ] }

Parameters

Parameter

Description

Value

slot-id

Specifies the stack ID of a member switch.

The value is an integer that ranges from 0 to 8.

port-id

Specifies the ID of a stack port.

The value is 1 or 2.

global

Displays the global load balancing mode.

NOTE:

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 only support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display stack-port load-balance command to check the load balancing modes of stack ports and then locate data transmission failures between stack links.

Example

# Display the load balancing modes of stack ports.

<HUAWEI> display stack-port load-balance
Global load balance mode: ENHANCED                                              
Stack-port0/1 load balance mode: ENHANCED                             
Stack-port0/2 load balance mode: ENHANCED                             
Stack-port1/1 load balance mode: DST-MAC                              
Stack-port1/2 load balance mode: SRC-MAC                              
Stack-port2/1 load balance mode: DST-IP                               
Stack-port2/2 load balance mode: SRC-DST-IP
Table 1 Description of the display stack-port load-balance command output

Item

Description

Global load balance mode

Global load balancing mode:
  • DST-IP: performs load balancing based on destination IP addresses.

  • DST-MAC: performs load balancing based on destination MAC addresses.

  • SRC-IP: performs load balancing based on source IP addresses.

  • SRC-MAC: performs load balancing based on source MAC addresses.

  • SRC-DST-IP: performs load balancing based on the Exclusive-OR result of source and destination IP addresses.

  • SRC-DST-MAC: performs load balancing based on the Exclusive-OR result of source and destination MAC addresses.

  • ENHANCED: enhanced load balancing mode.

To set the global load balancing mode, run the stack-port load-balance mode command in the system view.

Stack-port0/1 load balance mode

Stack-port0/2 load balance mode

Stack-port1/1 load balance mode

Stack-port1/2 load balance mode

Stack-port2/1 load balance mode

Stack-port2/2 load balance mode

Load balancing mode of a stack port:
  • DST-IP: performs load balancing based on destination IP addresses.

  • DST-MAC: performs load balancing based on destination MAC addresses.

  • SRC-IP: performs load balancing based on source IP addresses.

  • SRC-MAC: performs load balancing based on source MAC addresses.

  • SRC-DST-IP: performs load balancing based on the Exclusive-OR result of source and destination IP addresses.

  • SRC-DST-MAC: performs load balancing based on the Exclusive-OR result of source and destination MAC addresses.

  • ENHANCED: enhanced load balancing mode.

To set the load balancing mode for a stack port, run the stack-port load-balance mode command in the stack port view.

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