Using LACP with a vSphere Distributed Switch 5.1
Using LACP with a vSphere Distributed Switch 5.1
by Chris Wahl on Oct 15th, 2012 | 6,347 views
One of the more exciting and eagerly anticipated announcements in vSphere 5.1 (at least for me) were all the distributed switch enhancements. Among the new feature list is the ability to use LACP (Link Aggregation Control Protocol) on a distributed switch. Formerly, the switch was limited to a static EtherChannel or use of a third party switch, such as the Cisco 1000v, if LACP was desired. This post will go into how to actually configure and enable LACP on the latest vSphere Distributed Switch 5.1.
Want more details on the new features? Check out my Deep Dive on vSphere Distributed Switch 5.1 Features posts.
vSphere Distributed Switch Configuration
To start with, you’ll need a VDS running version 5.1. Additionally, you’ll need to pay heed to the list of caveats below:
- vSphere supports only one LACP group per distributed switch and only one LACP group per host.
- LACP does not support Port mirroring
- LACP settings do not exist in host profiles
- LACP only works with IP Hash load balancing and Link Status Network failover detection
- LACP between two nested ESXi hosts is not possible
I highlighted the last one for those who are running nested ESXi labs. Sorry!
In my lab environment, I have created a VDS named “VDS-LACP” and a single port group named “LACP-TEST”. Make sure to set the load balancing method to IP Hash and ensure that all uplinks are active.
The LACP-TEST port group configuration details
One additional step remains: you must enable LACP on the uplink port group. This must be done via the vSphere Web Client. Navigate to the uplink port group, click the Manage tab, and then select the Settings button and click Edit.
Have no fear, I’ve drawn you a GUI map!
Uplinks > Manage > Settings > Properties > Edit … say that 3 times fast
Once there, enable LACP and set it to Active.

Physical Switch Configuration
Ensure that your vSphere uplinks are plumbed into a physical switch that is configured properly for LACP. In my case, this means creating a Link Aggregation Group (LAG) on my HP V1910 switch in the lab, shown below:
The LAG creation screen on my V1910
Note that I have clicked the radio button for “Dynamic (LACP Enabled)” for the interface type. For instructions on how to create a static EtherChannel, you can refer to this video “Creating a Link Aggregation Group for a vSphere Lab” that I posted a while back.
Results
If you’ve done everything right, the LACP status should show all members as active. If you forgot to enable LACP on the VDS uplinks, you’ll get an error and one or more of the ports will be in standby mode as shown below:
This most likely means that you did not enable LACP on the VDS uplink port group
You’ll also get a neat new item on the ESXTOP list called “LACP_MgmtPort”. I assume this handles the LACP negotiation on behalf of the VDS.

Thoughts
I’m really glad to see LACP join the ranks of native features in the VDS, and am a little surprised it took this long to get it included. After all, this is a feature limited to those with the highest licensing level: Enterprise Plus. I haven’t had a lot of stick time with the feature yet so I can’t comment on any pros or cons from a troubleshooting or reliability standpoint, but the configuration process was simple enough.
If you are running, or plan to run, LACP on your VDS 5.1 and care to share your experiences please leave a comment below!
Using LACP with a vSphere Distributed Switch 5.1的更多相关文章
- vNetwork Standard Switch(vSS)和vNetwork Distributed Switch(vDS)的区别
vSS: vSwitches are configured on each ESXi/ESX host. vDS: The configuration of vDS is centralized to ...
- day3:vcp考试
Q41. An administrator creates a custom ESXi firewall rule using an XML file, however the rules do no ...
- VMware vSphere 5.x 与 vSphere 6.0各版本功能特性对比
各版本中的新特性及功能对比: VMware vSphere 5.0 VMware vSphere 5.1 VMware vSphere 5.5 VMware vSphere 6.0 ESXi 5. ...
- 原创:vsphere概念深入系列四:Nic Teaming若干问题
参考文档:http://www.hyper-v.nu/archives/marcve/2013/01/lbfo-hyper-v-switch-qos-and-actual-performance-pa ...
- [转载]【虚拟化系列】VMware vSphere 5.1 网络管理
转载自:http://mabofeng.blog.51cto.com/2661587/1020375 网络是VMware vSphere 5.1的基础,所有虚拟机都需要网络来进行通信.如果将所有的虚拟 ...
- VLAN 模式下的 OpenStack 管理 vSphere 集群方案
本文不合适转载,只用于自我学习. 关于为什么要用OpenStack 管理 vSphere 集群,原因可以有很多,特别是一些传统企业,VMware 的使用还是很普遍的,用 OpenStack 纳管至少会 ...
- VMware vSphere 组件和功能
https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.introduction.doc_50%2FGUID- ...
- 【虚拟化系列】VMware vSphere 5.1 网络管理
网络是VMware vSphere 5.1的基础,所有虚拟机都需要网络来进行通信.如果将所有的虚拟机都看成是物理机,则在网络拓扑上,需要网卡和交换机等不同的网络连接设备和方式.而在虚拟化中,这些 ...
- 在 vSphere 5.x/6.0 中配置 Network Dump Collector 服务 (2002954)
vmware KB: https://kb.vmware.com/s/article/2002954?lang=zh_CN 重点配置命令: 使用 vSphere Client 连接到 vCenter ...
随机推荐
- NSString 拼接字符串
NSString* string; // 结果字符串 NSString* string1, string2; //已存在的字符串,需要将string1和string2连接起来 //方法1. strin ...
- Auto Layout on iOS Versions prior to 6.0
使用XCODE5.0,出现这个小错误... 解决办法: 选中你的XIB或storyboard,如下图 再查看右边属性栏 去掉最下边的Use Autolayout ,完成. 转:http://blog. ...
- C#编程(五十七)----------位数组
位数组 如果需要处理很多位,就可以使用BitArray类和BitVector32.BitArray位于命名空间System.Collections中. BitVector32位于命名空间System. ...
- WordPress主题开发:实现分页功能
注意的是这个受后台这里的文章篇数设置所影响~ 一.使用内置方法 (WordPress 4.1以前无效) the_posts_pagination 输出分页式导航,用法: <?php the_po ...
- 推荐Java基础
(一) 基础篇 01. Java多线程系列--“基础篇”01之 基本概念 02. Java多线程系列--“基础篇”02之 常用的实现多线程的两种方式 03. Java多线程系列--“基础篇”03之 T ...
- UITextField的简易封装
UITextField的简易封装 效果 源码 https://github.com/YouXianMing/UI-Component-Collection 中的 UITextFieldView // ...
- Button 在布局文件中定义监听器,文字阴影,自定义图片,代码绘制样式,添加音效的方法
1.Button自己在xml文件中绑定监听器 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/andro ...
- Ubuntu下搭建Hyperledger Fabric v1.0环境
多次尝试才正常启动了Fabric,如遇到各种莫名错误,请参考如下一步步严格安装,特别用户权限需要注意. 一.安装Ubuntu16 虚拟机或双系统,虚拟机有VirtualBox或者VMware,Ub ...
- [转]MySQL单列索引和组合索引的区别介绍
FROM : http://database.ctocio.com.cn/353/11664853.shtml MySQL单列索引是我们使用MySQL数据库中经常会见到的,MySQL单列索引和组合索引 ...
- sql server获取标识,获取最后ID IDENT_CURRENT、IDENTITY、SCOPE_IDENTITY区别
概念解释 IDENT_CURRENT returns the last identity value generated for a specific table in any session and ...