Wednesday, April 22, 2009

Networking Commands used in Windows


  • 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


  • lpq - Displays the print queue status of an LPD printer; available only in Windows NT, 2000, and XP


  • ping - Verifies existence of remote host (connectivity)


  • nbtstat - NetBIOS over TCP/IP; gives statistics and technical NetBIOS information for the TCP/IP layer


  • netstat - Returns protocol statistics and current TCP/IP connections


  • ipxroute - Displays and modifies IPX routing tables


  • 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 in Windows XP and Vista only


In Windows, how do I see all listening network ports?
One of the most revealing signs of a system compromise is new open or listening ports. Therefore, you should be aware of the open ports on your computer. Viewing open ports can help you determine if your computer has been compromised.
In Windows, you can use the netstat.exe program to view all listening network ports. To do so, from a
command prompt, type netstat . You can use also use options to get more information, as in the following examples:
netstat -o - Show the process IDs (PIDs) associated with each port
netstat -a - Show all
netstat -n - Show numbers of ports
You can also combine options, e.g., netstat -oan .

No comments:

Post a Comment