华为交换机配置LACP模式链路聚合

1、拓扑图

在这里插入图片描述

2、任务描述

  1. 在SwA和SwB上的G0/0/1-G0/0/2端口设置链路聚合,编号为1
  2. 链路聚合采用lacp模式,负载分担方式为dst-ip方式

3、SwA配置

  1. 进入系统视图:system-view
  2. 修改设备名字:[Huawei]sysname SwA
  3. 进入Eth-trunk接口:[SwA]int Eth-Trunk 1
  4. 修改模式:[SwA-Eth-Trunk1]mode lacp-static
  5. 设置负载分担方式为dst-ip方式:[SwA-Eth-Trunk1]load-balance dst-ip
  6. 设置传输模式:[SwA-Eth-Trunk1]port link-type trunk
  7. 允许通过的vlan:[SwA-Eth-Trunk1]port trunk allow-pass vlan all
  8. 返回系统视图:[SwA-Eth-Trunk1]quit
  9. 进入接口g0/0/1:[SwA]int g0/0/1
  10. 将接口加入Eth-trunk 1:[SwA-GigabitEthernet0/0/1]eth-trunk 1
  11. 进入接口g0/0/2:[SwA-GigabitEthernet0/0/1]int g0/0/2
  12. 将接口加入Eth-trunk 1:[SwA-GigabitEthernet0/0/2]eth-trunk 1
  13. 返回用户视图:[SwA-Eth-Trunk1]return
  14. 保存:save 确认保存:Are you sure to continue?[Y/N]y

4、SwB配置

  1. 进入系统视图:system-view
  2. 修改设备名字:[Huawei]sysname SwB
  3. 进入Eth-trunk接口:[SwB]int Eth-Trunk 1
  4. 修改模式:[SwB-Eth-Trunk1]mode lacp-static
  5. 设置负载分担方式为dst-ip方式:[SwB-Eth-Trunk1]load-balance dst-ip
  6. 设置传输模式:[SwB-Eth-Trunk1]port link-type trunk
  7. 允许通过的vlan:[SwB-Eth-Trunk1]port trunk allow-pass vlan all
  8. 返回系统视图:[SwB-Eth-Trunk1]quit
  9. 进入接口g0/0/1:[SwB]int g0/0/1
  10. 将接口加入Eth-trunk 1:[SwB-GigabitEthernet0/0/1]eth-trunk 1
  11. 进入接口g/0/0/2:[SwB-GigabitEthernet0/0/1]int g0/0/2
  12. 将接口加入Eth-trunk 1: [SwB-GigabitEthernet0/0/2]eth-trunk 1
  13. 返回用户视图:[SwB-GigabitEthernet0/0/2]return
  14. 保存:save 确认保存:Are you sure to continue?[Y/N]y

5、查看配置

  1. SwA:在这里插入图片描述
  2. SwB:在这里插入图片描述

6、普通模式链路聚合演示

  • 1
    点赞
  • 33
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小吴在敲Bug

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值