Show MAC Address Table on Fortiswitch

Ever ask yourself why Fortinet makes finding the mac address of a device in a switch such a daunting task? I do. They turned a simple command on Cisco (show mac address-table) into almost a full sentence.

To display the whole MAC table on Fortiswitch managed by Fortigate:

diagnose switch-controller switch-info mac-table

Lets say I need to look for the last 4 of the MAC to find exactly where this device plugs into.

diagnose switch-controller switch-info mac-table | grep cc:e1

00:60:6e:ec:cc:e1 port1 1

Now we can see that device is plugged into port 1 of the switch.

Finding mac addresses from the Fortiswitch directly is a bit easier:

diagnose switch mac-address list

Need networking help or assistance?
Email me directly to set up a consulting session!

Leave a Reply

Your email address will not be published. Required fields are marked *