Interfaces | 491
• IP destination address
• Protocol type
• TCP/UDP source port
• TCP/UDP destination port
Balancing may be applied to IPv4, switched IPv6, and non-IP traffic. For these traffic types, the
IP-header-based hash and MAC-based hash may be applied to packets by using the following methods.
On the E-Series, to change the 5-tuple default to 3-tuple, MAC, or packet-based, use the following
command in CONFIGURATION mode:
For details on the
load-balance command, see the IP Routing chapter of the FTOS Command Reference.
To distribute IP traffic over an E-Series port channel member, FTOS uses the 5-tuple IP default. The
5-tuple and the 3-tuple hash use the following keys:
Table 23-3. Hash Methods as Applied to Port Channel Types
Hash (Header Based)
Layer 2
Port Channel
Layer 3
Port Channel
5-tuple
XX
3-tuple
XX
Packet-based
XX
MAC source address (SA) and destination address (DA)
X
Command Syntax Command Mode Purpose
[no] load-balance [ip-selection
{3-tuple | packet-based}] [mac]
CONFIGURATION To designate a method to balance traffic over a port
channel. By default, IP 5-tuple is used to distribute
traffic over members port channel.
ip-selection 3-tuple—Distribute IP traffic based on IP
source address, IP destination address, and IP protocol type.
ip-selection packet-based—Distribute IPV4 traffic based
on the IP Identification field in the IPV4 header.
mac—Distribute traffic based on the MAC source address,
and the MAC destination address.
See Table 23-1 for more information.
Table 23-4. 5-tuple and 3-tuple Keys
Keys 5-tuple 3-tuple
IP source address (lower 32 bits)
XX
IP destination address (lower 32 bits)
XX
Protocol type
XX