您現在的位置是:首頁 >綜合 > 2023-07-22 17:00:08 來源:
ping命令的使用格式(ping命令的使用)
大家好,我是小華,我來為大家解答以上問題。ping命令的使用格式,ping命令的使用很多人還不知道,現在讓我們一起來看看吧!
你好,這個命令的使用方法:
ping只有在安裝了TCP/IP協議以后才可以使用:?
ping [-t] [-a] [-n count] [-l length] [-f] [-i ttl] [-v tos] [-r count] [-s count] [-j computer-list] │ [-k computer-list] [-w timeout] destination-list?
Options:?
-t Ping the specified host until stopped.To see statistics and continue - type Control-Break;To stop - type Control-C.?
不停的ping地方主機,直到你按下Control-C。?
此功能沒有什么特別的技巧,不過可以配合其他參數使用,將在下面提到。?
其實我們用到的最多的,就是檢測下我們要ping的主機能不能通:
使用命令: Ping 192.168.1.10 這個是事例,也就是檢查能不能與這個ip的設備通訊的
如果能通訊就會顯示相關的參數,延時等結果的。
-a Resolve addresses to hostnames.?
解析計算機NetBios名。?
示例:C:\ping -a 192.168.1.21?
Pinging iceblood.yofor.com [192.168.1.21] with 32 bytes of data:?
Reply from 192.168.1.21: bytes=32 timeping -n 50 202.103.96.68?
Pinging 202.103.96.68 with 32 bytes of data:?
Reply from 202.103.96.68: bytes=32 time=50ms TTL=241?
Reply from 202.103.96.68: bytes=32 time=50ms TTL=241?
Reply from 202.103.96.68: bytes=32 time=50ms TTL=241?
本文到此講解完畢了,希望對大家有幫助。