This topic describes Equal-Cost Multi-Path (ECMP) hashing support for load balancing on the Cisco 8000 Series Router, which uses an n-tuple hash algorithm to distribute traffic across multiple equal-cost paths.
The system inherently supports the n-tuple hash algorithm. The first inner header in the n-tuple hashing includes the source port and the destination port of UDP or TCP protocol headers.
The load balancing performs these functions:
-
Incoming data traffic is distributed over multiple equal-cost connections.
-
Incoming data traffic is distributed over multiple equal-cost connections member links within a bundle interface.
-
Layer 2 bundle and Layer 3 (network layer) load-balancing decisions are taken on IPv4 and IPv6. If it is an IPv4 or an IPv6 payload, then an n-tuple hashing is done.
-
An n-tuple hash algorithm provides more granular load balancing and is used for load balancing over multiple equal-cost Layer 3 (network layer) paths. The Layer 3 (network layer) path is on a physical interface or on a bundle interface.
The n-tuple load-balance hash calculation contains:
Source IP address
Destination IP address
IP protocol type
Router ID
Source port
Destination port
Input interface
Flow-label (for IPv6 only)