Skip to Content

CCT: What Command Shows MAC Addresses Associated with Each Cisco Switch Port?

How do you view MAC addresses on each port of a Cisco switch? Learn how the “show mac address-table” command displays all MAC addresses and their associated ports—vital for Cisco Certified Field Technician (CCT) exam success.

Table of Contents

Question

A technician wants to view the MAC addresses associated with each switch port. What command should they use?

A. show mac address-table
B. show interfaces
C. show vlan brief
D. show arp
E. show ip interface brief

Answer

A. show mac address-table

Explanation

This command lists all dynamically learned MAC addresses and their associated ports.

The command to view the MAC addresses associated with each switch port on a Cisco switch is show mac address-table.

  • The show mac address-table command lists all MAC addresses learned by the switch, along with the corresponding VLAN, port, and address type (dynamic or static).
  • This table allows you to quickly identify which devices (by MAC address) are connected to which physical switch ports.
  • The output includes columns for VLAN, MAC Address, Type (dynamic/static), and Ports, making it easy to map devices to switch interfaces.
  • This command is essential for network troubleshooting, device tracking, and verifying port security configurations.

This command provides a complete view of all dynamically and statically learned MAC addresses and their associated switch ports.

Cisco Certified Field Technician (CCT) certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Cisco Certified Field Technician (CCT) exam and earn Cisco Certified Field Technician (CCT) certification.