Netsh IPv6 cheat sheet

This is a short post, which may not add a lot of value (hopefully it’s helpful at least a little).  While attending an IPv6 training session, netsh was referred to and I started looking at it.  I haven’t done a lot with IPv6 up to this point, so haven’t been familiar with the plenitude of information available within netsh.

Well, I started to play around with netsh and was somewhat overwhelmed by the number of commands.  After messing around with it for awhile, I found that most of the commands provided little (if any) benefit to me, however the following commands looked like they’d be useful, so I decided to jot them down.

Keep in mind that these were tested on a Windows 7 system, and I haven’t tested them on XP or Vista, so try them at your own expense (as always!).  I, nor anyone else who contributes to this site is ever responsible for what you do to your system(s), so proceed with risk.  Okay, now that I’m done caveat’ng this, let’s proceed!

Here’s the list of commands:

======================
  netsh cheat sheet
======================

netsh interface ipv6 show interfaces
netsh interface ipv6 show subinterfaces
netsh interface ipv6 show neighbor
netsh interface ipv6 show dnsservers
netsh interface ipv6 show route
netsh interface ipv6 show addresses
netsh interface ipv6 show prefixpolicies
netsh interface ipv6 show joins
netsh interface ipv6 show privacy
netsh interface ipv6 show destinationcache
netsh interface ipv6 show siteprefixes
netsh interface ipv6 show teredo

All of the above commands are typically run from a command prompt (a DOS window, for those of you who remember those days…).  If you just run netsh, it will take you into the netsh CLI, allowing you to work your way around different command hierarchies.  Entering the commands as shown above will return you to the command prompt (netsh will return the requested information and dump you back at the command prompt, not the netsh prompt).

Although this isn’t a comprehensive list by any means, I tried to include commands that I would be looking at when troubleshooting or working with IPv6 in Windows 7. Let me know if you have any other favorite netsh or other commands that pertain to IPv6 (I’d like to hear about favorite IPv6 OSX, *nix and Windows commands/utilities).

Leave a Reply

Your email address will not be published.

HTML tags are not allowed.

WordPress Themes