The LAG port hash-weight allows the customization of the flow hashing distribution between LAG ports by adjusting the weight of each port independently for both same-speed and mixed-speed LAGs.
The LAG port hash-weight capabilities combined with the support for additional mixed-speed LAG combinations as compared to port-weight-speed make the LAG port hash-weight a more flexible feature.
Common rules for LAG port hash-weight:
The configured hash-weight value per port is ignored until all the ports in the LAG have a hash-weight configured.
The hash-weight value can be set to port-speed or an integer value from 1 to 100000:
port-speed
This allows the operator to implicitly assign a hash-weight value based on the physical port speed.
1 to 100000
This value range allows for control of flow hashing distribution between LAG ports.
The LAG port hash-weight value is normalized internally to distribute flows between LAG ports. The minimum value returned by this normalization is 1.
The LAG port hash-weight defaults to the port-speed value when unconfigured.
The hash-weight values using port-speed per physical port types are shown in Table: Port types and speeds.
Port type | Port speed |
---|---|
FE port | port-speed value 1 |
1GE port | port-speed value 1 |
10GE port | port-speed value 10 |
40GE port | port-speed value 40 |
100GE port | port-speed value 100 |
400GE port | port-speed value 400 |
Other ports | port-speed value 1 |