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.

如何在 2401 和 2210 VRTX 交换机上配置 LAG

Summary: 如何在 2401 和 2210 VRTX 交换机上配置 LAG

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


Instructions


本文说明如何配置链路聚合


 
配置链路聚合 (LAG) 时,您将交换机上的多个接口视为一个逻辑接口。这样可提供更大的带宽(不是速度)和链路冗余,而无需依赖生成树。这两种类型的 LAG 是静态和 LACP。静态 LAG 始终假设它们是 LAG 的一部分,而 LACP 则与连接设备协商。如果两端都在运行 LACP,则 LACP 将变为活动状态。最佳做法是在静态上使用 LACP(如果可用)。

要配置 LAG,请执行以下步骤。此示例将所有 8 个外部接口用于一个 8 接口 LAG。


1.  确保参与 LAG 的所有接口均已删除任何现有配置。
2.  拔下或关闭参与 LAG 的所有接口,直至两端配置完成。
3.  输入以下命令。


console>enable
console#config
console(config)#interface range gi0/1-8

对于静态 LAG
console(config-if-range)#channel-group 1 mode on

对于 LACP LAG
console(config-if-range)#channel-group 1 mode auto
console(config-if-range)#exit
console(config)#

要配置 LAG,请输入虚拟接口并在此处应用任何配置。
console(config)#interface port-channel 1
console(config-if)#

确保为 LAG 正确配置了连接设备,然后打开所有接口并连接这些接口。在验证一切正常后,保存您的配置。

以下是一些用于显示 LAG 状态以便进行故障排除的命令。

Console#show interface port-channel 1
Console#show LACP port-channel 1

Article Properties


Affected Product

POWEREDGE VRTX

Last Published Date

21 Feb 2021

Version

3

Article Type

How To