Professional Documents
Culture Documents
Procedure
1. Check whether the characteristics of packets forwarded by the Eth-Trunk match the configured load balancing mode. If the
packet characteristics does not match the load balancing mode, for example, the MAC address of packets is variable but the
load balancing mode is src-ip, load balancing cannot be performed.
Perform the following steps:
a. Determine packet characteristics.
i. Determine the variable field of packets.
Check whether the MAC address, IP address, or MPLS label in packets changes.
ii. Determine the packet type.
Check whether packets are IP packets, MPLS packets, or Layer 2 packets.
iii. Determine the forwarding mode of packets.
The forwarding processes and the default hash algorithms are different for known and unknown unicast
packets.
NOTE:
If the destination MAC address of packets does not exist in the MAC address table, the packets are unknown
unicast packets.
b. Check the load balancing mode of the Eth-Trunk.
Check the load balancing mode of the Eth-Trunk based on the determined packet forwarding mode (known or
unknown unicast packets).
Check the load balancing mode of known unicast packets.
Run the display eth-trunk command to check the Hash arithmetic field. This field specifies the configured load
balancing mode. You can also run the display this command in the Eth-Trunk interface view.
<HUAWEI> display eth-trunk 1
display eth-trunk 1
Eth-Trunk1's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: down Number Of Up Port In Trunk: 0
------------------------------------------------------------------
PortName Status Weight
……
NOTE:
Load balancing parameters:
SIP indicates the source IP address; DIP indicates the destination IP address; SA indicates the source MAC
address; DA indicates the destination MAC address.
SIP-XOR-DIP indicates that the outbound interface is selected based on the Exclusive-OR result of source and
destination IP addresses.
SA-XOR-DA indicates that the outbound interface is selected based on the Exclusive-OR result of source and
destination MAC addresses.
ENHANCED indicates that a load balancing profile is applied and the outbound interface is selected based on
the load balancing mode specified in the profile.
If the load balancing mode is set to ENHANCED, check the load balancing mode specified in the profile.
There is only one global load balancing profile. This profile takes effect for both known and unknown unicast
packets, and uses different fields for calculation based on the packet type.
<HUAWEI> display load-balance-profile
Load-balance-profile: test //name of the load balancing profile
Packet HashField
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IPV4 sip dip
IPV6 sip dip
L2 smac dmac
MPLS top-label 2nd-label