Configurable LAG Hash Algorithm
© Copyright Lenovo 2016
Traffic in a LAG is statistically distributed among member ports using a hash
process where various address and attribute bits from each transmitted frame are
recombined to specify the particular LAG port the frame will use.
The switch can be configured to use a variety of hashing options. To achieve the
most even traffic distribution, select options that exhibit a wide range of values for
your particular network. Avoid hashing on information that is not usually present
in the expected traffic, or which does not vary.
The G8264 supports the following hashing options:
Layer 2 source MAC address:
RS G8264(config)# portchannel thash l2thash l2sourcemacaddress
Layer 2 destination MAC address:
RS G8264(config)# portchannel thash l2thash l2destinationmacaddress
Layer 2 source and destination MAC address:
RS G8264(config)# portchannel thash l2thash l2sourcedestinationmac
Layer 3 IPv4/IPv6 source IP address:
RS G8264(config)# portchannel thash l3thash l3sourceipaddress
Layer 3 IPv4/IPv6 destination IP address:
RS G8264(config)# portchannel thash l3thash l3destinationipaddress
Layer 3 source and destination IPv4/IPv6 address (the default):
RS G8264(config)# portchannel thash l3thash l3sourcedestinationip
Layer 2 hash configuration:
RS G8264(config)# portchannel thash l3thash l3usel2hash
Layer 4 port hash
RS G8264(config)# portchannel thash l4port
Ingress port hash
RS G8264(config)# portchannel thash ingress
Chapter 10: Ports and Link Aggregation
185