Tests connections with network devices on TCP/IP networks.
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
| Parameters | |
|---|---|
| | |
| Parameter | Purpose |
| | |
| [−t] | Repeatedly pings the specified computer. |
| [−a] | Resolves IP addresses to computer names. |
| [−n count] | Sends the specified number of ECHO packets as defined by count. |
| [−l length] | Transmits ECHO packets of the specified length. |
| [−f] | Prevents packets from being fragmented by gateways. |
| [−i ttl] | Sets the TTL field to the specified ttl value. |
| [−v tos] | Sets the TOS field to the specified tos value. |
| [−r count] | Stores the route taken by outgoing packets and returning packets in the Record Route field. |
| [−s count] | Sets a timestamp for the number of hops as set by count. |
| [−j computer-list] | Routes packets by way of the list of computers specified by computer-list and permits consecutive computers to be separated by intermediate gateways. |
| [−k computer-list] | Routes packets by way of the list of computers specified by computer-list and prevents consecutive computers from being separated by intermediate gateways. |
| [−w timeout] | Specifies the time-out interval (in milliseconds). |
| destination-list | Specifies a list of target computers. |