实验环境
通过华为eNSP软件实现
1.两台S3700交换机
2.四台电脑
PC1:192.168.0.1
PC2:192.168.0.2
PC3:192.168.0.3
PC4:192.168.0.4
PC11:192.168.0.11
PC22:192.168.0.22
PC33:192.168.0.33
PC44:192.168.0.44
Trunk实现多交换机相同VLAN机器互通
Trunk-中继链路,可以承载多个VLAN的数据
# 在两台交换机上分别执行以下命令,打开ethernet0/0/5端口的中继链路功能,让所有的VLAN数据可以通过
[Huawei]interface ethernet 0/0/5
[Huawei-Ethernet0/0/5]port link-type trunk
[Huawei-Ethernet0/0/5]port trunk allow-pass vlan all
接口组
[Huawei]port-group 1
#将0/0/3和0/0/4两个端口加入到一个组中
[Huawei-port-group-1]group-member ethernet 0/0/3 ethernet 0/0/4
#将接口组中的端口一次性设置接入链路
[Huawe