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.

Related Tutorials
Introduction to TCP/IP, Features of TCP/IP, TCP/IP History, What is RFC (Request for Comments)
Seven Layers of OSI Model and functions of seven layers of OSI model
Five layered TCP/IP model
Network Layer (Layer 3)
TCP/IP Data Encapsulation and Decapsulation
Datalink Layer (Layer 2)
Ethernet Frame Format
What is MAC address or Layer 2 address or physical address
IPv4 Protocol, IPv4 header and fields of IPv4 header
IPv4 addresses, IPv4 Address Classes, IPv4 Address Classifications
What is Subnet Mask
What is network address
Limited broadcast address
Directed broadcast address
What is limited broadcast in IPv4 and how limited broadcast works
What is directed broadcast in IPv4 and how directed broadcast works
What is default gateway
What are private IP addresses - RFC 1918 private addresses
APIPA Addresses (Automatic Private IP Addresses)
What is loopback address in IPv4
What is localhost
Class A networks and Class A IP addresses
Class B networks and Class B IP addresses
Class C networks and Class C IP addresses
Class D multicast IP addresses
Subnetting - Part 1
Subnetting - Part 2
Subnetting - Part 3
Subnetting - Part 4
Subnetting - Part 5
Subnetting - Part 6
Variable Length Subnet Masking, VLSM, IP V4 Subnetting, subnetting tutorials, IP study guides, IP documentation, IP tutorials
Supernetting, IP Supernetting, IP Supernetting tutorial, How to Supernet, Supernetting Guide, Supernetting Concepts
How to find out the Network Address and Broadcast Address of a subnetted IPv4 address
Address Resolution Protocol Tutorial, How ARP work, ARP Message Format
Internet Control Message Protocol, ICMP, How ICMP Work, ICMP Header, ICMP Message Header
ICMP message types
ICMP Echo Request and Echo Reply messages
ICMP Destination Unreachable messages
ICMP Source Quench messages
ICMP Router Advertisement messages
ICMP Router Solicitation messages
ICMP Time Exceeded messages
ICMP Parameter Problem messages
ICMP Timestamp Request and Timestamp Reply messages
ICMP Photuris messages
Ping command tool
Ping command options
How to show remote computer name in ping command output
How to ping continuously
How to specify the number of packets sent in ping command
How to specify the size of data to send in ping command
What is Ping of death (PoD) network attack
Traceroute/tracert command tool
Tracert command options
Pathping command tool
Difference between ping, traceroute/tracert and pathping