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.
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. |
- |
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.
# 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
Item |
Description |
---|---|
Global load balance mode |
Global 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:
To set the load balancing mode for a stack port, run the stack-port load-balance mode command in the stack port view. |