您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 工作范文 > 实验十广域网协议配置
1实验十、广域网协议配置实验10.1PPP的配置【实验目的】了解点对点的广域网连接掌握PPP的配置【实验条件】2台PC、2台路由器【实验拓扑图】图11-1【实验步骤】1、按照拓扑图将设备连接正确,并为设备配置IP地址,在DCE向DTE配置时钟频率。2、具体配置3、ppp命令汇总Router(config)#configterminalRouter(config)#Interfaceserial0Router(config-if)#encapsulationpppRouter(config-if)#compress[predictor|stacker]192.200.10.1192.200.10.2S0(DCE)(DTE)S0Router1Router2Router1:hostnamerouter1usernamerouter2passwordxxxinterfaceSerial0encapsulationpppipaddress192.200.10.1255.255.255.0clockrate1000000pppauthenticationchap!Router2:hostnamerouter2usernamerouter1passwordxxxinterfaceSerial0encapsulationpppipaddress192.200.10.2255.255.255.0pppauthenticationchap/*注:两个路由认证协议必须相同*/2Router(config-if)#pppqualitynumber_1-100Router(config-if)#pppmultilinkRouter(config)#hostnamenameRouter(config)#usernamenamepasswordpasswordRouter(config-if)#encapsulationpppRouter(config-if)#pppauthentication{chap|chappap|papchap|pap}实验10.2ISDN的配置【实验目的】配置ISDN交换机类型配置dialer-group及dialer-list【实验条件】路由器2台,分别命名为R1和R2,要求每台路由器具有1个ISDNBRI接口。2条ISDN线路和相应的NT1及线缆;1台终端服务器,如Cisco2509路由器,及用于反向Telnet的相应电缆;1台带有超级终端程序的PC机,以及Console电缆及转接器。【实验拓扑图】图11-2【实验步骤】1、本实验虽说是最基本的ISDN实验,但它涉及到ISDN配置的关键技术,尤其是有效的监测和查看命令对调试非常重要。2、设备和线缆连接好之后,打开所有设各的电源,开始进行实验。配置清单7-1记录了本实验的操作过程。配置清单7-1ISDN的基本配置第1段:配置ISDN类型并查看其状态R1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#isdnswitch-type?basic-1tr61TR6switchtypeforGermany3basic-5essLucent5ESSswitchtypefortheU.S.basic-dms1OONorthernTelecomDMS-100switchtypefortheU.S.basic-net3NET3switchtypeforUK,Europe,AsiaandAustraliabasic-niNationalISDNswitchtypefortheU.S.basic-qsigQSIGswitchtypebasic-ts013TS013switchtypeforAustralia(obsolete)nttNTTswitchtypeforJapanvn3VN3andVN4switchtypesforFranceR1(config)#isdnswitch-typebasic-net3R1(config)#intbri0R1(config-if)@iioshutR1(config-if)#^ZR1#shisdnstatusGlobalISDNSwitchtype=basic-net3ISDNBRIOinterfacedsL0,interfaceISDNSwitchtype=basic-net3Layer1Status:ACTIVELayer3,Status:TEI=70,Ces=1,SAPI=0,State=MULTIPLE_FRAME_ESTABLISHEDLayer3Status:0ActiveLayer3Call(s)Activedsl0CCBs=0TheFreeChannelMask:0x80000003NumberofL2Discards=0,L2SessionID=5TotalAllocatedISDNCCBs=0R1#[Resumingconnection1R2]R2#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R2(config)#isdnswitch-typebasic-net3R2(config)#intbri0R2(config-if)#noshR2(config-if)#^ZR2#R2#shisdnstatusGlobalISDNSwitchtype=basic-net3ISDNBRIOinterfacedsl0,interfaceISDNSwitchtype=basic-net3Layer1Status:ACTIVELayer2Status:TEI=66,Ces=1,SAPI=0,State=MULTIPLE_FRAME_ESTABLISHED4Layer3Status:0ActiveLayer3Call(s)Activedsl0CCBs=0TheFreeChannelMask:0x80000003TotalAllocatedISDNCCBs=0R2#conft第2段:配置R1路由器R1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#intbri0R1(config-if)#ipaddr192.168.1.1255.255.255.0R1(config~if)#encapsulationpppR1(config-if)#dialerstring80000002R1(config-if)#dialer-group1R1(config-if)#exitR1(config)#diaaer-list1protocolippermitR1(config)#^ZR1#第3段:配置R2路由器R2#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#intbri0R2(config-if)#ipaddr192.168.1.2255.255.255.0R2(config-if)#encappppR2(config-if)#dialerstring80000001R2(config-if)#dialer-group1R2(config-if)#exitR2(config)#dialer-list1protippermitR2(config)#^ZR2#第4段:测试配置结果R1#shintbri0BRIOisup,lineprotocolisup(spoofing)HardwareisBRIInternetaddressis192.168.1.1/24MTU1500bytes,BW64Kbit,DLY20000usec,reliability255/255,txioad1/255,rxioad1/255EncapsulationPPP,loopbacknotsetLastinput00:00:05,output00:00:05,outputhangneverLastclearingofshowinterfacecounters02:25:35Inputqueue:0/75/0/0(size/max/drops/flushes);Totaloutputdrops:0Queueisigstrategy:weightedfairOutputqueue:0/1000/64/0(size/maxtotal/threshold/drops)Conversations0/1/16(active/maxactive/maxtotal)ReservedConversations0/0(allocated/maxallocated)5minuteinputrate0bits/sec,0packets/sec55minuteoutputrate0bits/sec,0packets/sec0packetsinput,0bytes,0nobufferReceived0broadcasts,0runts,0giants,0throttles0inputerrors,0CRC,0frame,0overrun,0ignored,0abort0packetsoutput,0bytes,0underruns0outputerrors,0collisions,0interfaceresets0outputbufferfailures,0outputbuffersswappedout0carriertransitionsR1#shintbri0:1BRIO:1isdown,StiseprotocolisdowNHardwareisBRIMTU1500bytes,BW64Kbit,DLY20000usec,reliability255/255,txioad1/255,rxioad1/255EncapsulationPPP,loopbacfenotsetKeepaliveset(10see)LCPClosedClosed:IPCPLastinputnever,outputnever,outputhangneverLastclearingofshowinterfacecountersneverInputqueue:0/75/0/0(size/max/drops/flushes);Totaloutputdrops:0Queueingstrategy:fifoOutputqueue:0/40(size/max)5minuteinputrate0bits/sec,0packets/sec5minuteoutputrate0bits/sec,0packets/sec0packetsinput,0bytes,0nobufferReceived0broadcasts,0runts,0giants,0throttles0inputerrors,0CRC,0frame,0overrun,0ignored,0abort0packetsoutput,0bytes,0underruns0outputerrors,0collisions,3interfaceresets0outputbufferfailures,0outputbuffersswappedout0carriertransitionsR1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#loggconR1(config)#^ZR1#R1#debugdialerDialondemandeventsdebuggingisonR1#ping192.168.1.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.2,timeoutis2seconds:602:27:36:BRO
本文标题:实验十广域网协议配置
链接地址:https://www.777doc.com/doc-2531624 .html