华为 —小型企业多交换机多VLAN通信简单实验
2018-01-22 10:05
666 查看
多交换机VLAN间通信一、实验目的实现多交换机不同VLAN间通信,并实现全网互通。
二、实验环境Windows 10eNSP
三、实验拓扑
![](http://s1.51cto.com/images/20180122/1516586485934095.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
四、实验步骤PC配置IP地址的步骤就不进行展示了。SW1: <Huawei>sys [Huawei]sys SW1 [SW1]vl ba 10 20 30 [SW1]int eth0/0/1 [SW1-Ethernet0/0/1]un shu [SW1-Ethernet0/0/1]po link-t ac [SW1-Ethernet0/0/1]po de vl 10 [SW1-Ethernet0/0/1]int eth 0/0/2
[SW1-Ethernet0/0/2]un shu
[SW1-Ethernet0/0/2]po link-t ac
[SW1-Ethernet0/0/2]po de vl 20
[SW1-Ethernet0/0/2]int eth 0/0/3
[SW1-Ethernet0/0/3]un shu
[SW1-Ethernet0/0/3]po link-t ac
[SW1-Ethernet0/0/3]po de vl 30
[SW1-Ethernet0/0/3]int eth 0/0/22
[SW1-Ethernet0/0/22]po link-t tr
[SW1-Ethernet0/0/22]po tr all vl all
SW2
<Huawei>sys [Huawei]sys SW2 [SW2]vl ba 40 50 [SW2]int eth0/0/1 [SW2-Ethernet0/0/1]un shu [SW2-Ethernet0/0/1]po link-t ac [SW2-Ethernet0/0/1]po de vl 40 [SW2-Ethernet0/0/1]int eth 0/0/2
[SW2-Ethernet0/0/2]un shu
[SW2-Ethernet0/0/2]po link-t ac
[SW2-Ethernet0/0/2]po de vl 50
[SW2-Ethernet0/0/2]int eth 0/0/22
[SW2-Ethernet0/0/22]po link-t tr
[SW2-Ethernet0/0/22]po tr all vl all
LSW1:
<Huawei>sys
[Huawei]sys LSW1
[LSW1]vl ba 10 20 30 40 50 60
[LSW1]int g0/0/1
[LSW1-GigabitEthernet0/0/1]un shu
[LSW1-GigabitEthernet0/0/1]po link-t tr
[LSW1-GigabitEthernet0/0/1]po tr all vl all
[LSW1-GigabitEthernet0/0/1]int g0/0/2
[LSW1-GigabitEthernet0/0/2]un shu
[LSW1-GigabitEthernet0/0/2]po link-t tr
[LSW1-GigabitEthernet0/0/2]po tr all vl all
[LSW1-GigabitEthernet0/0/2]int g0/0/24
[LSW1-GigabitEthernet0/0/24]po link-t acc
[LSW1-GigabitEthernet0/0/24]po de vl 60
[LSW1-GigabitEthernet0/0/24]int vl 10
[LSW1-Vlanif10]un shu
[LSW1-Vlanif10]ip add 192.168.10.254 255.255.255.0 [LSW1-Vlanif10]int vl 20
[LSW1-Vlanif20]un shu
[LSW1-Vlanif20]ip add 192.168.20.254 255.255.255.0
[LSW1-Vlanif20]int vl 30
[LSW1-Vlanif30]un shu
[LSW1-Vlanif30]ip add 192.168.30.254 255.255.255.0
[LSW1-Vlanif30]int vl 40
[LSW1-Vlanif40]un shu
[LSW1-Vlanif40]ip add 192.168.40.254 255.255.255.0
[LSW1-Vlanif40]int vl 50
[LSW1-Vlanif50]un shu
[LSW1-Vlanif50]ip add 192.168.50.254255.255.255.0
[LSW1-Vlanif50]int vl 60
[LSW1-Vlanif60]un shu
[LSW1-Vlanif60]ip add 192.168.60.2 255.255.255.0
[LSW1-Vlanif60]quit
[LSW1]ip route-static 192.168.70.0 255.255.255.0 192.168.60.1
R1:
<Huawei>sys
[Huawei]sys R1
[R1]int g0/0/1
[R1- GigabitEthernet0/0/1]un shu
[R1- GigabitEthernet0/0/1]ip add 192.168.60.1 255.255.255.0[R1- GigabitEthernet0/0/1]int g0/0/0[R1- GigabitEthernet0/0/0]un shu[R1- GigabitEthernet0/0/0]ip add 192.168.70.254 255.255.255.0[R1- GigabitEthernet0/0/0]quit[R1]ip route-static 0.0.0.0 0.0.0.0 192.168.6.2
五、结果验证测试PC1与其他全部PC的连通性
![](http://s1.51cto.com/images/20180122/1516586576389546.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
二、实验环境Windows 10eNSP
三、实验拓扑
![](http://s1.51cto.com/images/20180122/1516586485934095.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
四、实验步骤PC配置IP地址的步骤就不进行展示了。SW1: <Huawei>sys [Huawei]sys SW1 [SW1]vl ba 10 20 30 [SW1]int eth0/0/1 [SW1-Ethernet0/0/1]un shu [SW1-Ethernet0/0/1]po link-t ac [SW1-Ethernet0/0/1]po de vl 10 [SW1-Ethernet0/0/1]int eth 0/0/2
[SW1-Ethernet0/0/2]un shu
[SW1-Ethernet0/0/2]po link-t ac
[SW1-Ethernet0/0/2]po de vl 20
[SW1-Ethernet0/0/2]int eth 0/0/3
[SW1-Ethernet0/0/3]un shu
[SW1-Ethernet0/0/3]po link-t ac
[SW1-Ethernet0/0/3]po de vl 30
[SW1-Ethernet0/0/3]int eth 0/0/22
[SW1-Ethernet0/0/22]po link-t tr
[SW1-Ethernet0/0/22]po tr all vl all
SW2
<Huawei>sys [Huawei]sys SW2 [SW2]vl ba 40 50 [SW2]int eth0/0/1 [SW2-Ethernet0/0/1]un shu [SW2-Ethernet0/0/1]po link-t ac [SW2-Ethernet0/0/1]po de vl 40 [SW2-Ethernet0/0/1]int eth 0/0/2
[SW2-Ethernet0/0/2]un shu
[SW2-Ethernet0/0/2]po link-t ac
[SW2-Ethernet0/0/2]po de vl 50
[SW2-Ethernet0/0/2]int eth 0/0/22
[SW2-Ethernet0/0/22]po link-t tr
[SW2-Ethernet0/0/22]po tr all vl all
LSW1:
<Huawei>sys
[Huawei]sys LSW1
[LSW1]vl ba 10 20 30 40 50 60
[LSW1]int g0/0/1
[LSW1-GigabitEthernet0/0/1]un shu
[LSW1-GigabitEthernet0/0/1]po link-t tr
[LSW1-GigabitEthernet0/0/1]po tr all vl all
[LSW1-GigabitEthernet0/0/1]int g0/0/2
[LSW1-GigabitEthernet0/0/2]un shu
[LSW1-GigabitEthernet0/0/2]po link-t tr
[LSW1-GigabitEthernet0/0/2]po tr all vl all
[LSW1-GigabitEthernet0/0/2]int g0/0/24
[LSW1-GigabitEthernet0/0/24]po link-t acc
[LSW1-GigabitEthernet0/0/24]po de vl 60
[LSW1-GigabitEthernet0/0/24]int vl 10
[LSW1-Vlanif10]un shu
[LSW1-Vlanif10]ip add 192.168.10.254 255.255.255.0 [LSW1-Vlanif10]int vl 20
[LSW1-Vlanif20]un shu
[LSW1-Vlanif20]ip add 192.168.20.254 255.255.255.0
[LSW1-Vlanif20]int vl 30
[LSW1-Vlanif30]un shu
[LSW1-Vlanif30]ip add 192.168.30.254 255.255.255.0
[LSW1-Vlanif30]int vl 40
[LSW1-Vlanif40]un shu
[LSW1-Vlanif40]ip add 192.168.40.254 255.255.255.0
[LSW1-Vlanif40]int vl 50
[LSW1-Vlanif50]un shu
[LSW1-Vlanif50]ip add 192.168.50.254255.255.255.0
[LSW1-Vlanif50]int vl 60
[LSW1-Vlanif60]un shu
[LSW1-Vlanif60]ip add 192.168.60.2 255.255.255.0
[LSW1-Vlanif60]quit
[LSW1]ip route-static 192.168.70.0 255.255.255.0 192.168.60.1
R1:
<Huawei>sys
[Huawei]sys R1
[R1]int g0/0/1
[R1- GigabitEthernet0/0/1]un shu
[R1- GigabitEthernet0/0/1]ip add 192.168.60.1 255.255.255.0[R1- GigabitEthernet0/0/1]int g0/0/0[R1- GigabitEthernet0/0/0]un shu[R1- GigabitEthernet0/0/0]ip add 192.168.70.254 255.255.255.0[R1- GigabitEthernet0/0/0]quit[R1]ip route-static 0.0.0.0 0.0.0.0 192.168.6.2
五、结果验证测试PC1与其他全部PC的连通性
![](http://s1.51cto.com/images/20180122/1516586576389546.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
![](http://s1.51cto.com/images/20180122/1516586585808678.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
相关文章推荐
- 小型企业默认路由使用及配置实验 —华为
- 实验四 相同VLAN跨交换机通信
- 小型企业交换机批量配置VLAN
- 华为用hybrid 技术;实现不同vlan间交换机互相通信
- 不同交换机、不同VLAN之间的通信,实验报告
- CCNA之旅-交换机的基本配置-stp、vtp、vlan间通信实验
- 网络Cisco实验-同一交换机不同VLAN通信
- 华为两台交换机之间vlan通信-静态路由配置
- [华为] 交换机配置划分VLAN实验
- 跨交换机的VLAN配置实验 推荐
- VLAN配置及通信实验
- 网络实验(二构建局域网和交换机VLAN的配置)
- 构建简易网络与网络设备的简单配置(Cisco Packet Tracer)第一弹:交换机VLAN配置
- 华为三层交换机实现不同vlan间通信
- 两台2950交换机相连时不采用TRUNK不同VLAN是否可以通信
- 多个VLAN通信&华为cisco路由协议优先级
- CCNP精粹系列之十四--跨交换机VLAN通信
- 三层交换机实现不同vlan间通信(华为)
- 华为eNSP多层交换机不同vlan之间的通信
- 小型企业局域网实验模拟