Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Vmware ESXi/ESX和戴尔交换机的链路聚合控制协议(LACP)的示例配置

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

说明:

本文介绍ESXi主机和支持VLT(虚拟链路中继)的戴尔交换机之间的链路聚合的概念、限制和示例配置,即在ESXi主机上设置NIC组合,在物理网络戴尔交换机上设置链路聚合控制协议(LACP)

LACP或IEEE 802.3ad:链路聚合控制协议(LACP)以一种方法包括在IEEE规格中,用于控制将多个物理端口绑定在一起以形成单个逻辑通道。

ESXi/ESX主机仅在连接到单个物理交换机、堆叠交换机或通过VLT(虚拟链路中继)组合的交换机时才支持NIC组合。这意味着ESXi主机上的链路已组合,从交换机角度看就像一个链路。组合到堆栈或VLT的交换机就像ESXi主机的一个交换机。独立中继的交换机之间绝不支持链路聚合。

注:LACP仅在具有vSphere分布式交换机的vSphere 5.1和5.5中受支持

 

Resolution

  1. 在vSphere/VMware客户端内配置负载平衡

要配置vSwitch属性实现负载平衡,请执行以下步骤:

  1. 单击ESXi/ESX主机。
  2. 单击Configuration(配置)选项卡。
  3. 单击Networking(网络)链接。
  4. 单击Properties(属性)。
  5. 单击Ports(端口)选项卡中的虚拟交换机并单击Edit(编辑)。
  6. 单击NIC Teaming(NIC组合)选项卡。
  7. Load Balancing(负载平衡)下拉框中选择Route based on ip hash(基于ip hash路由)。
  8. 验证Active Adapters(活动适配器)下列出了两个或多个网络适配器。

SLN295213_zh_CN__1pic 1(2)

请勿配置带IP HASH负载平衡的待机或未使用上行链路。

 

2.交换机侧的LACP端口通道的配置示例,其中A和B两个交换机在VLT中配置。

在下面的示例中,vmnic2连接到交换机A的端口0/41,vmnic 3连接到交换机B的端口0/41。交换机A和交换机B的配置完全相同,如下所示。

Vlt-peer-lag指对等交换机上的端口通道编号。

 

SLN295213_zh_CN__2pic 2(2)

配置:

interface TenGigabitEthernet 0/41

no ip address

mtu 12000

 port-channel-protocol LACP

port-channel 100 mode active

 no shutdown

 

interface Port-channel 100

no ip address

mtu 12000

portmode hybrid

 vlt-peer-lag port-channel 100

no shutdown

 

 

 

 

 

 

Article Properties


Affected Product

Dell Networking Z9500, PowerEdge M IO Aggregator

Last Published Date

21 Feb 2021

Version

3

Article Type

Solution