Networking · Switching › Ethernet Switching › MAC Learning
Aging
Cheat sheet · https://pcornel.dk/topic.php?topic=962
Answer
MAC aging removes dynamic entries that have not been seen for the aging time (300 seconds by default on Catalyst, mac address-table aging-time), keeping the table current.
Remember
- Source MAC is learned on ingress; destination MAC drives egress selection
- Known unicast is forwarded to one learned port; unknown unicast and broadcast are flooded within the VLAN
- A frame received on the learned destination port is filtered
- Dynamic entries age; static entries remain until removed.
First checks
show mac address-table aging-time— aging timershow mac address-table dynamic— entries present
Verify in this order
idle MAC → aging timer expires → removed → relearn on next frame
Where it usually breaks
media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=962