Updating IPv6.exe Commands to Netsh equivalent

for Windows Server 2003 and later

Source: Microsoft                                          Posted: August 15, 2002           

 

Internet Protocol version 6 (IPv6) for Windows XP and Windows XP with Service Pack 1 (SP1) includes the Ipv6.exe tool, which is used to configure the IPv6 protocol. If you installed SP1 Express for XP, download the Advanced Networking Pack and use Ipv6.exe commands. For Windows Operating Systems later than XP, the Ipv6.exe commands are being replaced with commands in the netsh interface ipv6 and netsh interface ipv6 isatap contexts.

The Ipv6.exe tool is not included in the Windows Server 2003 family, scripts that contain Ipv6.exe commands should be updated with the appropriate Netsh commands. For Windows Server 2003 use this link to download the Windows Documentation: Download.  How-To install Ipv6 for XP here and for Windows Server 2003 here.

Ipv6.exe Command Netsh equivalent
ipv6 install netsh interface ipv6 install
ipv6 uninstall netsh interface ipv6 uninstall
ipv6 [-v] if [IfIndex] netsh interface ipv6 show interface
[[interface=]String] [[level=]{normal |
verbose}] [[store=]{active | persistent}]
ipv6 ifcr v6v4 V4Src V4Dst [nd] [pmld] netsh interface ipv6 add v6v4tunnel
[[interface=]String]
[localaddress=]IPv4Address
[remoteaddress=]IPv4Address
[[neighbordiscovery=]{enabled |
disabled}] [[store=]{active |
persistent}]
ipv6 ifcr 6over4 V4Src netsh interface ipv6 add 6over4tunnel
[[interface=]String]
[localaddress=]IPv4Address
[[store=]{active | persistent}]
ipv6 ifc IfIndex {[forwards] | [-
forwards]} {[advertises] | [-
advertises]} [mtu #Bytes] [site
SiteIdentifier]
netsh interface ipv6 set interface
[[interface=]String]
[[forwarding=]{enabled | disabled}]
[[advertise=]{enabled | disabled}]
[[mtu=]Integer] [[siteid=]Integer]
[[metric=]Integer] [[store=]{active |
persistent}]
ipv6 ifd IfIndex netsh interface ipv6 delete interface
[[interface=]String] [[store=]{active |
persistent}]
ipv6 adu IfIndex/Address [life
ValidLifetime[/PrefLifetime]] [anycast]
[unicast]
netsh interface ipv6 add address
[[interface=]String]
[address=]IPv6Address
[[type=]{unicast | anycast}]
[[validlifetime=]{Integer | infinite}]
[[preferredlifetime=]{Integer |
infinite}] [[store=]{active | persistent}]
ipv6 nc [IfIndex [Address]] netsh interface ipv6 show neighbors
[[interface=]String]
[[address=]IPv6Address]
ipv6 ncf [IfIndex [Address]] netsh interface ipv6 delete neighbors
[[interface=]String]
[[address=]IPv6Address]
ipv6 rc [IfIndex [Address]] netsh interface ipv6 show
destinationcache [[interface=]String]
[[address=]IPv6Address]
ipv6 rcf [IfIndex [Address]] netsh interface ipv6 delete
destinationcache [[interface=]String]
[[address=]IPv6Address]
ipv6 bc netsh interface ipv6 show
bindingcacheentries
ipv6 [-v] rt netsh interface ipv6 show routes
[[level=]{normal | verbose}]
[[store=]{active | persistent}]
ipv6 rtu Prefix IfIndex[/Address]
[lifetime Valid[/Preferred]] [preference
P] [publish] [age] [spl SitePrefixLength]
netsh interface ipv6 add route
[prefix=]IPv6Address/Integer
[[interface=]String]
[[nexthop=]IPv6Address]
[[siteprefixlength=]Integer]
[[metric=]Integer] [[publish=]{no | yes
| immortal}] [[validlifetime=]{Integer |
infinite}] [[preferredlifetime=]{Integer
| infinite}] [[store=]{active |
persistent}]
ipv6 spt netsh interface ipv6 show siteprefixes
ipv6 spu Prefix IfIndex [life L] netsh interface ipv6 add route
[prefix=]IPv6Address/Integer
[[siteprefixlength=]Integer]
[[store=]{active | persistent}]
ipv6 gp netsh interface ipv6 show global
[[store=]{active | persistent}]
ipv6 [-p] gpu DefaultCurHopLimit
Hops
netsh interface ipv6 set global
[[defaultcurhoplimit=]Integer]
[[store=]{active | persistent}]
ipv6 [-p] gpu UseAnonymousAddresses
[yes|no|always|Counter]
netsh interface ipv6 set privacy
[[state=]{enabled | disabled}]
[[store=]{active | persistent}]
ipv6 [-p] gpu MaxAnonDADAttempts
Number
netsh interface ipv6 set privacy
[[maxdadattempts=]Integer]
[[store=]{active | persistent}]
ipv6 [-p] gpu MaxAnonLifetime
Valid[/Preferred]
netsh interface ipv6 set privacy
[[maxvalidlifetime=]Integer]
[[maxpreferredlifetime=]Integer]
[[store=]{active | persistent}]
ipv6 [-p] gpu AnonRegenerateTime
Time
netsh interface ipv6 set privacy
[[regeneratetime=]Integer]
[[store=]{active> | persistent}]
ipv6 [-p] gpu MaxAnonRandomTime
Time
netsh interface ipv6 set privacy
[[maxrandomtime=]Integer]
[[store=]{active | persistent}]
ipv6 [-p] gpu AnonRandomTime
Time
netsh interface ipv6 set privacy
[[randomtime=]Integer]
[[store=]{active | persistent}]
ipv6 [-p] gpu NeighborCacheLimit
Number
netsh interface ipv6 set global
[neighborcachelimit=]Integer
[[store=]{active | persistent}]
ipv6 [-p] gpu RouteCacheLimit
Number
netsh interface ipv6 set global
[[routecachelimit=]Integer]
[[store=]{active | persistent}]
ipv6 ppt netsh interface ipv6 show prefixpolicy
[[store=]{active | persistent}]
ipv6 ppu Prefix precedence
PrecedenceValue srclabel
SourceLabelValue [dstlabel
DestinationLabelValue]
netsh interface ipv6 add prefixpolicy
[[maxvalidlifetime=]Integer]
[[maxpreferredlifetime=]Integer]
[[store=]{active | persistent}]
ipv6 renew [IfIndex] netsh interface ipv6 renew
[[interface=]String]

 

 

To top of page