CompTIA DataX (CNX-001) — Question 67
An administrator needs to add a device to the allow list in order to bypass user authentication of an AAA system. The administrator uses MAC filtering and needs to discover the device's MAC address to accomplish this task. The device receives an IP address from DHCP, but the IP address changes daily. Which of the following commands should the administrator run on the device to locate its MAC address?
Answer options
- A. ipconfig /all
- B. netstat -an
- C. arp -a
- D. nslookup
Correct answer: A
Explanation
The correct command is 'ipconfig /all' as it displays the MAC address along with all network configuration details for the device. The other options do not provide the MAC address; 'netstat -an' shows active connections, 'arp -a' lists IP to MAC address mappings but does not run directly on the device for its own MAC, and 'nslookup' is used for DNS queries.