"CMD, cmd or cmd.exe, also known as Command Prompt, is the command-line interpreter in the OS/2, eComStation, Windows NT, Windows CE, and ReactOS operating systems.
It is the counterpart of COMMAND.COM in DOS and Windows 9x systems, and analogous to the Unix shells used on Unix-like systems." - Wikipedia
Chapter 1 started with Ping, TraceRt and NSLookUp.
Let's start this chapter with a few more commands with IPConfig, NetStat and ARP.
IPConfig is a console application that displays all current TCP/IP network configuration values and can modify Dynamic Host Configuration Protocol and Domain Name System settings.
The top commands that I use for IPConfig are... IPConfig IPConfig /all IPConfig /release IPConfig /renew IPConfig /flushdns
If your IP address is 169.254.x.x is an automatic private IP as the computer cannot see the network. There could be DHCP issues.
It is a great tool to use if you need the MAC address of a device to add to port security on a switch. The MAC or Media Access Control is a unique identifier for a device.
Netstat is a command-line network utility tool that displays network connections for the Transmission Control Protocol, routing tables, and a number of network interface and network protocol statistics.
Netstat is used to find issue within a network and to determine the amount of traffic on the network as a performance marker.
It provides statistics and information about protocols in use and current network connections.
ARP displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP).
Address Resolution Protocol or ARP is a communication protocol used for discovering the link layer address, or a MAC address, associated with a given internet layer address in an IPv4 address.
It also can be used to add a device as a static entry if you know the MAC.
IPConfig, NetStat and ARP are great tools to use to find any possible networking issues or to find device information on your network.
We will continue to explore other Command Prompt options in the following chapters.
We have covered so far...
CH 1: CMD - Ping / TraceRt / NSLookUp
CH 2: CMD - IPConfig / NetStat / ARP