08-29-2017 08:42 AM - edited 03-08-2019 11:52 AM
Hi,
I have 3 x Cisco 2960 switches connected to each other via PAgP EtherChannels. This works today.
I would like to add LACP EtherChannels to one of my 2960 switches to connect my VMWare ESXi (vSphere 6.5) host’s via teamed NICs. The current EtherChannel load-balance method configured on all my switches is src-mac. I would like to change this on the switch connected to the ESXi hosts to IP hash.
My questions as follows:
1) If I change the load-balance algorithm, will my PAgP EtherChannle connections be interrupted?
2) Do I need to change the load-balance method on all my switches to IP hash so that the PAgP EtherChannels all use the same algorithm?
3) Which load balance algorithm matches the ESXi IP hash? Is it src-dst-ip or src-ip?
Thanks!
Solved! Go to Solution.
09-22-2017 03:36 AM
Here is the missing piece:
For anyone else - below the config on the switch side:
Check and match the load balance algorithm on the switch with that of the NIC team (usually route based IP hash)
show etherchannel load-balance
conf t
int po1
switchport mode trunk
switchport trunk native vlan 1000
exit
int range gi0/1-2
shut
switchport mode trunk
switchport trunk native vlan 1000
channel-group 1 mode on
no shut
exit
Confirm with:
sh etherchannel summary
08-29-2017 09:05 AM
Hi,
If you use command "port-channel load-balance" it will change it for all your protocols including Pagp.
HTH
08-29-2017 09:16 AM
Hi,
When you change the load balance hash it affects or etherchannels in your switch
Here is a link to an example of Cisco to ESXi-VMWare
Hope this helps
08-29-2017 10:52 AM
Hello
1) If I change the load-balance algorithm, will my PAgP EtherChannel connections be interrupted?
The change will effect all etherchannels on the switch and I dont think you can change the hash values for the load-balancing and forwarding methods of the switch, but you can I guess change the ratio of the LB by having an old number of links in the PC instead of an even number of links.
2) Do I need to change the load-balance method on all my switches to IP hash so that the PAgP EtherChannels all use the same algorithm?h
You can have different LB methods on different switchs but not on the same switch and it all depend of the type of devices connecting to them and the type of traffic traversing them
3) Which load balance algorithm matches the ESXi IP hash? Is it src-dst-ip or src-ip?
ESXI ip hash I am not familiar with, but if this is just a single host, single mac or ip address or ip then scr-mac or scr-ip could be applicable.
Lastly you can have PAgP and LACP PC on the same switch, you just need to have the physical ports in each PC configured the same and able to support the link agregation protocol to accomplish connectivity
res
Paul
08-30-2017 12:27 AM
Thanks Alex, I am aware of those links - I understand that the load-balance algorith is global (per switch) - I was trying to find out what the impact would be on exiting EtherChannels (performance, time to reconverge etc.). I have received info on this lower down in the thread. Thanks again for you response.
08-29-2017 11:03 AM
08-30-2017 12:01 AM
Thank you Joseph for the clear response.
My biggest concearn was that changing the load-balancing method on one switch to accomodate the ESXi NIC team, might negatively affect the performance of the PAgP EtherChannels interconnecting the switches (as they will not match on all switches anymore). Again, thanks for the help!
09-07-2017 05:53 AM
Do you perhaps know if any specific configuration needs to be added to the physical interfaces in the NIC team? I was able to change the load balance alrorith without issue. The issue came in when adding the interfaces to the etherchannel. When I used LACP (mode active), the etherchannel will not come up. I then switched to static mode (mode on) - I managed to get the ether channel up, but it did not seem to come up on the ESXi side. Hence my question if these is anywhere else (e.g. physical interfaces) that I might have missed config? Thanks again!
09-22-2017 03:36 AM
Here is the missing piece:
For anyone else - below the config on the switch side:
Check and match the load balance algorithm on the switch with that of the NIC team (usually route based IP hash)
show etherchannel load-balance
conf t
int po1
switchport mode trunk
switchport trunk native vlan 1000
exit
int range gi0/1-2
shut
switchport mode trunk
switchport trunk native vlan 1000
channel-group 1 mode on
no shut
exit
Confirm with:
sh etherchannel summary
08-29-2017 11:11 AM
With Esxi host, you don't even need to configure any Portchannels. You can simply configure each uplink to the switch as trunk port and the server will do the load balancing and failover for you.
HTH
08-29-2017 11:54 PM
Hi Reza,
I believe an etherchannel is required to connect a single switch to teamed ESXi NICs. That is the reason for this thread as currently, MACs are flapping between the two ports (Gi0/6-7 are the interfaces that the teamed NICs are connected to):
%SW_MATM-4-MACFLAP_NOTIF: Host 000c.2974.51ba in vlan 37 is flapping between port Gi0/6 and port Gi0/7.
Thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: