欢迎来到天天文库
浏览记录
ID:1713837
大小:105.00 KB
页数:12页
时间:2017-11-13
《stp技术实验配置(超详细_原创)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、STP技术实验目的:熟悉掌握STP配置,掌握STP原理及选举过程设备说明:使用小凡模拟器3640实验拓扑:实验步骤:基础配置:(1)把所有线路down掉sw1(config)#intf0/1//把SW1的f0/1端口downsw1(config-if)#shutdownsw1(config)#intf0/2//把SW1的f02端口downsw1(config-if)#shutdownsw2(config)#intf0/1//把SW2的f0/1端口downsw2(config-if)#shutdown(2)
2、在sw1,sw2,sw3都分别创建vlan10,vlan20sw1#vlandatabase//在sw1分别创建vlan10vlan20sw1(vlan)#vlan10sw1(vlan)#vlan20Sw2#vlandatabase//在sw2分别创建vlan10vlan20sw2(vlan)#vlan10sw2(vlan)#vlan20Sw3#vlandatabase//在sw3分别创建vlan10vlan20Sw3(vlan)#vlan10Sw3(vlan)#vlan20(3)把sw1,sw2,sw3
3、的f0/1,f0/2接口划入vlan10sw1(config)#intf0/1sw1(config-if)#switchportaccessvlan10//把f0/1划属于vlan10sw1(config-if)#intf0/2sw1(config-if)#switchportaccessvlan10//把f0/2划属于vlan10sw2(config)#intf0/1sw2(config-if)#switchportaccessvlan10//把f0/1划属于vlan10sw2(config-if)#i
4、ntf0/2sw2(config-if)#switchportaccessvlan10//把f0/2划属于vlan10sw3(config)#intf0/1sw3(config-if)#switchportaccessvlan10//把f0/1划属于vlan10sw3(config-if)#intf0/2sw3(config-if)#switchportaccessvlan10//把f0/2划属于vlan10(3)查看配置信息Sw1sw1#showrunning-configBuildingconfigu
5、ration...Currentconfiguration:945bytes!version12.4servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnamesw1!boot-start-markerboot-end-marker!!noaaanew-modelmemory-sizeiomem5!!ipcefnoipdomainlookup!!!!!!!!!!
6、!!!!!!!!interfaceFastEthernet0/0!interfaceFastEthernet0/1switchportaccessvlan10shutdown//f0/1,f0/2接口属于vlan10并且为down状态!interfaceFastEthernet0/2switchportaccessvlan10shutdown!interfaceFastEthernet0/3!interfaceFastEthernet0/4!interfaceFastEthernet0/5!interfa
7、ceFastEthernet0/6!interfaceFastEthernet0/7!interfaceFastEthernet0/8!interfaceFastEthernet0/9!interfaceFastEthernet0/10!interfaceFastEthernet0/11!interfaceFastEthernet0/12!interfaceFastEthernet0/13!interfaceFastEthernet0/14!interfaceFastEthernet0/15!interf
8、aceVlan1noipaddress!iphttpserver!!!!!!control-plane!!!!!!!!!linecon0lineaux0linevty04!!endsw2sw2#showrunning-configBuildingconfiguration...Currentconfiguration:945bytes!version12.4servicetimestampsdebugdatetimemsecs
此文档下载收益归作者所有