Show & diagnostics

show mac address-table

L2 forwarding table: MAC → port mapping the switch learned from frames.

Works on: SwitchMode: enable

Sample output

          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    02ef.b991.983d    DYNAMIC     Fa0/1
   1    0226.8b1a.dc79    DYNAMIC     Fa0/2
Total Mac Addresses for this criterion: 2

Captured from the NetForge-AI simulator running a real topology.

Run this command live

Don't just read it — type show mac address-table in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "show mac address-table" command do?

L2 forwarding table: MAC → port mapping the switch learned from frames.

More Show & diagnostics commands

← Back to the full command reference