< Home

display eth-trunk load-balance

Function

The display eth-trunk load-balance command displays the load balancing mode of an Eth-Trunk.

Format

display eth-trunk [ trunk-id ] load-balance

Parameters

Parameter Description Value

trunk-id

Displays the load balancing mode of a specified Eth-Trunk. trunk-id specifies the ID of the Eth-Trunk.

The value is an integer. The value varies according to device model:
  • S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, and S5720-SI: 0-119
  • S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S: 0-127
  • S5730-SI, S5730S-EI, S6720-SI, S6720S-SI, S6720-LI, S6720S-LI: 0-249

On the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI, you can run the assign trunk command to set the value, and run the display trunk configuration command to check the configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the load balancing mode of an Eth-Trunk is configured, you can run this command to view the load balancing mode of the Eth-Trunk. If trunk-id is not specified, the load balancing modes of all Eth-Trunks are displayed.

Example

# Display the load balancing mode of Eth-Trunk 1.

<HUAWEI> display eth-trunk 1 load-balance
Eth-Trunk1's load-balance information:
 Load-balance Configuration: SIP-XOR-DIP
 Load-balance options used per-protocol:
  L2  : Source XOR Destination MAC address, Vlan ID, Ethertype, Ingress-port
  IPv4: Source XOR Destination IP address, Source XOR Destination TCP/UDP port
  IPv6: Source XOR Destination IP address, Source XOR Destination TCP/UDP port
  MPLS: Source XOR Destination IP address, Source XOR Destination TCP/UDP port
Table 1 Description of the display eth-trunk load-balance command output

Item

Description

Load-balance Configuration

Configured load balancing mode. The options are as follows:

  • SIP: Eth-Trunk load balancing based on source IP addresses.
  • DIP: Eth-Trunk load balancing based on destination IP addresses.
  • SIP-XOR-DIP: Eth-Trunk load balancing based on source and destination IP addresses.
  • SA: Eth-Trunk load balancing based on source MAC addresses.
  • DA: Eth-Trunk load balancing based on destination MAC addresses.
  • SA-XOR-DA: Eth-Trunk load balancing based on source and destination MAC addresses.
  • ENHANCED: Enhanced Eth-Trunk load balancing.

The S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI use the src-dst-ip, source TCP or UDP port number, and destination TCP or UDP port number in the hash algorithm for load balancing regardless of whether you configure this parameter.

Unicast load-balance enhanced mode

NOTE:

This information is displayed only when the load balancing mode is set to ENHANCED.

Whether traffic is load balanced based on the inner IP address, outer IP address, or both.

  • outer: Traffic is load balanced based on the outer IP address.
  • inner: Traffic is load balanced based on the inner IP address.
  • inner and outer: Traffic is load balanced based on both the inner and outer IP addresses.

Load-balance enhanced profile

NOTE:

This information is displayed only when the load balancing mode is set to ENHANCED.

Name of a load balancing profile.

Load-balance options used per-protocol

Load balancing parameters of different types of packets.

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