Partager via


Using the tracert command

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Using the tracert command

If you are having connectivity problems, you can use the tracert command to check the path to the destination IP address that you want to reach and record the results. The tracert command displays the series of IP routers that are used in delivering packets from your computer to the destination and how long it took on each hop. If the packets are unable to be delivered to the destination, the tracert command displays the last router that successfully forwarded your packets.

For more information about the tracert command, you can type tracert -? at a command prompt.

The most common use of tracert is as follows:

tracertIP address [-d]

This returns a list of the routers that are crossed to get to IP address. By using the -d option, the router path is displayed faster because tracert does not try to resolve the names of the routers in the path.