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.
Practice questions
What is the MAC address table used for?
- Storing IP routes to remote networks
- Deciding which port to forward a frame to
- Storing user passwords
- 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.
Which pieces of information appear in each MAC address table entry?
- The VLAN
- The MAC address
- The host's user name
- The port where the address was learned
- 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.
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.
