Question

Difficulty: EasyUtilizing Command-Line Network Troubleshooting Utilities

A network technician needs to inspect a local workstation to view all currently active TCP connections, listening ports, and protocol statistics. Which command-line utility should the technician execute?

  1. netstatAnswer
  2. B
    nslookup
  3. C
    ipconfig
  4. D
    ping

Answer

The technician should execute netstat to view active TCP connections and listening ports on the system.
The netstat (network statistics) command-line utility displays active TCP connections, ports on which the computer is listening, network adapter statistics, and the local IP routing table.

Step-by-Step Solution

1
Determine the diagnostic requirement
The scenario requires listing active network connections, active sockets, and open listening ports on the local host.
Choosing the appropriate troubleshooting tool requires matching the command function to the desired operational metric.
2
Evaluate the functions of available network utilities
netstat (Network Statistics) provides detailed information about active connections, listening ports, and protocol statistics.
Other utilities serve different purposes such as name resolution (nslookup), IP address assignment display (ipconfig), or ICMP connectivity testing (ping).

Key Concept

Utilizing Command-Line Network Troubleshooting Utilities
Rate this question