Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Windows, what are some networking commands I can use from the command prompt?

Note: UITS recommends that you use a current version of Windows on computers connected to the Indiana University network; see Recommended Windows operating systems at IU.

Following are some useful networking commands you can enter at the command prompt:

net Used to start, stop, and view many networking operations

Note: net is just the first part of the command; you'll need to combine it with a second command, for example, net config or net use . Available second commands vary depending on which version of Windows you have. To get a list of available options, enter net ? .

ipconfig Displays the IP address and other TCP/IP configuration information for your workstation
hostname Displays the Microsoft networking computer name
ping Verifies existence of remote host (connectivity)
netsh A network shell that provides access to many networking commands; available in Windows 7, Vista, XP, and 2000. For instructions, see Using Netsh on Microsoft TechNet
netstat Returns protocol statistics and current TCP/IP connections
nbtstat NetBIOS over TCP/IP; gives statistics and technical NetBIOS information for the TCP/IP layer
ipxroute Displays and modifies IPX routing tables; not available in Windows 7 or Vista
route Manipulates TCP/IP routing information
tracert Displays route taken by an ICMP to a remote host
finger Displays information about the user; finger is turned off in IU's ADS domain.
arp Displays or modifies information in the ARP (Address Resolution Protocol) cache
getmac Lists the MAC (Media Access Control) Address on the computer network interfaces; available only in Windows 7, Vista, and XP
lpq Displays the print queue status of an LPD printer; available only in Windows XP, 2000, and NT

For more information on the use of these commands, append  /?  to the command name in question. For example, entering ping/? will provide more information on the ping command.

This is document acfh in domain all.
Last modified on October 13, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.