03-23-2012 09:46 PM - edited 03-07-2019 05:45 AM
Hi everybody
If we configure ( switch)# port-channel load-balance src-dst-ip
and we have:
src ip 199.199.199.1
dst ip 199.199.199.2
1 binary 001
2 binary 010
001
010
------ XOR
011
Which means link 3 will be selected in etherchannel to send the packet.
Now let say we have a switch with 8 ports bundled as etherchanel and we configure the following:
sw(config) port-channel load-balance src-ip
Let say src ip is 199.199.199.1
How is XOR operation performed in above case considering we have one input ( i.e src ip) for XOR operation ?
thanks and have a great weekend
Solved! Go to Solution.
03-24-2012 02:52 AM
Hi Sarah,
the hashing mechanism on Cisco switches is far more complicated than XOR.... morevoer its implemantation differs across different platform.
Bottom line the hashing being used is Cisco proprietary and cannot be disclosed, sorry.
Riccardo
03-24-2012 10:01 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
You might find of interest:
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094646.shtml
The sup2t offers improved etherchannel hashing; an 8 bit hash.
03-24-2012 02:52 AM
Hi Sarah,
the hashing mechanism on Cisco switches is far more complicated than XOR.... morevoer its implemantation differs across different platform.
Bottom line the hashing being used is Cisco proprietary and cannot be disclosed, sorry.
Riccardo
03-24-2012 10:01 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
You might find of interest:
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094646.shtml
The sup2t offers improved etherchannel hashing; an 8 bit hash.
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