03-23-2025 12:00 PM
Hi,
Could anyone explain the difference between fixed hash-distribution and resilient hashing please. Based on the cisco documents I understand both as if a link is down, they just rehash the traffic on that link not others. How are they different then?
I just have seen this:
Resilient Hashing
With the exponential increase in the number of physical links used in data centers, there is also the potential for an increase in the number of failed physical links.
In static hashing systems that are used for load balancing flows across members of port channels or Equal Cost Multipath (ECMP) groups, each flow is hashed to a link.
If a link fails, all flows are rehashed across the remaining working links.
This rehashing of flows to links results in some packets being delivered out of order even for those flows that were not hashed to the failed link.
Configuring Port Channel Hash Distribution
Cisco NX-OS supports the adaptive and fixed hash distribution configuration for both global and port-channel levels.
This option minimizes traffic disruption by minimizing Result Bundle Hash (RBH) distribution changes when members come up or go down so that flows that are mapped to unchange RBH values continue to flow through the same links.
03-23-2025 12:20 PM
Hello @elahe
Fixed Hash distribution involves rehashing all flows upon a link failure—potentially causing widespread packet reordering—Resilient Hashing confines rehashing to only those flows affected by the failure, thereby maintaining greater overall trafic stability.
https://learningnetwork.cisco.com/s/question/0D53i00000Ksr1BCAR/portchannel-resilient-rehashing
03-23-2025 08:33 PM
Rehashing all the flows is adaptive hash distribution as I know. The fixed option makes it to rehash only flows on the failed link. Am I making mistake? If fixed mode rehash them all, what does adaptive mode do?
prot-channel load-balance hash-dis [adaptive/fixed]
03-23-2025 11:31 PM
Hello @elahe
To go straight, fixed hash distrib and resilient hashing aim to maintain stability, while adaptive hash optimizes load balancing at the potential cost of packet reordering.
03-24-2025 04:33 AM
i test it its not work
03-24-2025 04:41 AM
Yes you're right but I need to know how they are different.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide