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

Last Updated on August 7, 2021 by Admin 3

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

  • show interface mac
  • show mac
  • show mac-address-table
  • show ip interface
Explanation:
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:

200-301 Part 09 Q07 087
200-301 Part 09 Q07 087

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.

Objective:
LAN Switching Fundamentals
Sub-Objective:
Describe and verify switching concepts

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments