Exercise: Identify Open Ports on a Network Device

You are a network administrator at a local organization and you have been
asked to identify all the open ports on a network device. You have been
provided with access to a network scanning tool, nmap, and you have been
asked to use this tool to identify the open ports on the network device.

Tools needed: nmap

Step 1: Make sure you have nmap installed on your computer. If not, install
nmap using the appropriate instructions for your operating system. You can
find installation instructions for nmap at the following link:


Step 2: Open a terminal or command prompt window.

Step 3: Run the following command to scan for open ports on the network
device using nmap:

nmap -p [port range] [target IP address]

Replace “[port range]” with the range of ports that you want to scan. For
example, if you want to scan all ports from 1 to 1000, you would use the
following command:

nmap -p 1-1000 [target IP address]

Replace “[target IP address]” with the IP address of the network device that
you want to scan.

Step 4: Wait for the scan to complete. Nmap will display a list of all the open
ports it has found on the network device.

Step 5: Review the list of open ports and identify any ports that may be of
concern or that you want to further investigate.

Step 6: Once you have identified the open ports on the network device, you
can use this information to secure the device and ensure that it is properly

Blog reference:

“How to Use Nmap to Scan for Open Ports”

“Nmap Port Scanning Techniques”

“Nmap Cheat Sheet” (https://www.sans.org/security-

Open chat
Hello 👋.
Tell me, how can I help you?