06-13-2013 07:17 AM - edited 03-07-2019 01:52 PM
Hello!
I can not find a good description on what the option "rotate" really does for port-channel load-balance in N7k. Can someone explain this?
Solved! Go to Solution.
06-13-2013 07:26 AM
Hi,
here are all the options.
Destination MAC address
•Source MAC address
•Source and destination MAC address
•Destination IP address
•Source IP address
•Source and destination IP address
•Source TCP/UDP port number
•Destination TCP/UDP port number
•Source and destination TCP/UDP port number
HTH
06-13-2013 07:26 AM
Hi,
here are all the options.
Destination MAC address
•Source MAC address
•Source and destination MAC address
•Destination IP address
•Source IP address
•Source and destination IP address
•Source TCP/UDP port number
•Destination TCP/UDP port number
•Source and destination TCP/UDP port number
HTH
06-13-2013 07:38 AM
Yep those are the load balancing options you have but added to that you can have another option which is "rotate ". Here is some output from the switch:
HK-N7k-1(config)# port-channel load-balance src-dst ip-l4port-vlan ?
fex FEX devices
module Specify a module number
rotate Offset the hash-input
HK-N7k-1(config)# port-channel load-balance src-dst ip-l4port-vlan rotate ?
<0-15> Offset the hash-input
It's the option in bold I'm interested in. I can not find any good info on what it does/is for.PS: I clocked correct answer by mistake on your answer Reza.
08-04-2016 01:48 AM
Hi,
got the same question and found this explanation for the Nexus 9000 (which is possibly transferrable in parts to the Nexus 7000):
The rotate option causes the hash algorithm to rotate the link picking selection so that it does not continually choose the same link across all nodes in the network. It does so by influencing the bit pattern for the hash algorithm. This option shifts the flow from one link to another and load balances the already load-balanced (polarized) traffic from the first ECMP level across multiple links.
12-06-2022 02:06 PM
the number to use is an option between 0 and 64, how to select the right number?
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