链路聚合实现冗余功能综合实验
1.实验环境
在华为模拟器ensp上设置两个普通路由器,两个交换机,四台PC
先打开ensp ,新建2个路由器和2个pc用户,分别用网线连接,如下图

2.配置LSW1 LACP
[SW1]lacp priority 1000
[SW1]int Eth-Trunk 1
[SW1-Eth-Trunk1]bpdu enable
[SW1-Eth-Trunk1]mode lacp-static
[SW1-Eth-Trunk1]max active-linknumber 2
[SW1-Eth-Trunk1]q
[SW1]vlan batch 10 20
[SW1]int Eth-Trunk 1
[SW1-Eth-Trunk1]trunkport e 0/0/20 to 0/0/22
[SW1-Eth-Trunk1]p l t
[SW1-Eth-Trunk1]p t a v a
[SW1-Eth-Trunk1]un sh
[SW1-Eth-Trunk1]dis eth-trunk 1
Least Active-linknumber: 1 Max Active-linknumber: 2
Operate status: down Number Of Up Port In Trunk: 0
--------------------------------------------------------------------------------
ActorPortName Status PortType PortPri PortNo PortKey PortState Weight
Ethernet0/0/20 Unselect 100M 32768 21

本文提供了一个在华为模拟器ENSP上实施的链路聚合实验,通过配置两个路由器(R1和R2)、两个交换机(LSW1和LSW2)及四台PC,实现网络冗余。实验步骤包括配置LSW1的LACP、LSW2、R1和R2的静态路由,以及确保所有主机的网关设置正确。最终通过互通性测试验证了网络的连通性。
最低0.47元/天 解锁文章
1343

被折叠的 条评论
为什么被折叠?



