Windows 2008 Ping Command Switches
-t Pings continuously until terminated by Ctrl+C. Press Ctrl+Break to view statistics. Perform extended testing or check for intermittent problems.
-a Resolves address to host name. Test name resolution and troubleshoot Hosts file.
-n count Specifies number of packets to send Perform extended testing.
-l size Specifies packet size in bytes; the default is 64, the maximum is 8,192 Check for packet fragmentation and response time.
-f Sets Don’t Fragment flag in packet Prevent routers from fragmenting packet.
-i ttl Sets packet time-to-live Increase timeout on slow connections.
-v tos Sets Type of Service field Specify type of action remote router should perform on the packet.
-r count Records packet route; specify from 1 to 9 Determine route of outgoing and incoming packets.
-s count Sets timestamp for number of hops specified by count Set current hop count for the packet.
-j HostList Routes packets using host list; specify maximum of 9 hosts Direct traffic through specific route; hosts can be separated by intermediate gateways (loose source route).
-k HostList Routes packets using host list Similar to -j but hosts can’t be separated by intermediate gateways (strict source route).
-w timeout Sets packet timeout in milliseconds Increase timeout value to overcome timeout on slow connections.
-R Traces a round-trip path Trace back to client; used on IPv6 only.
-S srcaddr Source address to use Specify source address to ping from; used on IPv6 only.
-4 Forces IPv4 Force ping to use IPv4; not necessary if specifying IPv4 address.
-6 Forces IPv6 Force ping to use IPv6. target_name Specifies remote host(s) to ping Specify destination to ping.