链路聚合实验
手动配置
实验环境
实验思路
1.配置链路聚合
2.检查是否成功
具体步骤
1.配置链路聚合
-
SW1的配置
<Huawei>sy [Huawei]sy SW1 [SW1]int Eth-Trunk 1 [SW1-Eth-Trunk1]trunkport Ethernet 0/0/1 to 0/0/3
-
SW2的配置
<Huawei>sy [Huawei]sy SW2 [SW2]int Eth-Trunk 2 [SW2-Eth-Trunk2]trunkport Ethernet 0/0/1 to 0/0/3
2.检查是否成功
通过以上的结果可以的出手动配置链路聚合成功。
使用LACP协议配置
实验环境
实验思路
1.配置链路聚合
2.检查是否成功
具体步骤
1.配置链路聚合
-
SW1的配置[4c1f-cc71-126c]
<Huawei>sys [Huawei]sys SW1 [SW1]interface Eth-Trunk 1 [SW1-Eth-Trunk1]mode lacp-static [SW1-Eth-Trunk1]trunkport Ethernet 0/0/1 to 0/0/4 [SW1-Eth-Trunk1]max active-linknumber 2 [SW1-Eth-Trunk1]q [SW1]int e0/0/1 [SW1-Ethernet0/0/1]lacp priority 10 [SW1-Ethernet0/0/1]int e0/0/3 [SW1-Ethernet0/0/3]lacp priority 10 [SW1-Ethernet0/0/3]q [SW1]int Eth-Trunk 1 [SW1-Eth-Trunk1]lacp preempt enable
-
SW2的配置[4c1f-cca8-49e0]
<Huawei>sys [Huawei]sys SW2 [SW2]interface Eth-Trunk 2 [SW2-Eth-Trunk2]mode lacp-static [SW2-Eth-Trunk2]trunkport Ethernet 0/0/1 to 0/0/4 [SW2-Eth-Trunk2]max active-linknumber 2 [SW2-Eth-Trunk2]int e0/0/1 [SW2-Ethernet0/0/1]lacp priority 10 [SW2-Ethernet0/0/1]int e0/0/3 [SW2-Ethernet0/0/3]lacp priority 10 [SW2-Ethernet0/0/3]int Eth-Trunk 2 [SW2-Eth-Trunk2]lacp preempt enable
2.检查是否成功
通过以上结果分析可以得知配置成功。
个人总结
本实验为链路聚合实验,本实验的意义为减轻交换层的流量负担。通过本实验对数据链路层的工作情况和MAC地址有了更深地理解。实验过程中验证了在配置交换机的活跃接口时,并不需要两台交换机全部配置,只需配置主交换机便可实现功能。