0% found this document useful (0 votes)
137 views

Sample Configuration of EtherChannel - Link Aggregation Control Protocol...

The document provides information and sample configurations for link aggregation using EtherChannel or LACP between ESXi/ESX hosts and Cisco or HP switches. It describes the concepts and supported scenarios, and includes example configurations for Cisco and HP switches to establish link aggregation with ESXi/ESX hosts.

Uploaded by

Jaffar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views

Sample Configuration of EtherChannel - Link Aggregation Control Protocol...

The document provides information and sample configurations for link aggregation using EtherChannel or LACP between ESXi/ESX hosts and Cisco or HP switches. It describes the concepts and supported scenarios, and includes example configurations for Cisco and HP switches to establish link aggregation with ESXi/ESX hosts.

Uploaded by

Jaffar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)

Knowledge Base

Sample configuration of EtherChannel / Link


Aggregation Control Protocol (LACP) with ESXi/ESX
and Cisco/HP switches (1004048)
Symptoms

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)
.

Link aggregation concepts:

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.

EtherChannel supported scenarios:

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:

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.

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.

This is a Cisco EtherChannel sample configuration:

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
!

ESX Server and Cisco switch sample topology and configuration:

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)

Run this command to verify EtherChannel load balancing mode configuration:

Switch# show etherchannel load-balance


EtherChannel Load-Balancing Configuration:
src-dst-ip
mpls label-ip
EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source XOR Destination MAC address
IPv4: Source XOR Destination IP address
IPv6: Source XOR Destination IP address
MPLS: Label or IP

Switch# show etherchannel summary


Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
Number of channel-groups in use: 2
Number of aggregators: 2
Group Port-channel Protocol Ports
------+-------------+-----------+--------------------------
1 Po1(SU) - Gi1/15(P) Gi1/16(P)
2 Po2(SU) - Gi1/1(P) Gi1/2(P)

Switch# show etherchannel protocol


Channel-group listing:
-----------------------
Group: 1
----------
Protocol: - (Mode ON)
Group: 2
----------
Protocol: - (Mode ON)

HP switch sample configuration


This configuration is specific to HP switches:
https://kb.vmware.com/s/article/1004048 3/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)

HP switches support only two modes of LACP:

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

To verify your portchannel, run this command:

ProCurve# show trunk


Load Balancing
Port | Name Type | Group Type
---- + --------- + ----- -----
10 | 100/1000T | Trk1 Trunk
11 | 100/1000T | Trk1 Trunk
12 | 100/1000T | Trk1 Trunk
13 | 100/1000T | Trk1 Trunk

Configuring load balancing within the vSphere/VMware Infrastructure Client


To configure vSwitch properties for load balancing:

1. Click the ESXi/ESX host.


2. Click the Configuration tab.
3. Click the Networking link.
4. Click Properties.
5. Click the virtual switch in the Ports tab and click Edit.
6. Click the NIC Teaming tab.
7. From the Load Balancing dropdown, select Route based on ip hash. However, see note below.
8. Verify that there are two or more network adapters listed under Active Adapters.

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.

Removing an EtherChannel configuration from a running ESX/ESXi host


https://kb.vmware.com/s/article/1004048 5/8
8/6/2018 Sample configuration of EtherChannel / Link Aggregation Control Protocol (LACP) with ESXi/ESX and Cisco/HP switches (1004048)
To remove EtherChannel, there must only be one active network adapter on the vSwitch/dvSwitch. Ensure that the other host NICs in the
EtherChannel configuration are disconnected (Link Down). Perform one of these options:

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)
.

For translated versions of this article, see:

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)

Request a Product Feature


To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature
(http://www.vmware.com/contact/contactus.html?department=prod_request) page.

Updated : Apr 13, 2018

Total Views : 84537

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

Permalink to: Sample configuration of EtherChannel /


Link Aggregation Control Protocol (LACP) with ESXi/ESX
and Cisco/HP switches
(https://kb.vmware.com/kb/1004048)

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

You might also like