114 RackSwitch G8000: Application Guide
Configurable Trunk Hash Algorithm
Traffic in a trunk group 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 trunk 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 G8000 supports the following hashing options, which can be used in any
combination:
•
Frame MAC and IP information. One of the following combinations is required:
– Source MAC address (smac)
– Destination MAC address (dmac)
– Both source and destination MAC address
– IPv4/IPv6 source IP address (sip)
– IPv4/IPv6 destination IP address (dip)
– Both source and destination IPv4/IPv6 address (enabled by default)
•
Ingress port number (disabled by default)
•
Layer 4 port information (disabled by default)
When enabled, Layer 4 port information (TCP, UPD, etc.) is added to the hash if
available. The
L4port
option is ignored when Layer 4 information is not included in
the packet (such as for Layer 2 packets).
RS G8000(config)# portchannel hash source-mac-address
RS G8000(config)# portchannel hash destination-mac-address
RS G8000(config)# portchannel hash source-destination-mac
RS G8000(config)# portchannel hash source-ip-address
RS G8000(config)# portchannel hash destination-ip-address
RS G8000(config)# portchannel hash source-destination-ip
RS G8000(config)#
portchannel hash ingress
RS G8000(config)# portchannel hash L4port