< Home

display load-balance mode

Function

The display load-balance mode command displays the load balancing mode on a switch.

Format

display load-balance mode [ packet | flow | slot slot-number ]

Parameters

Parameter Description Value

packet

Displays information about the switch adopting the per packet load balancing mode.

-

flow

Displays information about the switch adopting the per flow load balancing mode.

-

slot slot-number

Specifies the ID of a slot. After the slot ID is specified, the load balancing mode on a specified switch is displayed.

The value is an integer. It has a fixed value of 0 in a non-stack scenario, and depends on the device configuration in a stack scenario.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Using the display load-balance mode packet or the display load-balance mode flow command displays information about the switch adopting the specified load balancing mode.

The display load-balance mode slot slot-number command displays the load balancing mode on a specified switch.

If neither the slot ID nor load balancing mode is specified in the display load-balance mode command, by default, load balancing mode on the switch is displayed.

Example

# Display the load balancing modes on the switch.

<HUAWEI> display load-balance mode
load-balance flow slot 0
Table 1 Description of the display load-balance mode command output

Item

Description

load-balance

Load balancing mode:

  • packet: per packet load balancing

  • flow: per flow load balancing

slot

Slot ID.

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