以太网手工负载分担方式链路聚合

1.实验拓扑
链接:https://pan.baidu.com/s/1PBo-Gow7HxTUzV8toFoj9g
提取码:8888
eNSP
链接:https://pan.baidu.com/s/1wP0vHim4yqVV0bc0wmzhFw
提取码:8888
SW1的GE0/0/23口与SW2的GE0/0/23口互联,同时SW1的GE0/0/24口也与SW2的GE0/0/24口互联,也即SW1与SW2之间有两根互联链路;设备接口编号及IP编址如图所示。
在这里插入图片描述
2.需求
a.在交换机上创建相关VLAN;将连接PC的接口配置为Access类型并添加到相应的VLAN;
b.将SW1及SW2之间的链路配置为聚合链路(Eth-trunk),聚合的链路工作在手工负载分担方
式,并将该Eth-trunk聚合接口配置为Trunk类型,因为它需要承载多个VLAN的流量;
c.完成配置后要求PC1与PC3能够相互ping通;PC2与PC4能够相互通讯。
3.SW1的配置
[SW1-Eth-Trunk1] mode manual load-balance #工作方式为手工负载分担(缺省就是)
[SW1]display current-configuration

sysname SW1

vlan batch 10 20

interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/1
port link-type access
port default vlan 10

interface GigabitEthernet0/0/2
port link-type access
port default vlan 20

interface GigabitEthernet0/0/23 将接口添加到eth-trunk 1
eth-trunk 1

interface GigabitEthernet0/0/24将接口添加到eth-trunk 1
eth-trunk 1

return
4.SW2的配置
[SW2-Eth-Trunk1] mode manual load-balance
[SW2]display current-configuration

sysname SW2

vlan batch 10 20

interface MEth0/0/1

interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/1
port link-type access
port default vlan 10

interface GigabitEthernet0/0/23
eth-trunk 1

interface GigabitEthernet0/0/24
eth-trunk 1

return
5.查看看聚合接口状态
SW1
在这里插入图片描述
SW2
在这里插入图片描述
eth-trunk1这个聚合接口有两个成员接口,分别是GE0/0/23及GE0/0/24,且状态都是UP的。完成配置后,PC1与PC3应该能够直接ping通;PC2与PC4也应该能直接ping通。
PC1 ping PC3
在这里插入图片描述
PC2 ping PC4
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41235506/article/details/109544575