Sample Configuration of EtherChannel - Link Aggregation Control Protocol...
Sample Configuration of EtherChannel - Link Aggregation Control Protocol...
Knowledge Base
Purpose
This article provides information on the concepts, limitations, and some sample configurations of link aggregation, NIC Teaming, Link
Aggregation Control Protocol (LACP), and EtherChannel connectivity between ESXi/ESX and Physical Network Switches, particularly for
Cisco and HP.
Resolution
Note: There are a number of requirements which need to be considered before implementing any form of link aggregation. For
more/related information on these requirements, see
Host requirements for link aggregation for ESXi and ESX (1001938) (/s/article/1001938?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
.
EtherChannel: This is a link aggregation (port trunking) method used to provide fault-tolerance and high-speed links between
switches, routers, and servers by grouping two to eight physical Ethernet links to create a logical Ethernet link with additional
failover links. For additional information on Cisco EtherChannel, see the
EtherChannel Introduction (http://www.cisco.com/en/US/tech/tk389/tk213/tsd_technology_support_protocol_home.html) by Cisco.
LACP or IEEE 802.3ad: The Link Aggregation Control Protocol (LACP) is included in IEEE specification as a method to control the
bundling of several physical ports together to form a single logical channel. LACP allows a network device to negotiate an
automatic bundling of links by sending LACP packets to the peer (directly connected device that also implements LACP). For more
information on LACP, see the
Link Aggregation Control Protocol whitepaper (http://www.cisco.com/en/US/docs/ios/12_2sb/feature/guide/gigeth.html) by Cisco.
https://kb.vmware.com/s/article/1004048 1/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
Note: LACP is only supported in vSphere 5.1, 5.5 and 6.0 using vSphere Distributed Switches (VDS) or the Cisco Nexus 1000v.
EtherChannel vs. 802.3ad: EtherChannel and IEEE 802.3ad standards are very similar and accomplish the same goal. There are
a few differences between the two, other than EtherChannel is Cisco proprietary and 802.3ad is an open standard.
For more information on EtherChannel implementation, see the
Understanding EtherChannel Load Balancing and Redundancy on Catalyst Switches
(http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml)
article from Cisco.
One IP to many IP connections. (Host A making two connection sessions to Host B and C)
Many IP to many IP connections. (Host A and B multiple connection sessions to Host C, D, etc)
Note: One IP to one IP connections over multiple NICs is not supported. (Host A one connection session to Host B uses only one
NIC).
Compatible with all ESXi/ESX VLAN configuration modes: VST, EST, and VGT. For more information on these modes, see
VLAN Configuration on Virtual Switch, Physical Switch, and Virtual Machines (1003806) (/s/article/1003806?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-
comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
.
Supported Cisco configuration: EtherChannel Mode ON – ( Enable EtherChannel only)
Supported HP configuration: Trunk Mode
Supported switch Aggregation algorithm: IP-SRC-DST (short for IP-Source-Destination)
Supported Virtual Switch NIC Teaming mode: IP HASH. However, see this note:
Note: The LACP support in vSphere Distributed Switch 5.1 supports only IP hash load balancing. In vSphere Distributed Switch 5.5
and later, all the load balancing algorithms of LACP are supported:
Lower model Cisco switches may have MAC-SRC-DST set by default, and may require additional configuration. For more
information, see the
Understanding EtherChannel Load Balancing and Redundancy on Catalyst Switches
(http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml)
article from Cisco.
interface Port-channel1
switchport
switchport access vlan 100
switchport mode access
no ip address
!
interface GigabitEthernet1/1
switchport
switchport access vlan 100
switchport mode access
no ip address
channel-group 1 mode on
!
https://kb.vmware.com/s/article/1004048 2/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
ACTIVE
PASSIVE
Note: LACP is only supported in vSphere 5.1, 5.5 and 6.0 with vSphere Distributed Switches and on the Cisco Nexus
1000V.
Set the HP switch port mode to TRUNK to accomplish static link aggregation with ESXi/ESX.
TRUNK Mode of HP switch ports is the only supported aggregation method compatible with ESXi/ESX NIC teaming mode IP hash.
To configure a static portchannel in an HP switch using ports 10, 11, 12, and 13, run this command:
conf
trunk 10-13 Trk1 Trunk
https://kb.vmware.com/s/article/1004048 4/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
Note: The LACP support in vSphere Distributed Switch 5.1 supports only IP hash load balancing. In vSphere Distributed Switch 5.5 and
later, all the load balancing algorithms of LACP are supported:
You must set NIC teaming to IP HASH in both the vSwitch and the included port group containing the kernel management port.
See Additional Information section, For additional NIC teaming with EtherChannel information.
Do not use beacon probing with IP HASH load balancing.
Do not configure standby or unused uplinks with IP HASH load balancing.
vSphere Distributed Switch 5.1 only supports one EtherChannel per vNetwork Distributed Switch (vDS). However, vSphere
Distributed Switch 5.5 and later supports multiple LAGs.
ESX/ESXi running on a blade system do not require IP Hash load balancing if an EtherChannel exists between the blade chassis
and upstream switch. This is only required if an EtherChannel exists between the blade and the internal chassis switch, or if the
blade is operating in a network pass-through mode with an EtherChannel to the upstream switch. For more information on these
various scenarios, contact your blade hardware vendor.
Note: The preceding links were correct as of December 22, 2015. If you find a link is broken, provide a feedback and a VMware employee
will update the link.
Related Information
For more information on NIC teaming with EtherChannel information, see
NIC teaming using EtherChannel leads to intermittent network connectivity in ESXi (1022751) (/s/article/1022751?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
.
LACP is supported on vSphere ESXi 5.1, 5.5 and 6.0 on VMware vDistributed Switches only. For more information, see
Enabling or disabling LACP on an Uplink Port Group using the vSphere Web Client (2034277) (/s/article/2034277?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
and the
What's New in VMware vSphere 5.1 - Networking (http://www.vmware.com/files/pdf/techpaper/Whats-New-VMware-vSphere-51-Network-
Technical-Whitepaper.pdf)
white paper.
Disconnect the network cables from the network adapters (ensure that one is left online).
Shut down the network port from the physical switch.
Disable the vmnic network cards in ESXi. For more information, see
Forcing a link state up or down for a vmnic interface on ESXi 5.x (2006074) (/s/article/2006074?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-
comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
.
With only a single network card online, you can then remove the portchannel configuration from the physical network switch and change
the network teaming settings on the vSwitch/dvSwitch from IP HASH to portID. For more information about teaming, see
NIC teaming in ESXi and ESX (1004088) (/s/article/1004088?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
.
Español:
Configuración de muestra de EtherChannel/agregación de enlaces con ESXi/ESX y conmutadores Cisco/HP (2034989)
(/s/article/2034989?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-
comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Português:
Amostra de configuração do EtherChannel/Agregação de link com switches ESX/ESXi e Cisco/HP (2037187) (/s/article/2037187?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-
comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Mandarin Chinese:
与 ESXi/ESX 和 Cisco/HP 交换机的 EtherChannel/链接聚合的配置示例 (2040972) (/s/article/2040972?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-
comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Host requirements for link aggregation for ESXi and ESX (/s/article/1001938?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
VLAN configuration on virtual switches, physical switches, and virtual machines (/s/article/1003806?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
NIC teaming in ESXi and ESX (/s/article/1004088?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
NIC teaming using EtherChannel leads to intermittent network connectivity in ESXi (/s/article/1022751?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Forcing a link state up or down for a vmnic interface on ESXi 5.x (/s/article/2006074?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Configuring LACP on an Uplink Port Group using the vSphere Web Client (/s/article/2034277?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Configuración de muestra de EtherChannel/protocolo de control de agregación de vínculos (LACP) con conmutadores ESXi/ESX y
Cisco/HP (/s/article/2034989?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Exemplo de configuração do EtherChannel/LACP (Protocolo de Controle de Agregação de Links) com o ESX/ESXi e os switches
Cisco/HP (/s/article/2037187?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
https://kb.vmware.com/s/article/1004048 6/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
与 ESXi/ESX 和 Cisco/HP 交换机的 EtherChannel/链路聚合控制协议 (LACP) 的配置示例 (/s/article/2040972?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
ESXi/ESX および Cisco/HP スイッチによる EtherChannel/リンク集約コントロール プロトコル (LACP) のサンプル構成
(/s/article/2052973?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Beispielkonfiguration für EtherChannel/Link Aggregation Control Protocol (LACP) mit ESXi/ESX und Cisco/HP-Switches
(/s/article/2145090?
r=2&other.KM_Utility.getAllTranslatedLanguages=1&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&ui-comm-
runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-force-components-controllers-
hostConfig.HostConfig.getConfigData=1)
Categories :
How to
Language:
English
Product Version(s):
VMware ESXi 6.7.x
VMware ESX 3.0.x
VMware ESX 3.5.x
VMware ESX 4.0.x
VMware ESX 4.1.x
VMware ESXi 3.5.x Embedded
VMware ESXi 3.5.x Installable
VMware ESXi 4.0.x Embedded
VMware ESXi 4.0.x Installable
VMware ESXi 4.1.x Embedded
VMware ESXi 4.1.x Installable
VMware ESXi 5.0.x
VMware ESXi 5.1.x
VMware ESXi 5.5.x
VMware ESXi 6.0.x
https://kb.vmware.com/s/article/1004048 7/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
https://kb.vmware.com/s/article/1004048 8/8