Example usage for tracert.
tracert -d example.comTrace the network route toward a destination host.
tracert [/d] [/h <maximumhops>] [/j <hostlist>] [/w <timeout>] [/R] [/S <srcaddr>] [/4][/6] <targetname>The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example usage for tracert.
tracert -d example.comExample from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
tracert www.microsoft.comExample from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
tracert /d www.microsoft.comExample from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
tracert /j 10.12.0.1 10.29.3.1 10.1.44.1 www.microsoft.com| Option / clause | Description |
|---|---|
/d | Skip reverse name resolution for intermediate routers. |
/h <maximumhops> | Set the maximum hop count; the default is 30. |
/j <hostlist> | Use IPv4 loose source routing through up to nine intermediate addresses. |
/w <timeout> | Set the wait time in milliseconds for each reply; the default is 4000. |
/R | Use the IPv6 routing extension header to test the reverse route. |
/S <srcaddr> | Use the specified source address for an IPv6 trace. |
/4 / /6 | Force IPv4 or IPv6 for a name-based destination. |
<targetname> | Specify the destination host name or IP address. |
/? | Display command help or the supported command-line usage. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.