Configurable hash weight to control flow distribution

The operator can use the LAG port hash-weight to further control the flow distribution between LAG ports.

This capability can be especially useful when LAG links on Nokia routers are rate limited by a 3rd party operator providing the connectivity between two sites as shown in the Figure: Same speed LAG with ports of different hash-weight:

Figure: Same speed LAG with ports of different hash-weight

In this context, the operator can configure the LAG to adapt the flow distribution between LAG ports according to the bandwidth restrictions on each port using customized hash-weight values as shown in the following configuration example:

A:Dut-A>config>lag# info
----------------------------------------------
        port 1/1/1 hash-weight 300
        port 1/1/2 hash-weight 500
        no shutdown
----------------------------------------------

The operator can also display the resulting flow-distribution between active LAG ports using the following show command:

A:Dut-A# show lag 3 flow-distribution
===============================================================================
Distribution of allocated flows
===============================================================================
Port                        Bandwidth (Gbps) Hash-weight  Flow-share (%)
-------------------------------------------------------------------------------
1/1/1                       10.000           300          37.50
1/1/2                       10.000           500          62.50
-------------------------------------------------------------------------------
Total operational bandwidth: 20.000
===============================================================================
Note: hash-weight and same-speed LAG: