Partilhar via


Trace an IPv6 path by using the tracert command

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

To trace a path by using the tracert command

  • Open Command Prompt, and type the following:

    tracert -d -6HostName

    Or, type tracertIPv6Address**%**ZoneID

where:

  • HostName is the host name of the remote computer.

  • IPv6Address is the IPv6 address of the remote computer.

  • ZoneID is the zone identifier (ID) for the destination address. The zone ID for link-local destination addresses is typically the interface index of the interface from which you want to send tracert packets. You can obtain the interface index from the display of the netsh interface ipv6 show interface command. The zone ID for site-local destination addresses is the Zone ID for Site from the display of the netsh interface ipv6 show interface level=verbose command. If you are not using site identifiers or have only a single site, the **%**ZoneID portion of the command for site-local addresses is not required. The **%**ZoneID portion of the command is not required for global destination addresses.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • For IPv6, the tracert command traces the path taken by IPv6 packets from this computer to another remote computer. The tracert command uses ICMPv6 Echo Request messages (similar to the ping command) to produce command-line report information about each router that is crossed and the roundtrip time for each hop.

  • If tracert is unsuccessful, you can use the command-line report information to determine at which intermediate router forwarding either failed or was slowed.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Internet Control Message Protocol for IPv6 (ICMPv6)
IPv6 Name resolution
Single subnet with link-local addresses
IPv6 traffic between nodes on different subnets of an IPv6 internetwork
Troubleshooting IPv6
IPv6 utilities
Test an IPv6 configuration by using the ping command
View the interface configuration