Privileged EXEC
Show MAC address table count
show mac address-table count [vlan <vlan-id>]
Shows how many MAC addresses the switch has learned, in total and per VLAN, and how much table space is left.
You suspect a MAC flood or loop, the table seems full, or you want a quick size check before and after a change.
Find the ports with show mac address-table dynamic vlan <vlan-id>, and check for a loop with show spanning-tree summary.
Privilege Privileged EXECState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Dynamic Address Count, Static Address Count, Total Mac Addresses, Total Mac Address Space AvailableImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Shows the number of entries in the MAC table now, split into dynamic and static, and the free space.
Does not show which ports or hosts the entries belong to or whether they are legitimate.
Find the ports with show mac address-table dynamic vlan <vlan-id>, and check for a loop with show spanning-tree summary.
Command guidance
Execution context
Privileged EXEC
Use when
You suspect a MAC flood or loop, the table seems full, or you want a quick size check before and after a change.
Important fields
Dynamic Address Count, Static Address Count, Total Mac Addresses, Total Mac Address Space Available
Common problems
sudden jump in dynamic entries (loop or flood); table near full so new hosts are flooded; one VLAN holding most entries
Operational impact
Read-only.
Technical context
Compare the count over a few minutes. A count that grows fast and keeps changing often means a loop or a host flooding source MACs.