全球旧事资料 分类
Switch1vla
3porte1017toe1018
Switch1vla
3quit
思路:PC1接在VLAN2的端口910上,PC2接在VLAN3的端口1718上,则相互Pi
g不通;PC1、PC2接在VLAN2的端口910上则相互Pi
g通PC1、PC2接在VLAN2的端口1718上则相互Pi
g通
实验内容:(以下内容仿照上面命令行自行写出)1、VLAN的划分与配置。创建VLAN100把相应的端口15添加到VLAN100创建
VLAN200把相应的端口610添加到VLAN200写出详细的步骤及设备返回的信息(displaycurre
tco
figuratio
)。2、将设备连接到交换机,使用pi
g命令验证配置结果a、将两台计算机分别连接到vla
100和vla
200的端口,结果如何,记录下来b、将两台计算机都分别连接到vla
100和vla
200的端口,结果如何,记录下来3、删除VLAN100和VLAN200(u
dovla
100和u
dovla
200)
6
f第三部分
《计算机网络》实验指导书
图3交换机路由配置拓扑机构图
组网环境:2台华为Quidways3952SI交换机第三层交换机:Switch1和Switch2PC
机3台,网线4根,配置电缆2根。Switch1通过Co
sole口与pc1相连,Switch2通过co
sole
口与pc3相连。
主机地址子网掩码
默认网关
PC11921682022552552550192168201
PC21921683022552552550192168301
PC31921684022552552550192168401
以上都需要在本地连接中进行设置
相互连接的两台交换机,一台为switch1,另一台为Switch2
(1)交换机switch1的相关配置命令Quidwaysystemview
进入系统视图
SystemViewretur
toUserViewwithCtrlZQuidwaysys
ameSwitch1Switch1i
terfaceVla
i
terface1
修改交换机名进入vla
虚端口简写成i
tvla
1
Switch1Vla
i
terface1
Apr12357555482000Switch1L2INF5VLANIFLINKSTATUSCHANGE1
Vla
i
terface1isUP
ipaddress192168112552552550
Switch1Vla
i
terface1
Apr12358135122000Switch1IFNET5UPDOWN1Li
eprotocolo
thei
ter
faceVla
i
terface1isUP
quit
7
f《计算机网络》实验指导书
(2)交换机Switch2的相关配置命令QuidwaysysSystemViewretur
toUserViewwithCtrlZQuidwaysys
ameSwitch2Switch2i
tvla
1Switch2Vla
i
terface1ipaddress192168122552552550Switch2Vla
i
terface1quit(3)测试端口连通性Switch1pi
g19216812
3.创建交换机多个vla
虚接口,并配置地址(1)交换机Switch1的相关配置命令Switch1vla
2Switch1vla
2porte109toe1010Switch1vla
2quitSwitch1vla
3Switch1vla
3porte1017toe1018Switch1vla
3quitSwitch1i
tvla
2Switch1Vla
i
terface2Apr20003199792000Switch1L2INF5VLANIFLINKSTATUSCHANGE1
Vla
i
terface2isUPipaddress1921682012552552550Switch1Vla
i
terface2Apr20003339882000Switch1IFNET5UPDOWN1Li
er
好听全球资料 返回顶部