etherchannel

Etherchannel hashing


Note to self: how traffic is balanced in a Etherchannel link:



Number of Ports in the EtherChannelLoad Balancing
8
1:1:1:1:1:1:1:1
7
2:1:1:1:1:1:1
6
2:2:1:1:1:1
5
2:2:2:1:1
4
2:2:2:2
3
3:3:2
2
4:4

To change hashing algorithm:

port-channel load-balance {dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac}


LINK

Port channel notes


Note to self: apply load-balance method to portchannels before creating them:


SW1(config)#port-channel load-balance src-ip
Warning: Delete and re-create existing port channels to apply new load balance method to them

SW1#sh etherchannel load-balance
Po1 ---> Source XOR Destination IP address
Po2 ---> Source XOR Destination IP address
Po3 ---> Source XOR Destination IP address