SlideShare a Scribd company logo
2
Most read
1. Ping Command
The ping command is one of the most often used networking utilities for detecting devices on
a network and for troubleshooting network problems.
When you ping a device you send that device a short message, which it then sends back (the
echo).
The general format is ping hostname or ping IPaddress.
Example
ping www.google.com or ping 216.58.208.68
This article covers the ping command in more detail
2. ipconfig Command
Another indispensable and frequently used utility that is used for finding network information
about your local machine like IP addresses, DNS addresses etc
Basic Use: Finding Your IP Address and Default Gateway
Type the command ipconfig at the prompt.
The following is displayed
Ip config has a number of switches the most common are:
ipconfig /all – displays more information about the network setup on your systems including
the MAC address.
ipconfig /release – release the current IP address
ipconfig /renew – renew IP address
ipconfig /? -shows help
ipconfig/flushdns – flush the dns cache
3. Hostname Command
A very simple command that displays the host name of your machine. This is much quicker
than going to the control panel>system route.
4. getmac Command
Another very simple command that shows the MAC address of your network interfaces
5NetStat
If you are experiencing problems with network communications, then network statistics can
sometimes help point you toward the root cause of the problem. That’s where the aptly
named NetStat command comes into play. This command has a number of different
functions, but the most useful of these is to display network summary information for the
device. To see this type of summary information, just type NetStat -e.
ARP
The ARP command corresponds to the Address Resolution Protocol. Although it is easy to
think of network communications in terms of IP addressing, packet delivery is ultimately
dependent on the Media Access Control (MAC) address of the device’s network adapter. This
is where the Address Resolution Protocol comes into play. Its job is to map IP addresses to
MAC addresses.
Windows devices maintain an ARP cache, which contains the results of recent ARP queries.
You can see the contents of this cache by using the ARP -A command. If you are having
problems communicating with one specific host, you can append the remote host’s IP address
to the ARP -A command.
Type arp at the command line to see all available options.
6. NSLOOKUP
The main use of nslookup is for troubleshooting DNS related problems.
Nslookup can be use in interactive and non-interactive mode.
To use in interactive mode type nslookup at the command line and hit return.
You should get an nslookup command prompt.
To use in non-interactive mode type nslookup options at the command prompt.
Using Nslookup
To illustrate the use of nslookup we are going to use it to:
 Find the IP address of a host.
 Find the domain name of an IP address.
 Find mail servers for a domain.
Route
IP networks use routing tables to direct packets from one subnet to another. The Windows
Route utility allows you to view the device’s routing tables. To do so, simply type Route
Print.
The cool thing about the Route command is that it not only shows you the routing table, it
lets you make changes. Commands such as Route Add, Route Delete, and Route Change
allow you to make routing table modifications on an as needed basis. The changes that you
make can be persistent or nonpersistent, depending on whether you use the -P switch.
PathPing
Earlier, I talked about the Ping utility and the Tracert utility, and the similarities between
them. As you might have guessed, the PathPing tool is a utility that combines the best aspects
of Tracert and Ping.
Entering the PathPing command followed by a host name initiates what looks like a
somewhat standard Tracert process. Once this process completes however, the tool takes 300
seconds (five minutes) to gather statistics, and then reports latency and packet loss statistics
that are more detailed than those provided by Ping or Tracert.

More Related Content

PPTX
chapter 7b peter norton Survey of PC and Network Operating System
PPT
Chapter 5 : Link Layer
PPTX
Operating system 29 non preemptive scheduling
PPTX
Block diagram of a computer
PDF
TCP - Transmission Control Protocol
PDF
Linux Memory Management
PPTX
CPU scheduling algorithms in OS
chapter 7b peter norton Survey of PC and Network Operating System
Chapter 5 : Link Layer
Operating system 29 non preemptive scheduling
Block diagram of a computer
TCP - Transmission Control Protocol
Linux Memory Management
CPU scheduling algorithms in OS

What's hot (20)

PPT
Intro Ch 06 B
PDF
CCNAv5 - S3: Chapter3 Link Aggregation
PPT
Tcp ip
PPTX
Application of computer
PPTX
Generation of comnputer
PPTX
A presentation on operating system
PPTX
A presentation on Motherboard
PPT
Chapter03 Creating And Managing User Accounts
PPTX
Linux System Monitoring
PPT
PPTX
Ethernet - Networking presentation
PPTX
Internet Protocols
PDF
Ftp server
PPT
Hardware multithreading
DOC
OPERATING SYSTEM - SHORT NOTES
DOCX
Keyboarding toolkkit teacher instructional guide
PPT
HCI 3e - Ch 13: Socio-organizational issues and stakeholder requirements
PDF
DNS (Domain Name System)
PPT
OS - Ch1
Intro Ch 06 B
CCNAv5 - S3: Chapter3 Link Aggregation
Tcp ip
Application of computer
Generation of comnputer
A presentation on operating system
A presentation on Motherboard
Chapter03 Creating And Managing User Accounts
Linux System Monitoring
Ethernet - Networking presentation
Internet Protocols
Ftp server
Hardware multithreading
OPERATING SYSTEM - SHORT NOTES
Keyboarding toolkkit teacher instructional guide
HCI 3e - Ch 13: Socio-organizational issues and stakeholder requirements
DNS (Domain Name System)
OS - Ch1
Ad

Similar to Commands (20)

PDF
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
PPTX
Command.pptx presentation
PDF
Commands used in Assessing Network layout & Security
PPTX
Linux Commands
PPTX
Commands.pptx
DOCX
111
DOCX
111
DOCX
Saad baig practical file
PPTX
Troubleshooting Network and Network Utilities
PDF
Installation Of An Iso Image Dvd
PPT
Loopback address
DOCX
PDF
Network Security Fundamentals Final.pptx
PPTX
Linux Basic Networking Command
PDF
nwlab-ex1.pdf
DOCX
Running head network design 1 netwo
DOCX
How to configure a router
DOCX
Networking question
PPT
connectivity utility
PPTX
BASIC TO ADVANCED NETWORKING TUTORIALS
CSS L17 - DOS COMMANDS IN COMPUTER NETWORKING
Command.pptx presentation
Commands used in Assessing Network layout & Security
Linux Commands
Commands.pptx
111
111
Saad baig practical file
Troubleshooting Network and Network Utilities
Installation Of An Iso Image Dvd
Loopback address
Network Security Fundamentals Final.pptx
Linux Basic Networking Command
nwlab-ex1.pdf
Running head network design 1 netwo
How to configure a router
Networking question
connectivity utility
BASIC TO ADVANCED NETWORKING TUTORIALS
Ad

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
System and Network Administration Chapter 2
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Essential Infomation Tech presentation.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Odoo POS Development Services by CandidRoot Solutions
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Navsoft: AI-Powered Business Solutions & Custom Software Development
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Wondershare Filmora 15 Crack With Activation Key [2025
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms I-SECS-1021-03
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Operating system designcfffgfgggggggvggggggggg
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Design an Analysis of Algorithms II-SECS-1021-03
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administration Chapter 2
How to Migrate SBCGlobal Email to Yahoo Easily
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Essential Infomation Tech presentation.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...

Commands

  • 1. 1. Ping Command The ping command is one of the most often used networking utilities for detecting devices on a network and for troubleshooting network problems. When you ping a device you send that device a short message, which it then sends back (the echo). The general format is ping hostname or ping IPaddress. Example ping www.google.com or ping 216.58.208.68 This article covers the ping command in more detail 2. ipconfig Command Another indispensable and frequently used utility that is used for finding network information about your local machine like IP addresses, DNS addresses etc Basic Use: Finding Your IP Address and Default Gateway Type the command ipconfig at the prompt. The following is displayed Ip config has a number of switches the most common are: ipconfig /all – displays more information about the network setup on your systems including the MAC address. ipconfig /release – release the current IP address ipconfig /renew – renew IP address
  • 2. ipconfig /? -shows help ipconfig/flushdns – flush the dns cache 3. Hostname Command A very simple command that displays the host name of your machine. This is much quicker than going to the control panel>system route. 4. getmac Command Another very simple command that shows the MAC address of your network interfaces 5NetStat If you are experiencing problems with network communications, then network statistics can sometimes help point you toward the root cause of the problem. That’s where the aptly named NetStat command comes into play. This command has a number of different functions, but the most useful of these is to display network summary information for the device. To see this type of summary information, just type NetStat -e. ARP The ARP command corresponds to the Address Resolution Protocol. Although it is easy to think of network communications in terms of IP addressing, packet delivery is ultimately dependent on the Media Access Control (MAC) address of the device’s network adapter. This is where the Address Resolution Protocol comes into play. Its job is to map IP addresses to MAC addresses. Windows devices maintain an ARP cache, which contains the results of recent ARP queries. You can see the contents of this cache by using the ARP -A command. If you are having problems communicating with one specific host, you can append the remote host’s IP address to the ARP -A command.
  • 3. Type arp at the command line to see all available options. 6. NSLOOKUP The main use of nslookup is for troubleshooting DNS related problems. Nslookup can be use in interactive and non-interactive mode. To use in interactive mode type nslookup at the command line and hit return. You should get an nslookup command prompt. To use in non-interactive mode type nslookup options at the command prompt. Using Nslookup To illustrate the use of nslookup we are going to use it to:  Find the IP address of a host.
  • 4.  Find the domain name of an IP address.  Find mail servers for a domain. Route IP networks use routing tables to direct packets from one subnet to another. The Windows Route utility allows you to view the device’s routing tables. To do so, simply type Route Print. The cool thing about the Route command is that it not only shows you the routing table, it lets you make changes. Commands such as Route Add, Route Delete, and Route Change allow you to make routing table modifications on an as needed basis. The changes that you make can be persistent or nonpersistent, depending on whether you use the -P switch. PathPing Earlier, I talked about the Ping utility and the Tracert utility, and the similarities between them. As you might have guessed, the PathPing tool is a utility that combines the best aspects of Tracert and Ping. Entering the PathPing command followed by a host name initiates what looks like a somewhat standard Tracert process. Once this process completes however, the tool takes 300 seconds (five minutes) to gather statistics, and then reports latency and packet loss statistics that are more detailed than those provided by Ping or Tracert.