Study for the CompTIA Network+ Exam. Enhance your skills with flashcards and multiple choice questions, each with explanations. Prepare effectively for your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which command is used to view the MAC address table in a network?

  1. show ip interface

  2. show mac-address-table

  3. display arp

  4. view device status

The correct answer is: show mac-address-table

The command to view the MAC address table in a network is "show mac-address-table." This command is specifically designed to display the contents of the MAC address table on switches, providing a listing of all MAC addresses that the switch has learned along with the corresponding ports. The MAC address table is crucial for the operational functionality of switches, as it allows them to forward frames to the correct destination based on the MAC address. Other commands, while useful for various networking tasks, do not provide the specific information about the MAC address table. For instance, "show ip interface" provides information related to IP interfaces rather than MAC addresses; "display arp" focuses on the Address Resolution Protocol table which maps IP addresses to MAC addresses, and "view device status" lacks specificity as it could pertain to a variety of device statuses without focusing on MAC addresses. Thus, "show mac-address-table" is uniquely suited for viewing the MAC address table.