欢迎来到天天文库
浏览记录
ID:40658235
大小:99.50 KB
页数:3页
时间:2019-08-05
《06实验指导(三层交换)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、实验指导(三层交换)一、实验任务1.PC1用R1模拟,PC2用R2模拟;PC3用R3模拟,PC4用R4模拟2.在SW1上实现VLAN2、VLAN3之间的路由。注意VLAN2和VLAN3上的计算机网关设置;3.在SW2上实现VLAN2、VLAN3之间的路由。注意VLAN2和VLAN3上的计算机网关设置;二、实验步骤1、清除交换机的配置(在三台交换机上执行):Switch#erasestartup-configSwitch#deleteflash:vlan.datSwitch#reload2、预配:步骤1:交换机的配置S1:========================
2、====================Vlan2Vlan3interfaceFastEthernet0/13switchporttrunkencapsulationdot1qswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernet0/14switchporttrunkencapsulationdot1qswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernet0/15shutdowninterfaceFastEth
3、ernet0/1switchportmodeaccessswitchportaccessvlan2interfaceFastEthernet0/2switchportmodeaccessswitchportaccessvlan3S2:============================================interfaceFastEthernet0/13switchporttrunkencapsulationdot1qswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernet0
4、/14switchporttrunkencapsulationdot1qswitchportmodetrunkchannel-group1modedesirableinterfaceFastEthernet0/15shutdowninterfaceFastEthernet0/1switchportmodeaccessswitchportaccessvlan2interfaceFastEthernet0/2switchportmodeaccessswitchportaccessvlan3步骤2:路由器的配置R1:noiproutingintf0/0noshutipadd
5、172.16.2.1255.255.255.0ipdefault-gateway172.16.2.252R2:noiproutingintf0/0noshutipadd172.16.3.2255.255.255.0ipdefault-gateway172.16.3.252R3:noiproutingintf0/1noshutipadd172.16.2.3255.255.255.0ipdefault-gateway172.16.2.253R4:noiproutingintf0/1noshutipadd172.16.3.4255.255.255.0ipdefault-ga
6、teway172.16.3.2531、三层交换:SW1:iproutingintvlan2noshutipadd172.16.2.252255.255.255.0intvlan3noshutipadd172.16.3.252255.255.255.0SW2:iproutingintvlan2noshutipadd172.16.2.253255.255.255.0intvlan3noshutipadd172.16.3.253255.255.255.02、测试:PC1和PC2之间互相pingPC3和PC4之间互相ping思考:在SW1关闭三层功能,怎样保证PC1和PC2之
7、间还能通信?二、完整配置
此文档下载收益归作者所有