配置LACP模式
5.1 问题
交换机之间的链路如何通过自动方式实现链路的捆绑?

5.2 方案
使用eNSP搭建实验环境,如图-6所示。

配置LACP模式
图-6

5.3 步骤
实现此案例需要按照如下步骤进行。
1设置完各pc机ip地址
2设置完各交换机接口端口类型

1)创建Eth-Trunk

[SW1]interface eth-trunk 1
[SW2]interface eth-trunk 2
2)配置Eth-Trunk的工作模式

[SW1-Eth-Trunk1]mode lacp-static
[SW2-Eth-Trunk2]mode lacp-static
3)Eth-Trunk中加入成员接口

[SW1-Eth-Trunk1]trunkport g0/0/1
[SW1-Eth-Trunk1]trunkport g0/0/2
[SW1-Eth-Trunk1]trunkport g0/0/3

[SW2-Eth-Trunk1]trunkport g0/0/1
[SW2-Eth-Trunk1]trunkport g0/0/2
[SW2-Eth-Trunk1]trunkport g0/0/3

4)配置sw2 eth-trunk的主动端,优先级为100
[SW2]lacp priority 100

5)配置最大活跃链路数量2(默认为8)
[SW1-Eth-Trunk1]max active-linknumber 2

6)设置SW1的抢占功能(当g0/0/1线路故障后又恢复可以使用可设置抢占功能,使其恢复)
[SW1-Eth-Trunk1]lacp preempt enable

7)查看eth-trunk配置
[SW1]display eth-trunk

相关文章:

  • 2021-11-16
  • 2021-11-29
  • 2021-11-19
  • 2021-10-21
  • 2021-11-12
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2021-09-13
  • 2021-11-16
  • 2021-09-18
  • 2021-08-19
相关资源
相似解决方案