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       02:29:BB:AB:19:BC DYNAMIC     Fa0/1
1       02:F4:50:AB:E3:46 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

show mac address-table — network CLI command reference · NetForge-AI