BLADEOS 6.5.2 Application Guide
106 Chapter 7: Ports and Trunking BMD00220, October 2010
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 G8124 supports the following hashing options:
Layer 2 source MAC address
Layer 2 destination MAC address
Layer 2 source and destination MAC address
Layer 3 IPv4/IPv6 source IP address
Layer 3 IPv4/IPv6 destination IP address
Layer 3 source and destination IPv4/IPv6 address (the default)
Note – Layer 3 hashing options (source IP address and destination IP address) enabled either for
port trunk hashing or for ECMP route hashing (ip route ecmphash) apply to both the trunking
and ECMP features (the enabled settings are cumulative). If trunk hashing behavior is not as
expected, disable any unwanted options set in ECMP route hashing. Likewise, if ECMP route
hashing behavior is not as expected, disable any unwanted options enabled in trunk hashing.
RS G8124(config)# portchannel hash source-mac-address
RS G8124(config)#
portchannel hash destination-mac-address
RS G8124(config)# portchannel hash source-destination-mac
RS G8124(config)#
portchannel hash source-ip-address
RS G8124(config)#
portchannel hash destination-ip-address
RS G8124(config)#
portchannel hash source-destination-ip