PacketTracer实验全集.docx

上传人:夺命阿水 文档编号:1469629 上传时间:2024-06-29 格式:DOCX 页数:83 大小:2.95MB
返回 下载 相关 举报
PacketTracer实验全集.docx_第1页
第1页 / 共83页
PacketTracer实验全集.docx_第2页
第2页 / 共83页
PacketTracer实验全集.docx_第3页
第3页 / 共83页
PacketTracer实验全集.docx_第4页
第4页 / 共83页
PacketTracer实验全集.docx_第5页
第5页 / 共83页
点击查看更多>>
资源描述

《PacketTracer实验全集.docx》由会员分享,可在线阅读,更多相关《PacketTracer实验全集.docx(83页珍藏版)》请在课桌文档上搜索。

1、PacketTracer5.0运用手册网络工程配置学习手册交换、路由基本通信学问教学网络材料计算机学院网络工程系)利2011-10-14收集整理书目PacketTracer5.0建构CCNA试验攻略一一在捏Cis交换机2PacketTracer5.0建构CCNA试验攻略(2)一配置V1.AN8PacketTracer5.0建构CCNA或脸攻略一一CiscoVTP11PacketTracerS.0建构CCNA试5金攻略(4)一一STP生成树协议ISPacketTracer5.0建构CCNA试验攻略一一W1.AN19PacketTracer5.0建构CCNA试验攻略(6)一一配过单个的路由器23P

2、acketTracer5.0电构CCNA式段攻略一一配置静态路由30PacketTracerS.0建构CCNA送5金攻略(8)一配置动态路由RIP32PacketTracerS-O建构CCNA试验攻略(9)一一CisocEIGRP36PacketTracer5.0建构CCNA试验攻略(10)一一配置单区域OSPF42PacketTracer5.0建构CCNA成脍攻略(11)一一路由港实现Vlan间通信49PacketTracerS.0建构CCNA送5金攻略(12)一一PPP52PacketTracer5.0建构CCNA试验攻略(13)一一帧中维FrameRelay56PacketTracer5

3、.0建构CCNA试蕤攻略(14)一一PAT(璃于端口的NAT)65PacketTracer5.0建构CCNA状脸攻略(15)一AC1.商洁的配置69PacketTracerS.0建构CCNA试验攻略(16)一一DHCP中继配置76PacketTracer5.0建构CCNA试验攻略配置Cisco交换机PacketTracer5.。是一款特别不错的CiSCo(思科)网络设条模拟器,对于想考思科初级认证(如CCNA)的学友们来说,PaCkzTraCer5.0是特别不错的选择。遹常我们四岗并没仃那么多思科的设饴供我扪学习调优.参与培训费用跟费,上机实戏的机会还是有限的.利用PaCketTraCer5.

4、0练习思科IOS操作吩咐很不错的。近日,在网上下载了思科CC26108Q2指导用书,准备侬据此教程与诸位网友共同共享PacketTraCer5.0的运用方法与技巧,也借此抛破引玉。要配置好CiSCo交换必须要熟识IOS吩咐及相关的学问。一、几种配置吩咐模式switch这种提示符表示是在用户吩咐模式,只能运用一些查看吩咐。switch4这种提示符表示是在特权吩咐模式。Switch(Config)U这种提示符表示是全局配置模式SWitch(config-if)*端口配置吩咐模式1Ienable11IfdizoblalcnablcIlconf匕InterconfigurationC。皿ands,on

5、eperline.Bndwith.学T离1(config)IhostnaaeCoroSVMpATtMBMCCmWTyCoraSli(Config)S1.ncorflCorcSUCconfg-if)图几种吩咐模式二、检查、查着吩咐这些吩咐是查看当前配理状况,通常是以ShoW(Sh)为起先的吩咐“ShOWVerSiOn查看IoS的版本、ShoWflaSh查看flash内存运用状况、ShoTmaC-address-lable查看MAC地址列表CoreStffshovversionCiscoIOSSoftware,C2960Softvare(C2960-1.NBSB-H,Version12.22S)F

6、,PB1.B3ESOFTVAUJCopyright1986-ZOOSbyCiscoSyCCoa公.Inc.CkplldWd12-0ct-0522:05byROH:C29OBoot1.oader(C2960-HB00T-K)Version12.2(2Sr)FrP.I1.BASZSOJIVMfc4)SystemreturnedtoPX)Mbypover三onClecoVS-CZ960-24TT(RC32300)processor(revisionCO)with21039KbysOfeaor24FatIchrn4tZBEX802.3intrface(三)ZGigabitEthernet/IBBE80

7、2.3interface(三)64KbytosoffIASh-SlMUlatednon-vol&tllconfIguratl9RiA,0uCf11senyaBateehernetMACAddress:OOOl.4397.DP14:73-932-06:341-0097-02HoherbordasseoiblyntmberPowersupplyparenux&bor图二CoreSVshflashDirectoryoftlfish:/-r-4414921noc2960-lanbftso-z.1ZZ-Z5.FX.bln急*”aftac-address-ableHacAddressTablVlanHac

8、AddressTypePorts1000d.bd8c.6cddDYNAMICFdO/2“fiq1OOdO.baa9.975cDYNAMICFaO/1Bbaucom*scn)vConStrW图四CoreSWfshov?PbootcdpclockdtpClAsh:historyhoszxIncerfacesipxac-addross-cbloport-securityprocessesrunning-conf19sessionsSpaxmmg-Cro0sartup-configCCPCArabinalusersversionvlanvtpCoreSVfshou图五Arptablehowboot,匕

9、r,buc3CDPxnforxationDisplaychosysceaclockDTPInforxationdisplay1ntorxk1onftboucflash:flla?yscaxPlsplaythefesionComndhistoryIPdoaxn-naxclookupseylrn1.XxcscrversrandhoszcableIncerfacaStaCUSAndconfIguracionIPinforaationMACforvardngCato1。ShowfcurPoxxlnforBaionActIvcproccz三satiscicsCurrencOPWSngconfigurat

10、ionInformationabout-Telnet-connectionsSPanmngzxqqtopologyContendsofSstXUPconfigurationSZaZSofTCPCoxmectMons,DisplayCeralnAlconfl9urfttl0n数字空间DXSPIaVinformationaboutSrmSenyaSyst&hrdvaraandsotevarascacusVTP71.A11StNUgVTPnforxatonShow?帮助吩咐显示当前全部的住看吩咐CoraSUfshovIntortacotA1.FastEthernetOZlisup,lineproto

11、colisup(connected)Hardvarais1.anca,addressisOOaO.8t7c.4b01(baOOoO.8f7c.4b01)TnU1500bw”,BV100OOOKbsJD1.Y100Ou“c,reliability2SS2SS,txload12SS,rxload12SSIncapeulftClonAPPAxloopbacknotsecKeepaliveset-00:00:08.OUCPU匕00:00:05xouc.puhangnvr1.d七clearingOtshovinterfacc,*coxmtersneverZnpucqueu:07S00(si2/bax/d

12、rops/flushes);Totaloucpucdrops:0Queueingstrategy:fifoOupurqueue:0/40(sizq/uax)Ssinvteinputrate0bitssec0packes/secSaanutoutputrate0bssc,0packczs/sac556pcksInpucx193351byfr0nobutfrReceived966broadcasts,0runt,0giantsz0t冏ej落西敦字充同0Inputerrors0CRC/0frauax0overrun/0ignored.0abort0vatchdog,0xu-0Paminputhttp

13、.)bduCO11V*11ya0inputpacketstrithdrIbbIoconditiondcctd23S7packetsoutput,263570byes0Underrun30outputerror三z0collisions,XOinterfaceresets图六查看端口状态信息三、密码设置吩咐CiSC。交换机、路由器中有许多密码,设置好这些密码可以有效地提高设备的平安性.swiich(config)EnablePiISSWOrd设置进入特权模式进的密码Suitch(Config-Iine)可以设置通过ConSOIe端口连接设备及telnet远程登录时所须要的密码CoreSVfcon

14、fCBndRthCNT1.2.g4bmcomaeInterconfigurationcojindsroneperline.CorSVconfig)fnablpasswordablCorcSV(Config)#lincconsoleOCoreSV(passvordlineCoreSV(config-linelognCor0SV(conflg-llnJllneVCyO4CoreSVexitCoroSVconfg)W图七设置交换机的各种密码默认状况下,这些密码都是以明文的形式存储,所以很简洁查看到。为了避开这种状况,我们可以以密文的形式存储各种密码:serviCepassword-encryptio

15、nCoreSViIconf七SncorconfigurationCOlUI1.Ands.onep。Eline.BndvlchCW71.Z.CoreSVfservicepassvord-encryption.CoreStfl图九lineconOpassword702I4S400Cl091nIlineKyO4pasffuord708375857loginlinegySISloginM十分科C字会向http小ZidUcorrVseny.end图十密码以密文的形式存储四、配JKIP地址及默认网关CorStfconfC8ntcrUonfliat工OnCoxuiandsroneperline.BndVax

16、hCNT1.2.CoreStfSvichenSvitchtconfigConfiguringXroxxcorxkxnalzaoryzorncworktQrainal)?zEnterconfigurationcoat5ds.oneperline.IndulchCWT1./Z.Svitch(Config)tinkerfacefalSvxchCconfig-ItfdescriptMonlinkRouterASvcch(coneg-1OllnCQrtACQvlanlSultchconflg-ifylipAddress192.168.1.2255.255.255.0尚左邦德*敬?HSvitchlexit

17、hOp/.tubMuconVMnyaSvxtchCconfig)hoscnane2960Z960(config)ftpdofftulc-gazQvu19Z.168.1.1图十七2960dcscrpconlinkpc29600dascrlpcionlinkpci2960(config-if)tsuichporaodeccf2960(config-if)tsvichporport-security2960(confg-fJlsvitchport-port-securityxaxau1加+分算*m2960(Config-Ii)Jsvicchpoixpor-sccurtyviolationshutdo

18、vn,”xZ960(config-lf9图十八2960(config)#servi.cepa三svord-encryption2960(contig)fenablepassvordableZ960(config)IllneconsoleO2960(Config-IineXpassvordline2960Cconfig-linetlognZ960(confl9-ll11GlimavtyO4a*同ECMjCOVtM11e2960(config-line)!passwordvty2960(config-line4login2960(config-lnetext2960(conlicftl图十九296

19、OeUoPyrunning-configsrtup-confgDslnaionfflnwscarcup-config)?Buxidmgconfiguration.IOK296Oal图二十保存对交换机的配置PacketTracer5.0建构CCNA试验攻略配置V1.ANVlan(Virtual1.OCalAreaNelWork)即虚拟局域网。Y1.AN可以把同个物理网络划分为多个逻辑网段,因此.YIan可以抑制网络风暴,增加网络的平安性。一、实例拓扑图图一交换机CiSCo2960二、创建V1.AN在CiScoK)S中有两种方式创建vlan,在全局配置模式下运用VIanVlanid吩咐,如swit

20、ch(config)ttv1an10;在Vlandatabase下创建Vlan,如SWilCh(Vlan)Ylan20Switch*enSvltcMconfzBntQrconfigurationcoaxQnd:,oneperline.BndvthCUT1.2.Svitch(Confxg)hostnaxeCoreSWCoreSV(Config)Ivlan10CoreSU(confg-vlanHathCotraSU(Config-Vlan)BoxixCoreSV(Config)exit%SYS-S-COHFIGeI:ConfiguredfromconsolebyconsoleCoreSVtvlan

21、dacabsWarning:Xtasracoxd&ondadcoConfigruroV1.AKfrogconfigIlOdo.azV1.ANdatabasesiodaisbeingdeprecated.PlcascconsultuserdocuaentationforconfiguringVTP/V1.ANinconfignode.CovqSV(vlan)0vl0n20naxQChinosoV1.AU20added:Naoie:Chinesehttp7baidu.co11VsenyaCoreSV(Vlan)0vlan30naxOherV1.AM30addAd:2a0:Ohor图二创建VIan三

22、、把端口划分给vlan(蓦于*口的Vlan)switch(Config)Sinterfacefastethcrnctl进入端口配置模式SWitCh(COnfig-if)#SWitChPOrtmodeaccess配置端口为acc。SS模式switch(config-if)#swiIchportaccessvlan10把端口划分到VIanloCoreSVenCoreSVlconfCEnterconfigurationCO皿ands.oneperlln9.BndwithCNT1.Z.CoroSV(cont19IriZQrtACQfalCoroSV(Config-Xf)svtchpoXnodacces

23、sCoreSV(config-xf)Iswitchportaccessvlan10Kli?*a多夕局M46MSUCOHMWY,.Core3V(config-if)finderfacefa7CoreSV(eonfig-if)svicchportModeaccessCoreSVCconflg*1f)0gvlchportaccessvlan10CoroSV(conflg-f)图三假如一次把多个端口划分给某个Vlan可以运用interfaCerange吩咐.CoreSW(config-xf)xMerfaccrangea0/2-4CoreSWconfig-if-range)tswitchportnode

24、accessCore3三confIg-If-rang)SsvlcchporaccessvlanZOCorSW(conflg-if-rang)0meetfaceIrangoCaO/5-6CoraStfsutchporcmod。accqssCorcSV(Config-If-VQngQ)WicchpoxXaccessvlan30CoreSWCconfig-if-range)图四四、查着Vlan信息SWitCh#ShoWvlanCoreSVfshvl&nV1.AMKoxqSzazsPorts1defaultactiveFa08,Fa09zFaOZlOrFaO/11FaO/12,Fa013,Fa014,

25、Fa015y016xPa017.Fa018,F*019Fa020zFaOZl#Fa022,FaOZ4rGigllzGigl/ZFa02310MathactiveFOlzFa0720ChineseactiveFa02rFa03,F0430OtheractiveFaOSrFa061002fddi-dfault.aciv1003Co)Cfrfng-1010021010031500ISOO一一三http/hitadubmsny-001004nt.101004ISOO一-001005ntIOlOOS1500一-00图五CoreSWIshouvlftnbrlofV1.ANNaxeStatusPorts1d

26、efaultactiveFa08r7a09xFa010zFaO/11FO12zF013F014,FftO/lSFa016zF017zFftO18zPaO/19Fa020,FaO21,Fa022,Fa023PaO/24,GAgJ1.,Glgl/210HaChACriVQFaOl,Fa0720ChineseactiveF02zFdO/3,PQO/4301002Otherfddl-dfaulc.activeactive数字&A!1003coteen-rng-dQfaultactivehttphbaduco11vsenya1004fddmoc-dfulxactive100S匕met-defauleac

27、tiveCoreSWf图六showvIanbrief查看VIan简明信息CoraSVfshouvlnid10V1.AMWaneStatusPorts10MathAccvQFaOlr7a07V1.AMTypeSA11HTUParentRingNoBridgeN。S匕PBrdgHodeTranslTransZ10QMZ100OlO1500.00CoreSVIshvlanid30V1.AJJ3StatusPors30OtheractiveFdo/S冏项可用数字空闻V1.AJJTypeSAIDHTUParencRingNoBridgeNo耻Jl(zU网跑的in%an5230cnct100030ISOO

28、图七查看id为IO的VlanCoreOTshowvlannaxeV1.AMHoneHathSCfttUffPores10U1.AHKathTypSAZDMTUParonractiveFaOZlzPn9MoBridgoNoSepFa07BrdgModoTranslTr&ns210Cne100OlOCoroSU0shouVlAnnaxQV1.AUHaIIeISOOOther,StatusPorts0O30V1.AHOtherTypeSAIDMUParent-activeT&Q/S,PmgNoBridgToStpFaO/6BrdgHodeTronslTransZ30enec100030CorcSUs

29、howvlannaneV1.AWH3Q1500-ChineseP”“用十灯傅OO鼠字再用20V1.AWChxnosaTypSAIDKTUParentIujii11.Mdvuu.uww9fy0activcFd02,Pa03rFaO/4PlnpJoBrldgeHoSzpBrdgHodeTranslTransZ图八通过VIHn的名字查看VIan五、M除配置CoroSU(Config)0ntorfcoC&0/8CoraSU(Config-If)#nozwtchportaccessvlon40CoreSV(configa*if#exiCoreSU(Config),exit图九把第O个模块中的第8个端口从

30、VIan40中超除CoreSVfvlandatabase*Varntng:It-isreconmendedtoconfijureV1.AMfronconfigmode,asV1.ANdatabasenodeisbeingdeprecated.PleaseconsultuserdocuencationforconfiguringVTP/V1.AWinconfignode.CorSV(vlan)Inovlan40Wq.yDolo七XngV1.AN40.(BW三fCorQStf(VlAn)9图十一除VIan40我们还可以为诲个VIan配置ip地址。PacketTracer5.0建构CCNA试验攻略C

31、iscoVTPVTP(VIanTrunkProtocol)即V1.AN中继协议。VTP通过网络(IS1.帧或cisco私有DTP帧)保持V1.AN配置统性。VTP在系统级管理增加.捌除,调整的V1.AN,自动地将信息向网络中其它的交换机广播.此外,VTP减小了那些可能导致平安问题的配置.便于管理,只要在VtPSorVer做相应设置,vtpclient会自动学习vtpserver上的Vlan信息。一、实例拓扑图图一核心交换机CiSCO3560二、MVTP核心交换机CiSCO3560配置为VtPServer,vtpdomain为Senya。CoreSVjIvlandatabase%Varning:

32、ItisIreCOmendedt。configureV1.ANfroxconfigaoderasV1.AKdatabaseModeisbeingdeprecated.PleaseconsulsusrdocuanrazonforconfiguringVTPV1.Ninconfigod.Core3V(vlan)#vtpdomainDoualnnicialreadystCoroSV(vlan)fvcpserverDevicexodealreadyVTPCoreSV(Vlan)#senyatoseny.SBVR.角十号*夕少同Mf*uumMHa图二CoroSU(confg-l)finefa0/1Cor

33、oSU(confg-)tsvrchportxodtrunkCoroSV(confg-#intid0/2CoreSV#sVitchport-xodetrunkprotocolonInterfaceascIthrntbZ-charededscate匕2EZcomM11v*1.inBPROTO-S-UPDOVK:1.ineprotocolonInterfaceFastIthernecOZZzchangedstatetodown1.I11HPROTO-S-UPDOUN:OupCoroSU(confg-if)图三配置trunk链路,允许带VIan标记的以太网帧通过该链路SMISan)BVtPdomain

34、senyDouainnwalreadyseccosenya.SWl(vlan)IvtpclientSctcingdevicetoVTPC1.IXNTxiodo.:,:SVl(6皿),图四配置汇聚层(接入层)交换机SWZelftn)PKPdomainSQnyADouAinnatQalreadysqztosonya.SVZvlan)$vtpclientSettingdevice匕。V7PC1.IENTnode.”SW2(vlan)图五StfltconftInterconfxgurationUO皿and,oneperlm.EndVithCDT1./Z.SVl(config)!lingerfacea0

35、/3SWl(config-i)fsvit,chportnodetrunk.7.arrSWl(Conflg-If)t-图六三、创建VIan及螭口划分CoreSVIvlandatabasedarning:Itisrec。D1.XIendedtoconfigureV1.AWfromconfigmode,asV1.ANuserdocux&ncaciontorconfiguringVTPV1.A11inc0nCl9*ode.jCorcSV(vlan)#vlanZWA*teMuV1.KOOO3CCXV1002tdfll-d*zlcACC1V1003okn*ring*swcchportO1.OdCacces

36、sSUl(configf)swxchportaccessvlan2SUl(config-if)图九划分端口2ndwithCNT1.2.It*at四、配置PC及测试Vlan、1C1PHyatiCMlUOnnQw*ktopDuplwxQMtUglXMACAdaresvIPCorGjr-torODHCPstaticJPAclcir三Sutr*a*tMakl*vConfiQuranonl.rk1.ocjIArddrBMAXOOOO.3S.AFB31QN.ltQ.1.1125.2ss.2ss.0图十为PC配置ip地址PClpoonf1XIPKywlCMlAddk.TPAday8ubn1pmvX9Z.ie

37、.1.ZZP*nlng192.1.22wcH32toyofdP:ReplyRP1VMpAyPeplyfroafrofro三froa19Z.l.1.ZZ:192.1O.1.Z2:-168.1.22:1.9.l.1.ZZ:ty三-Zby*32byc032ky32xm-94aTT1.-1OUXat12CMJ1.O,TTt1281.-zeM*M夕+制、Q*7tutMllMCCMTlz.PtytcAc*0for192.1.22:Pck:Sentr三4,deceived1.bO(0loApproxlakMt:*romderxpydinax111Bcond:WhlKl*18bvu*940.HaxIkaiASk-12Suea,Avtg-112uPCA图十一本网段内互PingCoreSV(Config)MCoroSV(contig)fineVlAnZCorcSV

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 在线阅读 > 生活休闲


备案号:宁ICP备20000045号-1

经营许可证:宁B2-20210002

宁公网安备 64010402000986号