What Is the Calculation Method for Load Balancing of the Upstream Aggregation Ports of the MA5680T?

Issue Description

Q:
What is the calculation method for load balancing of the upstream aggregation

ports of the 5680T?

Alarm Information

Null

Handling Process

A:
In the egress-ingress mode: The XOR operation is performed for the lowest three bits of the

source MAC (SMAC) and the destination MAC (DMAC). A residual is obtained by dividing

the XOR result by the number of aggregation ports. The residual value indicates the egress ID.
Example:
SMAC: 0000-1111-aabb, binary numeral corresponding to the lower 1 byte bb: 10111011,

lower 3 bits: 011
DMAC: 0000-1111-ccdd, binary numeral corresponding to the lower 1 byte dd: 11011101,

lower 3 bits: 101
Two aggregation ports exist.
The calculation methods are as follows:
The XOR operation is performed between 011 and 101 (the bit is set to 1 when the

corresponding bits of two operands are different; otherwise, the bit is set to 0 in the following way):
0 1 1
1 0 1
——-
1 1 0
The calculation result is 110 and the corresponding decimal numeral is 6.
At last, the residual 0 is obtained by dividing 6 by 2, then port 0 serves as the egress.
In the ingress mode: A residual is obtained by dividing the lowest three bits of the source

MAC (SMAC) by the number of aggregation ports. The residual value indicates the egress ID.
Example:
SMAC: 0000-2222-abcd, binary numeral corresponding to the lower 1 byte cd: 11001101,

lower 3 bits: 101, corresponding decimal numeral: 5
If two aggregation ports exist, the residual 1 is obtained by dividing 5 by 2. Then, port 1

serves as the egress.

Root Cause

Null

Suggestions

Null

 

Categories:

Tags:

Comments are closed