Cisco CCNA mock exam questions sample test – Question 39

.What command was used to generate the output shown below?


A. winipcfg
B. ipconfig
C. ifconfig
D. ipconfig/all

Correct Answer: D

The output displayed is that generated by the ipconfig/all command as executed on a Windows computer. This command displays a wealth of information about the current
configuration. Examples of information that can be gleaned from the sample output include:
The router for computer is at
The primary DNS server is
The address of the computer is Any packets that need to be sent to any computers in the network will not use the default gateway but will be switched to
the destination by MAC address. Packets that need to be sent to any other network, however, will require the use of the default gateway and so the frame will be switched to MAC
address of the gateway.
This information can be used with other utilities for troubleshooting. For example, if you can ping the primary DNS server at, which in a remote network, then the IP
address is correct and your router ( knows a route to the network where the DNS server is located. However, this result would NOT prove that DNS is working correctly.
Verification would require successfully pinging local or remote hosts by name rather than IP address.
It is not the output of winipcfg. This command was used in Windows 95 to generate a subset of this information in a GUI dialog box.
It is not the output of ifconfig. This command is used to generate a subset of this information in a Linux/Unix environment.
It is not the output of ipconfig. This command generates IP address subnet mask and gateway only.
Network Fundamentals
Configure, verify, and troubleshoot IPv4 addressing and subnetting
Cisco>Home>Support>Technology Support>IP>IP Addressing Services>Configure>Configuration Examples and TechNotes> Dynamically Configuring DHCP Server