《《组建大型企业网络——第二章 跨交换机实现相同VLAN通信 》实验报告.docx》由会员分享,可在线阅读,更多相关《《组建大型企业网络——第二章 跨交换机实现相同VLAN通信 》实验报告.docx(10页珍藏版)》请在优知文库上搜索。
1、组建大型企业网络一一其次章跨交换机实现相同VLAN通信试验报告试验环境:1.2.3.试验要求:1.运用VLAN技术可以将整个网络从逻辑上划分为若干个小的虚拟网络4 .保证不同的VLAN之间不能进行通信5 .运用以太网通道进行带宽扩容试验步骤:1 .按图搭建环境连接信息| SwichlSWitCh2Swtch3 VPCS设备列表接口列表0 12 3浦/3/4/5巧圮田川川川川SIMitCh3的for瓶口与vpc霎的W/5晒口连接成功!8皿虹2的0/2篇口写叩3曲皿/6装口连接成功!8witch1的f0片4与StMitCh2的fOM4口连接成功!SWftcM而fOH5熊口与3witch2而OH5武
2、口连接血功!连接退出保存拓扑配置文件|取消连接生成BAT文件2 .在SWitChl上仓IJ建VLAN2VLAN3VLAN4,将连接PCl的端口FO/1和连接PC2的端口F0/2分别加入VLAN2、VLAN3在Switchl上为F0/14和F0/15端口配置TRUNK通道,并配为FO/14和F0/15配置以太网通道,接口模式为TRUNKswitchl#VIandaswitchl(vlan)ttvlan2nameCaiWU江AN2added:Name:CaiWUswitchl(Vlari)#Vlan3namexiaoshou江AN3added:Name:xiaoshouswitchl(Vlan)#
3、Vlan4nameshengchan江AN4added:Name:shengchanSWitchi(vlan)tfezitPPLYcompleted.5iting.switchi#conftJnterconfigurationCoImDands,oneperline.EndwithCNTLZ.switchi(config)ttintvlanlswitchl(config-if)tfipadd192.168.100.1255.255.255.0switchl(config-if)#noshswitchi(config-if)#endswitchi#conftJnterconfigurationC
4、Ommands,oneperline.EndwithCNTLZ.switchl(config)#intflswitchi(config-if)#switchportaccessvlan2switchi(config-if)#intf2switchl(config-if)#switchportaccessvlan3switchi(config-if)#endswitchi#conft5nterconfigurationCOmiDands,oneperline.EndwithCNTLZ.switchl(config)ttintrangef14-15switchi(config-ifrange)#s
5、witchportmodetrunkswitchi(config-if-range)#exitswitchl#conftEnterconfigurationCOmnands,oneperline.EndwithCNTLZ.switchl(config)fintrangef14-15switchl(config-if-range)ffchannel-group1modeonCreatingaport-channelinterfacePort-channel1switchl(config-if-range)ffendswitchl#switchl#lar100:02:04.875:%SYS-5-C
6、0NFIG_I:Configuredfromconsolebyconsolelar100:02:05.267:SYS-5-C0NFIG-I:Configuredfromconsolebyconsolear100:02:05.695:%SYS-5-C0NFIG_I:Configuredfromconsolebyconsolelar100:02:06.003:%EC-5-BUNDLE:InterfaceFaOI4joinedport-channelPollar100:02:06.127:%EC-5-BUNDLE:InterfaceFa015joinedport-channelPol*Iar100:
7、02:06.179:%DTP-5-TRUNKP0RT0N:PortFa014-15hasbecomedotIqtrunklar100:02:06.279:%SYS-5-C0NFIG-I:Configuredfronconsolebyconsoleswitchl#lar100:02:08.823:%LINEPR0T0-5-UPD0WN:LineprotocolonInterfacePort-channel1,changedstatetoupswitchl#switchltt3 .查看SWitChlVLAN信息Routerttshowvlan-switchVLANNaneStatusPorts1d
8、efaultactiveFa00,Fa03,Fa04,Fa05Fa06,FaO/7,Fa08,Fa09Fa010,FaOll,Fa012,FaO/132CaiWUactiveFaO/13xiaoshouactiveFa024shengchanactive1002fddi-defaultactive1003tokenuring-defaultactive1004fddinet-defaultactive1005tmet-defaultactive查看switchl的trunk信息switchl#showintf14switchportName:Fa014Switchport:EnabledAdm
9、inistrativeIode:trunkOperationallode:trunk(memberofbundlePol)AdministrativeTrunkingEncapsulation:dotlqOperationalTrunkingEncapsulation:dotlqNegotiationofTrunking:DisabledAccessIodeVLAN:0(Inactive)TrunkingNativeIodeVLAN:1(default)TrunkingVLANsEnabled:ALLTrunkingVLANsActive:nonePriorityforuntaggedfram
10、es:0Overridevlantagpriority:FALSEVoiceVLAN:noneAppliancetrust:noneMl-switchl#showintf15switchportName:Fa015Switchport:EnabledAdministrativelode:trunkOperationalIode:trunk(memberofbundlePol)AdministrativeTrunkingEncapsulation:dotlqOperationalTrunkingEncapsulation:dotlqNegotiationofTrunking:DisabledAc
11、cessIodeVLAN:0(Inactive)TrunkingNativeIodeVLAN:1(default)TrunkingVLANsEnabled:ALLTrunkingVLANsActive:nonePriorityforuntaggedframes:0Overridevlantagpriority:FALSEVoiceVLAN:noneAppliancetrust:noneswitchi#switchl#showethsuFlags:D-downP-inport-channelI-stand-alones-suspendedR-Layer3S-Layer2U-inuseGroupP
12、ort-channelPorts1Pol(SU)FaO14(P)FaO15(P)switchi#switchi#4 .在SWitCh2上仓IJ建VLAN2VLAN3VLAN4,将连接PCl的端口FO/1和连接PC2的端口F0/2分别加入VLAN2、VLAN4在Switchl上为F0/14和F015,F0/12和F0/13端口配置TRUNK通道,为F0/14和F0/15配置以太网通道,接口模式为TRUNK为F0/12和F0/13配置以太网通道,接口模式为TRUNKSRitCh2#vlandaswitch2(vlan)ttvlan2nameCaiWUVLAN2added:Name:CaiwUswi
13、tch2(Vlan)#Vlan3namexiaoshouVLAN3added:Name:ziaoshouswitch2(Vlan)#Vlan4nameshengchanVLAN4added:Name:shengchanswitch2(vlan)tteitAPPLYcompleted.Exiting.switch2#conftEnterconfigurationcommandsjoneperline.EndwithCNTL/2switch2(config)ttintvlan1switch2(config-if)ttipadd192.168.100.2255.255.255.(switch2(co
14、nfig-if)#noshswitch2(config-if)ttendswitch2#conftEnterconfigurationCOlDlDands.oneperline.EndwithCNTL/7switch2(config)ttintflswitch2(config-if)#switchportaccessvlan3switch2(config-if)#intf2switch2(config-if)#switchportaccessvlan4switch2(config-if)#endswitch2#conftEnterconfigurationColmDands,oneperline.EndwithCNTL/7switch2(config)ttintrangef14-15switch2(config-iforange)#switchportmodetrunkUnr:十。h2fmirFi1FynpRrtitswitch2(config)#intrangef14-15switch2(config-if-range)ffchannel-group1modeonCreatingaport-channelinterfaceP