Home > Commands N-Z > Commands T

TRACERT


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Trace Route - Find the IP address of any remote host.


Syntax

TRACERT /?

TRACERT [-4 | [-6 [-R] [-S source_address]] [-d] [-h max_hops] [-j host_list] [-w timeout] target_name


Parameters
target_name (NT3.5)
The HTTP or UNC name of the host.

Switches
/? (NTXP)
Displays help.
-4 (NT2003)
Use only IPv4 for this trace.
-6 (NT2003)
Use only IPv6 for this trace.
-d (NT3.5)
Do not resolve addresses to hostnames.
-h max_hops (NT3.5)
Maximum number of hops to search for target.
-j host_list (NT3.5)
Trace route along given host-list.
-R (NT2003)
Specifies that the IPv6 Routing extension header be used to send an Echo Request message to the local host, using the destination as an intermediate destination and testing the reverse route.
-S source_address (NT2003)
Specifies the source_address to use in the Echo Request messages.
-w timeout (NT3.5)
Wait timeout milliseconds for each reply.

Related

PING - Test a network connection.
PATHPING - Route Tracing tool (NT2000).
Equivalent Linux BASH commands:
trace - Find the IP address of a remote host.


Notes

none.


Examples
    TRACERT www.microsoft.com

    TRACERT 123.45.67.89

    TRACERT local_server

Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.5 NT4 NT2000 NTXP NT2003