资源描述:
《e1 2种经典打环测试方法》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、2种经典打环测试方法一.问题描述:经常遇到用户说路由器接好线缆后,两边不能通信;或者通信正常过一段时间,现在突然不能用了;另外就是网络时断时通。在遇到这种情况时,我们一般会先让用户看一下两端的2层封装协议是否相同(如:PPP或HDLC),IP是否在同一网段,电信打环是否证明两端线路良好。这些做完后,如果没有问题,哪么我们接下来要做的就是打环来测试。也就是我们接下来要介绍的方法。这里介绍的是用PPP协议。二.网络拓朴:第一步第二步第三步Adisints2/1Serial2/1currentstate:UPLineprotocolcurrentstate:DOWNDesc
2、ription:Serial2/1InterfaceTheMaximumTransmitUnitis1500,Holdtimeris10(sec)InternetAddressis192.168.2.2/24LinklayerprotocolisPPP,loopbackisdetectedLCPclosedOutputqueue:(Urgentqueue:Size/Length/Discards)0/50/0Outputqueue:(Protocolqueue:Size/Length/Discards)0/500/0Outputqueue:(FIFOqueuing:Size/Len
3、gth/Discards)0/75/0Physicallayerissynchronous,Loopback,Baudrateis64000bpsInterfaceisDCE,CabletypeisV35Last300secondsinputrate0.00bytes/sec,0.00packets/secLast300secondsoutputrate0.00bytes/sec,0.00packets/secInput:22packets,336bytesInput和Output的都相等。0broadcasts,0multicasts0errors,0runts,0giants0
4、CRC,0alignerrors,0overruns0dribbles,0aborts,0nobuffers0frameerrorsOutput:22packets,336bytes0errors,0underruns,0collisions0deferredDCD=UPDTR=UPDSR=UPRTS=UPCTS=UP结论:端口是好的。Bdisints2/1Serial2/1currentstate:UPLineprotocolcurrentstate:DOWNDescription:Serial2/1InterfaceTheMaximumTransmitUnitis
5、1500,Holdtimeris10(sec)InternetAddressis192.168.2.2/24LinklayerprotocolisPPP,loopbackisdetectedLCPclosedOutputqueue:(Urgentqueue:Size/Length/Discards)0/50/0Outputqueue:(Protocolqueue:Size/Length/Discards)0/500/0Outputqueue:(FIFOqueuing:Size/Length/Discards)0/75/0Physicallayerissynchronous,Loop
6、back,Baudrateis64000bpsInterfaceisDCE,CabletypeisV35Last300secondsinputrate0.00bytes/sec,0.00packets/secLast300secondsoutputrate0.00bytes/sec,0.00packets/secInput:22packets,336bytesInput和Output的都相等。0broadcasts,0multicasts0errors,0runts,0giants0CRC,0alignerrors,0overruns0dribbles,0aborts,0nobuf
7、fers0frameerrorsOutput:22packets,336bytes0errors,0underruns,0collisions0deferredDCD=UPDTR=UPDSR=UPRTS=UPCTS=UP结论:端口是好的。XY第四步三.网络说明:1.X,Y都是路由器。2.A,B是一般的协议转换器。在上面有一些打环的按钮。3.X到A一般通过是V24或V35线缆,4.A到B一般是光纤,租用电信的,这一部分就是电信打环时能确认电信哪端线路是否是好用的。注意: