Using IPv6

On Windows XP a later, a new command-line tool is provided for configuring and managing IPv4. This tool uses the "netsh interface ip" command for configuring and managing IPv4.

On Windows XP with Service Pack 1 (SP1) and later, this new command-line tool was enhanced to support the configuration and management of IPv6. This enhanced tool is the "netsh interface ipv6" command. Configuration changes made using the Netsh.exe commands are permanent and are not lost when the computer or the IPv6 protocol is restarted.

The following command is available on Windows XP with SP1 and later to query and configure IPv6 on a local computer:

Prior to Windows XP with Service Pack 1 (SP1), IPv6 configuration and management used several older command-line tools to configure and manage IPv6. Using these older tools, the IPv6 changes are not permanent and are lost when the computer or the IPv6 protocol was restarted.

The following older commands are available on Windows XP

These older tools were also provided in the IPv6 Technology Preview for Windows 2000

Configuration changes using these older tools could be maintained by placing them as command lines in a command script file (.cmd) that is run after restarting the computer or the IPv6 protocol. To reinstate configuration changes automatically after restarting, is was possible to use the Windows Scheduled Tasks to run the .cmd file when the computer starts.

These older tools are not provided on Windows Server 2003 and later. The "netsh interface ipv6" tool is provided for configuring and managing IPv6 from the command-line on Windows Server 2003 and later.

Internet Protocol Version 6 (IPv6)

IPv6 Guide for Windows Sockets Applications