08-23-2017 03:37 PM - edited 03-08-2019 11:48 AM
Say you are load balancing across the port members of an EtherChannel based on source MACs. Does it actually use multiple interfaces at the same time? Or does it treat it all as one port and pick an interface to use for each frame?
Solved! Go to Solution.
08-24-2017 10:01 AM - edited 08-24-2017 12:23 PM
You mean does it act as though it is a single interface or does it in effect see all the individual interfaces in the port channel ?
My understanding is that if there are multiple flows it can indeed use multiple links at the same time but for a single flow it can only use one of the links.
I have always viewed etherchannel as more about redundancy than throughput to be honest but it does do that as well.
Jon
08-24-2017 10:32 AM
08-23-2017 06:27 PM
Hi
You can end up with traffic all on one link using mac lb, you need to test the etherchannel when you create it check the flow of traffic on the individual members with the test etherchannel command , i find best LB is src-dst-port in our envirnoment anyway using equal links like 2 or 4 ,not 3
It definitly doesnt just work link to link like that , you need to check it fully when setup and test it whats working best for you
It can also vary on switch to switch how exactly it works
https://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/12023-4.html
There is some good docs on this forum written on just the oload balancing
08-23-2017 10:58 PM
"EtherChannel frame distribution uses a Cisco-proprietary hashing algorithm. The algorithm is deterministic; if you use the same addresses and session information, you always hash to the same port in the channel. This method prevents out-of-order packet delivery."
"For example, if the traffic on a channel only goes to a single MAC address, use of the destination MAC address results in the choice of the same link in the channel each time. Use of source addresses or IP addresses can result in a better load balance."
Quotes from the first link provided by Mark. Thought I put it here, I think it's a key topic that all should know about. I usually go with load balancing by IP since there usually is a default gateway in the network.
08-24-2017 07:26 AM
"EtherChannel frame distribution uses a Cisco-proprietary hashing algorithm. The algorithm is deterministic; if you use the same addresses and session information, you always hash to the same port in the channel. This method prevents out-of-order packet delivery."
So I get that concept. The concept I am talking about is if the port members are all handling frames at the exact same time. (I forgot the term for this.. virtual circuits?)
Those calculator things are hosts, lol. Basically the idea that if the switch isn't flooding frames, it can facilitate multiple unicast conversations at the same time. My question is if the switch views the entire EtherChannel bundle as one port, can it hold multiple unicast conversations on it's port members at the same time? Or does it just hash a frame, figure out the corresponding port member, send the frame, rinse and repeat? If the latter is the case, then I can't possibly see how it increases throughput. It would only be useful for redundant links.
08-24-2017 10:01 AM - edited 08-24-2017 12:23 PM
You mean does it act as though it is a single interface or does it in effect see all the individual interfaces in the port channel ?
My understanding is that if there are multiple flows it can indeed use multiple links at the same time but for a single flow it can only use one of the links.
I have always viewed etherchannel as more about redundancy than throughput to be honest but it does do that as well.
Jon
08-24-2017 10:16 AM
08-24-2017 12:46 PM
That is what I needed to know! Thank you for clarifying. It would be cool to see a NetFlow for an EtherChannel bundle to see if it actually achieves higher throughput.
Might be able to get you that my core campus is VSS core/dist collapsed design with etherchannels back to every other access switch there monitored too and i think i have filers still in other regions that are dual link lacp to 6500 cores and being monitored too through netflow that havent been migrated to DC nexus kit yet , im back in office Monday il take a look
08-24-2017 12:54 PM
08-24-2017 10:32 AM
08-24-2017 10:37 AM
08-25-2017 03:15 AM
08-24-2017 10:23 AM
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