Sunday, May 29, 2011

DOS network commands

Hold the "WINDOW" key and press "R" to open RUN window. Type "cmd" and press ENTER key to open DOS command window.

ipconfig = Displays the present active network connections settings assigned by the network such as IP address, Subnet mask and Default gateway. If nothing is assigned or is not connected to network you get the message media disconnected.
Type ipconfig /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "ipconfig" command.

net = Used to start, stop, session, statistics and view the network services.
Type net /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "net" command.

netstat = Displays all the active connections and its listening ports and the state of the network connections whether the connection is established or not.
Type netstat /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "netstat" command.

nbtstat = Displays all current network connections and its protocol statistics using network session layer to perform mapping of computer name to IP address.
Type nbtstat /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "nbtstat" command.

ping = Displays the statistics of packet movement between your computer and the remote host computer. The statistics contains details of time taken by a packet of data to reach host computer from your computer and vice-versa. If the connection to the remote host computer is not accessible then you get a message  "Request Timed Out".
Type ping /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "ping" command.

tracert = Displays the path for the packet of data that has taken to reach the remote host computer or destination. By default statistics is displayed for maximum of 30 hops meaning the number of routers that a packet has passed through to reach the destination.
Type tracert /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "tracert" command.

route = Manually a route can be added , deleted or changed in the existing route table for your active connections. You can view all the network interface list and active routing table when you use the route command as "route print".
Type route /? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "route" command.

arp = Used to add, delete, modify and display the IP address to physical address of the network adapter in the address translation table.
Type arp/? and press ENTER key at the DOS prompt to find all the parameters that can be assigned with "arp" command.

Google Analytics