nerdexam
CompTIA

220-802 · Question #400

A /all switch is MOST likely to be used with which of the following commands?

The correct answer is D. IPCONFIG. The /all switch is a parameter of the IPCONFIG command that displays detailed configuration for all network adapters. No other listed command uses /all as a meaningful switch.

Networking

Question

A /all switch is MOST likely to be used with which of the following commands?

Options

  • ANET
  • BNBTSTAT
  • CPING
  • DIPCONFIG

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    3% (1)
  • D
    95% (36)

Why each option

The /all switch is a parameter of the IPCONFIG command that displays detailed configuration for all network adapters. No other listed command uses /all as a meaningful switch.

ANET

The NET command uses subcommands such as 'net use' or 'net user' rather than a /all switch for its operations.

BNBTSTAT

NBTSTAT uses switches like -a, -A, -n, and -r to query NetBIOS name tables and does not use a /all switch.

CPING

PING uses switches such as -t, -n, and -l but does not have a /all switch.

DIPCONFIGCorrect

Running 'ipconfig /all' outputs full TCP/IP configuration details for every network adapter on the system, including IP address, subnet mask, default gateway, DNS servers, DHCP status, MAC address, and more. This is a standard and commonly tested command for network diagnostics and troubleshooting.

Concept tested: IPCONFIG command switches for network diagnostics

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

Topics

#IPCONFIG#CLI switches#network diagnostics#command line tools

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice