Ping command - detailed help

xiaoxiao2021-03-06  65

Ping command - detailed help

Check the connection with a remote computer or a local computer. This command is only available after installing the TCP / IP protocol.

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

parameter

-t

Check the connection to the specified computer until the user is interrupted.

-A

Resolve the address as the computer name.

-n count

Send a quantity of Echo packets by count, the default value is 4.

-l Length

Send Echo packets containing the length of the data by length. The default is 64 bytes, the maximum is 8192 bytes.

-f

Send a "no segment" sign in the package. The package will not be segmented by the gateway on the route.

-i TTL

Set the "Survival Time" field to the value specified by TTL.

-V TOS

Set the Service Type field to TOS specified.

-r count

Record the route issued and returned packets in the Record Routing field. The specified COUNT value can be minimum or 1, the maximum can be 9.

-s count

Specifies the time schedule for the number of forwardings specified by count.

-j Computer-List

The routing message by the computer list specified by Computer-List. The intermediate gateway may separate the continuous computer (loose source route). The number of maximum IP addresses allowed is 9.

-k computer-list

The routing message by the computer list specified by Computer-List. The intermediate gateway may be separated by a continuous computer (strict source route). The number of maximum IP addresses allowed is 9.

-w Timeout

Specifies the time division in milliseconds.

Destination-List

Specifies the remote computer to be verified.

Detailed information about ping

Ping - pay attention

The PING command is sent to the computer to the computer and the response message is listened to check with the remote computer or the local computer. For each send message, the ping waits for up to 1 second, and prints the number of sending and receiving the message. Compare each receive message and send packets to verify its validity. By default, four response packets are sent, each message contains 64-byte data (periodic capital alphanumeric sequences).

You can use the PING utility to test your computer name and IP address. If you can successfully check the IP address, you cannot successfully check your computer name, then there is a problem with the name resolution. In this case, to ensure that in the local HOSTS file or DNS

There is a computer name to query in the database.

The following shows an example of ping output: (Windows users available: Start -> Run, enter "command" to call up the Command window to use this command)

C: /> ping ds.internic.net

Pinging ds.internic.net [192.20.239.132] with 32 bytes of data:

Reply from 192.20.239.132: Bytes = 32 TIME = 101ms TTL = 243

Reply from 192.20.239.132: Bytes = 32 TIME = 100ms TTL = 243

Reply from 192.20.239.132: Bytes = 32 TIME = 120ms TTL = 243

Reply from 192.20.239.132: Bytes = 32 TIME = 120ms TTL = 243

转载请注明原文地址:https://www.9cbs.com/read-89838.html

New Post(0)