资源描述:
《wy00100060 网络设备基本调试》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、网络设备基本调试网络设备基本调试日期:杭州华三通信技术有限公司版权所有,未经授权不得使用与传播H3C网络学院v3.0引入�按照初始目标组建配置完互联网络后,首要的任务是检查网络的连通性�为定位网络设备协议或控制参数的配置错误或运行故障,需要使用调试信息课程目标学习完本课程,您应该能够:�掌握用ping、tracert命令检查系统连通性�掌握使用debug等命令进行网络系统基本调试的方法目录�网络连通性测试�系统调试ping命令的输出[RTA]ping192.168.3.1PING192.168.3.1:56d
2、atabytes,pressCTRL_CtobreakReplyfrom192.168.3.1:bytes=56Sequence=1ttl=254time=28msReplyfrom192.168.3.1:bytes=56Sequence=2ttl=254time=28msReplyfrom192.168.3.1:bytes=56Sequence=3ttl=254time=28msReplyfrom192.168.3.1:bytes=56Sequence=4ttl=254time=27msReplyfrom1
3、92.168.3.1:bytes=56Sequence=5ttl=254time=28ms---192.168.3.1pingstatistics---5packet(s)transmitted5packet(s)received0.00%packetlossround-tripmin/avg/max=27/27/28mswww.h3c.com使用ping命令ping?-aSelectsourceIPaddress-cSpecifythenumberofechorequeststobesent-fS
4、pecifypacketsnottobefragmented-hSpecifyTTLvalueforechorequeststobesent-iSelecttheinterfacetosendthepackets-mSpecifytheintervalinmillisecondstosendpackets-nNumericoutputonly.Noattemptwillbemadetolookuphostaddressesforsymbolicnames-pNomorethan8"pad"hexadecima
5、lcharacterstofilloutthesentpacket.Forexample,-pf2willfillthesentpacketwithfand2repeatedly-qQuietoutput.Nothingwillbedisplayedexceptforthesummarylines.-rRecordroute.IncludetheRECORD_ROUTEoptionintheECHO_REQUESTpacketsanddisplaytheroute-sSpecifythenumberofdat
6、abytestobesent-tSpecifythetimeinmillisecondstowaitforeachreply-tosSpecifyTOSvalueforechorequeststobesent-vDisplaythereceivedICMPpacketsotherthanECHO-RESPONSEpackets.STRING<1-20>IPaddressorhostnameofaremotesystemipIPProtocolipv6IPv6Protocolwww.h3c.comtracert
7、命令的输出[RTA]tracert192.168.3.1tracerouteto192.168.3.1(192.168.3.1)30hopsmax,40bytespacket,pressCTRL_Ctobreak1192.168.1.217ms17ms17ms2192.168.2.218ms19ms19ms*Oct117:11:02:9732008RTAIPFWD/7/debug_case:Sending,interface=Serial6/0,version=4,headlen=20,tos=0,pktle
8、n=40,pktid=30003,offset=0,ttl=1,protocol=17,checksum=48959,s=192.168.1.1,d=192.168.3.1*Oct117:11:03:4072008RTAIPFWD/7/debug_case:Sending,interface=Serial6/0,version=4,headlen=20,tos=0,pktlen=40,pktid=3