《实验指导(三层交换报告.docx》由会员分享,可在线阅读,更多相关《实验指导(三层交换报告.docx(3页珍藏版)》请在课桌文档上搜索。
1、实验指导(三层交换)一、实验任务1 .PCl用Rl模拟,PC2用R2模拟;PC3用R3模拟,PC4用R4模拟2 .在SWl上实现VLAN2、VLAN3之间的路由。注意VLAN2和VLAN3上的计算机网关设置;3 .在SW2上实现VLAN2、VLAN3之间的路由。注意VLAN2和VLAN3上的计算机网关设置;二一实验翻!1、清除交换机的配置(在三台交换机上执行Switchftcrasestartup-configSwitch#deleteflash:vlan.datSwitchftreload2、预配,步骤1:交换机的配置Vlan2Vlan3interfaceFastEthernetO/13sw
2、itchporttrunkencapsulationdotIqswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernetO/14switchporttrunkencapsulationdotlqswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernetO/15shutdowninterfaceFastEthernetO/1switchportmodeaccessswitchportaccessvlan2interfaceFastEthernet
3、O/2switchportmodeaccessswitchportaccessvlan3interfaceFastEthernetO/13switchporttrunkencapsulationdotIqswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernetO/14switchporttrunkencapsulationdotlqswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernetO/15shutdowninterfaceFastEt
4、hernetO/1switchportmodeaccessswitchportaccessvlan2interfaceFastEthernetO/2switchportmodeaccessswitchportaccessvlan3步骤2:路由能的配置RI:noiproutingintf00noshutipadd172.16.2.1255.255.255.0ipdefault-gateway172.16.2.252R2:noiproutingintf00noshutipadd172.16.3.2255.255.255.0ipdefault-gateway172.16.3.252R3:noipro
5、utingintflnoshutipadd172.16.2.3255.255.255.0ipdefault-gateway172.16.2.253noiproutingintflnoshutipadd172.16.3.4255.255.255.0ipdefault-gateway172.16.3.2533、三层交换:SIl:iproutingintvlan2noshut255. 255. 255. 0ipadd172.16.2.252intvlan3noshutipadd172.16.3.252255.255.255.0SI2:iproutingintvlan2noshutipadd172.16.2.253255.255.255.0intvlan3noshutipadd172.16.3.253255.255.255.04、PCl和PC2之间互相pingPC3和PC4之间互相ping思考:在SWl关闭三层功能,怎样保证PCI和PC2之间还能通信?三、完整配置