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.
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)- A3% (1)
- B89% (31)
- C6% (2)
- D3% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.