nerdexam
CompTIA

220-802 · Question #552

Which of the following command line tools would be used to display all network information for a local PC?

The correct answer is B. ipconfig. The ipconfig command displays all IP configuration details for network adapters on a local Windows PC, including IP address, subnet mask, and default gateway.

Networking

Question

Which of the following command line tools would be used to display all network information for a local PC?

Options

  • Aping
  • Bipconfig
  • Cnetstat
  • Dtracert

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    89% (31)
  • C
    6% (2)
  • D
    3% (1)

Why each option

The ipconfig command displays all IP configuration details for network adapters on a local Windows PC, including IP address, subnet mask, and default gateway.

Aping

The ping command tests network connectivity and round-trip latency to a target host by sending ICMP echo requests; it does not display local network configuration.

BipconfigCorrect

Running 'ipconfig' at the Windows command prompt displays the basic IP configuration (IP address, subnet mask, default gateway) for each active network adapter. Using 'ipconfig /all' provides additional details including MAC address, DNS servers, DHCP status, and lease information. It is the primary Windows command-line tool for viewing the complete network configuration of the local machine.

Cnetstat

The netstat command displays active network connections, listening ports, and protocol statistics, but does not show the adapter-level IP configuration of the local machine.

Dtracert

The tracert command traces the hop-by-hop route that packets take to reach a remote destination and does not display local network adapter configuration.

Concept tested: ipconfig command for local network configuration display

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig

Topics

#ipconfig#network diagnostics#command line tools#network configuration

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice