Pathping command options
Following table lists some important options available for pathping command. Pathping is a command tool available in Windows Operating Systems to trace the path followed by an IPv4 datagram to reach the destination computer from source computer, and then to calculate the packet loss and network latency between hops. Please visit pathping command tool lesson to know how pathping command tool works.
Pathping command option | Description |
---|---|
/4 | /4 option is used to specify IPv4 protocol. |
/6 | /6 option is used to specify IPv6 protocol. |
/n | /n option can be used to prevent tracert command from resolving the IP addresses of routers to their names. Avoiding name resolution can speed up the display of pathping output. |
/h <Number-of-Hops> | /h option is used to specify maximum number of hops the pathping command should trace. default is 30 number of hops. |
/g <Hostlist> | /g option is used to specify the hostlist for Loose Source Route option in the IPv4 header. The Hostlist is a series of IPv4 addresses separated by spaces. The maximum number of allowed addresses or names in the hostlist is 9. |
/p <period> | /p option is used to specify the number of milliseconds to wait between consecutive pings. The default is 250 milliseconds |
/q <numqueries> | /q option is used to the number of ICMP Echo Reply message sent to each router in the path. The default is 100 messages. |
/w <timeout> | /w option is used to specify the amount of time in milliseconds the pathping command should wait for the ICMP Time Exceeded or ICMP Echo Reply message to be received. The default wait timeout is 3000 milliseconds (3 seconds). Please visit Pathping command tool lesson to know more. |