Cisco CCNA mock exam questions sample test – Question 167

.Which command would you use to see which switch interface is associated with a particular MAC address?

A. show interface mac
B. show mac
C. show mac-address-table
D. show ip interface

Correct Answer: C

The show mac-address-table command displays a table of every learned MAC address, and the switch port associated with the MAC address. Sample output is as follows:
This output indicates that four MAC addresses have been learned by this switch, and the last column indicates the switch port over which each MAC address was learned, and for
which frames destined for each MAC address will be forwarded. The MAC address table is built dynamically by examining the source MAC address of received frames. If the switch
receives a MAC address not listed in this table, it will send the frame out all ports except the one from which it was originated.
The show ip interface command is a router command, and displays no information on MAC address tables.
The show interface mac and show mac commands are incorrect because they are not valid Cisco IOS commands.
LAN Switching Fundamentals
Describe and verify switching concepts