LAG-Hash is used to describe the load-balancing algorithm used for distributing traffic across the links within a port channel. This algorithm plays a crucial role in determining the distribution of traffic evenly among the member links of the port channel.
APB uses the CRC2 for NVIDIA ASIC and CRC32_LO for Broadcom ASIC for load-balancing traffic across a port channel.
You can verify the configuration by using the command(s) below:
pbnoscli# show lag-hash config
===================================================
LAG Hash Parameters
===================================================
Hash Algorithm : CRC2
Symmetric Hash : Enabled
SEED Value : 429496723
pbnoscli#
Dynamic LAG Hash settings (NVIDIA)
This feature provides the support to configure the lag hash fields of outer and inner packet fields. This allows the user to choose the Load Balancing methods say only Inner 5-tuple / Inner 3-Tuple / Outer+Inner 5 Tuple.
This is a global configuration command which applies hash fields to all existing ethernet, port-channel and breakout interfaces.
Existing traffic will be modified according to the updated hash fields.
The system shall automatically update the existing LAG hash fields when new breakout interfaces are created
Remove LAG hash fields before creating a port-channel and reapply them afterward
Hash field configurations must be restored and applied correctly after save and reboot.