Configuring LAG Hash

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.

OPBNOS uses the CRC2 for NVIDIA ASIC and CRC32_LO for Broadcom ASIC for load-balancing traffic across a port channel.

Reference

Command

lag-hash seed <int seed_value>

Description

seed value 0 - 4294967295

Parameters

integer seed value

Mode

CONFIG

pbnoscli# configure terminal 
pbnoscli(config)# lag-hash 
  seed                  seed configuration
pbnoscli(config)# lag-hash seed 
  <seed_val>            seed value 0..4294967295
pbnoscli(config)# lag-hash seed 429496723
pbnoscli(config)# 

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#