HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tracert — Receive information about each step in the route between your PC and the target. More information: <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandreceivestepcliinformationtracertabouteach
windows

Problem

How to use the tracert command: Receive information about each step in the route between your PC and the target. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tracert>.

Solution

tracert — Receive information about each step in the route between your PC and the target. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tracert>.

Trace a route:
tracert {{IP}}


Prevent tracert from resolving IP addresses to hostnames:
tracert /d {{IP}}


Force tracert to use IPv4 only:
tracert /4 {{IP}}


Force tracert to use IPv6 only:
tracert /6 {{IP}}


Specify the maximum number of hops in the search for the target:
tracert /h {{max_hops}} {{IP}}


Display help:
tracert /?

Code Snippets

Trace a route

tracert {{IP}}

Prevent `tracert` from resolving IP addresses to hostnames

tracert /d {{IP}}

Force `tracert` to use IPv4 only

tracert /4 {{IP}}

Force `tracert` to use IPv6 only

tracert /6 {{IP}}

Specify the maximum number of hops in the search for the target

tracert /h {{max_hops}} {{IP}}

Context

tldr-pages: windows/tracert

Revisions (0)

No revisions yet.