pathping |
Combines the features of ping and tracert to trace packet loss due to routers over a routed path through an internetwork. pathping gives additional information that neither of these commands provides.
pathping [-n] [-h maxhops ] [-g hostlist ] [-p msec ] [-q queries ] [-w msec ] [- T] [-R] target
Does not resolve IP addresses to hostnames
Specifies maximum number of hops to traverse (the default is 30 hops)
Permits consecutive hosts to be separated by intermediate gateways along hostlist
Specifies how many milliseconds to wait between consecutive pings (default is 250 msec, or 0.25 sec)
Specifies number of queries issued to each host along the route (default is 100 queries)
Specifies how many milliseconds to wait for a reply (default is 3,000 msec or 3 seconds)
Checks which routers don't have layer-2 priority configured
Checks which routers support Resource Reservation Setup Protocol (RSVP)
Identifies hostname or IP address of remote target host
Use pathping to check for congestion along the route from test.mtitcanada.com to www.gov.mb.ca :
pathping -n www.gov.mb.ca Tracing route to www.gov.mb.ca [198.163.12.46] over a maximum of 30 hops: 0 205.200.52.64 1 205.200.52.1 2 205.200.52.6 3 205.200.28.66 4 205.200.27.54 5 192.35.252.242 6 198.163.12.46 Computing statistics for 150 seconds... Source to Here This Node/Link Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address 0 205.200.52.64 0/ 100 = 0% 1 128ms 0/ 100 = 0% 0/ 100 = 0% 205.200.52.1 0/ 100 = 0% 2 122ms 0/ 100 = 0% 0/ 100 = 0% 205.200.52.6 0/ 100 = 0% 3 138ms 0/ 100 = 0% 0/ 100 = 0% 205.200.28.66 15/ 100 = 15% 4 132ms 5/ 100 = 5% 6/ 100 = 6% 205.200.27.54 0/ 100 = 0% 5 124ms 7/ 100 = 7% 0/ 100 = 0% 192.35.252.242 1/ 100 = 1% 6 127ms 6/ 100 = 6% 0/ 100 = 0% 198.163.12.46 Trace complete.
pathping first displays the route taken to the remote target in the fashion of the tracert command. After an indicated period of time during which pathping collects necessary statistics, it displays the efficiency of the route by showing:
Local host 0. Each remote host along the route increments the hop count by 1.
Round-trip time along the route.
Cumulative packets lost by this point along the route, expressed as both a fraction and a percentage. pathping sends 100 ICMP packets to each host along the route, so the results are statistical (and therefore don't add up when comparing different hops).
Packets lost on this hop (between this host and the previous one), expressed as both a fraction and a percentage. There are actually two sets of results here:
Loss rates for routers (indicated with the IP address in the Address column). When this is high, the router is congested .
Loss rates for links (indicated with in the Address column). When this is high, the link is congested.
IP address of each host along the route.
ping , TCP/IP , tracert