Bitzu

100-150 CCST ยท Troubleshooting and device commands

show mac address-table

Reading the MAC address table output to find which port a device is on, address type and VLAN.

Key points

  • A switch learns source MAC addresses from the frames it receives and records the VLAN, MAC address, type and port.
  • Dynamic entries are learned automatically and age out; static entries are configured by hand.
  • To find where a device is plugged in, locate its MAC address in the table and read the Ports column.
  • If the destination MAC is unknown, the switch floods the frame within the VLAN.

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_58_se/command/reference/3750cr/cli2.html

Practice questions

Single choice

What is the MAC address table used for?

  1. Storing IP routes to remote networks
  2. Deciding which port to forward a frame to
  3. Storing user passwords
  4. Translating names to IP addresses
Show answer

Answer: B. Deciding which port to forward a frame to

The switch checks it to decide the egress port for a frame's destination MAC. It does not store IP routes or passwords.

Select all that apply

Which pieces of information appear in each MAC address table entry?

  1. The VLAN
  2. The MAC address
  3. The host's user name
  4. The port where the address was learned
  5. The host's default gateway
Show answer

Answer: A. The VLAN, B. The MAC address, D. The port where the address was learned

Entries list the VLAN, the MAC address, the type and the port. A host name or an IP address is not stored there.

True or false

A switch learns MAC addresses from the destination address of frames it forwards.

Show answer

Answer: False

False. It learns from the source MAC address of received frames, which shows which port that sender is on.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 100-150 CCST topics in this module