Microsoft DOS tracert command
Quick links
About tracert
Availability
Syntax
Examples
The tracert command is used to visually see a network packet being sent and received and the amount of hops required for that packet to get to its destination.
Users with Microsoft Windows 2000 and Windows XP who need additional information network latency and network loss should also consider using the pathping command.
The tracert.exe command is an external command that is available in the below Microsoft operating systems.
MS-DOS 6.2
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows
Vista
Windows 7
Windows Vista, 7, and 8 syntax
Windows XP and lower syntax
Windows Vista, 7, and 8 syntax
tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
Options:
| -d | Do not resolve addresses to hostnames. |
| -h maximum_hops | Maximum number of hops to search for target. |
| -j host-list | Loose source route along host-list (IPv4-only). |
| -w timeout | Wait timeout milliseconds for each reply. |
| -R | Trace round-trip path (IPv6-only). |
| -S srcaddr | Source address to use (IPv6-only). |
| -4 | Force using IPv4. |
| -6 | Force using IPv6. |
tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name
Options:
| -d | Do not resolve addresses to hostnames. |
| -h maximum_hops | Maximum number of hops to search for target. |
| -j host-list | Loose source route along host-list. |
| -w timeout | Wait timeout milliseconds for each reply. |
Below is an example when we used tracert on www.computerhope.com. As you can see in the below example, we had a very short list and time to get to its destination because of the location we are.
tracert computerhope.com
| 1 | 169 ms | 190 ms | 160 ms | slc1-tc.xmission.com [166.70.1.20] |
| 2 | 159 ms | 160 ms | 190 ms | cisco0-tc.xmission.com [166.70.1.1] |
| 3 | 165 ms | 189 ms | 159 ms | www.computerhope.com [166.70.10.23] |
