当前位置:首页 > ping命令参数详解
-a Select source IP address 在中间加源地址,如楼上所说 -c Specify the number of echo requests to be sent 确定发多少包 -f Specify packets not to be fragmented 确定的包,不会被分片 -h Specify TTL value for echo requests to be sent 设置特殊的TTL值,默认是255
-i Select the interface to send the packets 选定一个接口发出去 -m Specify the interval in milliseconds to send packets 设置间隔时间发送
-n Numeric output only. No attempt will be made to lookup host addresses for symbolic names
-p No more than 8 \ sent packet. For example, -p f2 will fill the sent packet with 000000f2 repeatedly
-q Quiet output. Nothing will be displayed except for the summary lines.
-r Record route. Include the RECORD_ROUTE option in the ECHO_REQUEST packets and display the route -s Specify the number of data bytes to be sent -t Specify the time in milliseconds to wait for each reply -tos Specify TOS value for echo requests to be sent
-v Display the received ICMP packets other than ECHO-RESPONSE packets.
-vpn-instance Specify VPN-Instance of MPLS VPN
STRING<1-20> IP address or hostname of a remote system ip IP Protocol ipv6 IPv6 Protocol
共分享92篇相关文档