Tracert command options
Following table lists the options available for tracert command. Tracert is a command tool available in Windows Operating Systems to trace the path followed by an IPv4 datagram to reach the destination computer from source computer. Please visit Traceroute/tracert command tool lesson to know how tracert command tool works.
Tracert command option | Description |
---|---|
/4 | /4 option is used to specify IPv4 protocol. |
/6 | /6 option is used to specify IPv6 protocol. |
/d | /d option can be used to prevent tracert command from resolving the IP addresses of routers to their names. Avoiding name resolution can speed up the display of tracert output. |
/h <Number-of-Hops> | /h option is used to specify maximum number of hops the tracert command should trace. default is 30 number of hops. |
/j <Hostlist> | /j option is used to specify the hostlist for Loose Source Route option in the IPv4 header. The Hostlist is a series of IPv4 addresses separated by spaces. |
/w <timeout> | /w option is used to specify the amount of time in milliseconds the tracert command should wait for the ICMP Time Exceeded or ICMP Echo Reply message to be received from destination. If ICMP Time Exceeded or ICMP Echo Reply message not received within the period, an asterisk (*) will be displayed. The default wait timeout is 4000 milliseconds (4 seconds). Please visit Traceroute/tracert command tool lesson to know more. |
/S <address> | /S option is used to specify source address to use in the ICMP Echo Request messages for tracing IPv6 addresses. |