0% found this document useful (0 votes)
2 views

Network Commands

The document outlines various network commands used for troubleshooting and obtaining network configuration details. Key commands include 'ipconfig' for IP configuration, 'ping' for detecting devices, 'netstat' for viewing connections, and 'tracert' for tracking packet paths. Additional commands like 'getmac', 'arp', and 'nslookup' provide information on MAC addresses, address resolution cache, and DNS server details respectively.

Uploaded by

Girum Gosaye
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Network Commands

The document outlines various network commands used for troubleshooting and obtaining network configuration details. Key commands include 'ipconfig' for IP configuration, 'ping' for detecting devices, 'netstat' for viewing connections, and 'tracert' for tracking packet paths. Additional commands like 'getmac', 'arp', and 'nslookup' provide information on MAC addresses, address resolution cache, and DNS server details respectively.

Uploaded by

Girum Gosaye
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Network Commands

1. ipconfig
This networking commands is used to the IP configuration details. This command
provides you the details like IPv4 address ,Subnet Mask or Default Gateway.
ipconfig/all
This command can be understood as the updated version of the ipconfig command.
This command tells us the physical address of our device. It tells us various details of
our computer such as IPv4,IPv5 ,Default Gateway ,subnet mask ,also it tells to which
devices our device is connected ,configuration details of the devices to which are
devices are connected.

2. 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.

3. Hostname Command

A very simple command that displays the host name of your machine.

4. getmac Command

Another very simple command that shows the MAC address(Physical Address) of your
network interfaces

5. arp Command

This is used for showing the address resolution cache. This command must be used
with a command line switch arp -a is the most common.

6. Netstat Command

Netstat - "what's my computer connecting to?"

Netstat tells you what your computer is connected. This makes if useful for seeing if your
computer is connected to servers that you don't know about. If you think that your computer
is infected with "Spyware" or certain types of virus Netstat may help you find them out.

Used for displaying information about tcp and udp connections and ports. It is a
command line tool that is identify and display the connections and ports connected to
our computer when we write netstat command on CLI(Command Line Interface).

7. Tracert
The tracert command is a Command Prompt command which is used to
get the network packet being sent and received and the number of hops
required for that packet to reach to target. This command can also be
referred to as a traceroute. It provides several details about the path that a
packet takes from the source to the specified destination.

8. Nslookup
The Nslookup, which stands for name server lookup command, is a network
utility command used to obtain information about internet servers. It
provides name server information for the DNS (Domain Name System), i.e.
the default DNS server’s name and IP Address.

You might also like