当前位置:   article > 正文

华为 手动配置链路聚合_8546q链路聚合

8546q链路聚合

一、组网需求

1、如图所示,SwitchA和SwitchB通过以太链路分别都连接VLAN10和VLAN20,且SwitchA和SwitchB之间有较大的数据流量。
用户希望SwitchA和SwitchB之间能够提供较大的链路带宽来使相同VLAN间互相通信。

2、网络拓扑

3、配置思路

采用如下的思路配置负载分担链路聚合
创建Eth-Trunk接口并加入成员接口,实现增加链路带宽。
创建VLAN并将端口加入VLAN。
配置负载分担方式,实现流量在Eth-Trunk各成员接口间的负载分担,增加可靠性。

二、操作步骤

1、创建eth-trunk并加入成员接口

  1. 第一种加入方法:
  2. <Huawei>system-view
  3. [Huawei]sysname SWA
  4. [SWA]interface Eth-Trunk 1
  5. [SWA-Eth-Trunk1]trunkport GigabitEthernet 0/0/1 to 0/0/2
  6. [SWA-Eth-Trunk1]q
  7. 第二种加入方法:
  8. <Huawei>system-view
  9. [Huawei]sysname SWB
  10. [SWB]interface Eth-Trunk 1
  11. [SWB-Eth-Trunk1]q
  12. [SWB]interface GigabitEthernet 0/0/1
  13. [SWB-GigabitEthernet0/0/1]eth-trunk 1
  14. [SWB-GigabitEthernet0/0/1]q
  15. [SWB]interface GigabitEthernet 0/0/2
  16. [SWB-GigabitEthernet0/0/2]eth-trunk 1
  17. [SWB-GigabitEthernet0/0/2]q

2、创建vlan并将端口加入vlan,SWB同SWA配置相似

  1. [SWA]vlan batch 10 20
  2. [SWA]interface GigabitEthernet 0/0/4
  3. [SWA-GigabitEthernet0/0/4]port link-type trunk
  4. [SWA-GigabitEthernet0/0/4]port trunk allow-pass vlan 10
  5. [SWA-GigabitEthernet0/0/4]q
  6. [SWA]interface GigabitEthernet 0/0/5
  7. [SWA-GigabitEthernet0/0/5]port link-type trunk
  8. [SWA-GigabitEthernet0/0/5]port trunk allow-pass vlan 20
  9. [SWA-GigabitEthernet0/0/5]q

3、配置eth-trunk接口允许vlan10和vlan20通过,并设置负载分担模式。SWB同SWA配置相似

  1. [SWA]interface Eth-Trunk 1
  2. [SWA-Eth-Trunk1]port link-type trunk
  3. [SWA-Eth-Trunk1]port trunk allow-pass vlan 10 20
  4. [SWA-Eth-Trunk1]load-balance src-dst-mac
  5. [SWA-Eth-Trunk1]q

4、查看配置结果

  1. [SWA]display eth-trunk 1
  2. Eth-Trunk1's state information is:
  3. WorkingMode: NORMAL Hash arithmetic: According to SA-XOR-DA
  4. Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
  5. Operate status: up Number Of Up Port In Trunk: 2
  6. --------------------------------------------------------------------------------
  7. PortName Status Weight
  8. GigabitEthernet0/0/1 Up 1
  9. GigabitEthernet0/0/2 Up 1

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/409096
推荐阅读
相关标签
  

闽ICP备14008679号