Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
DTNappo
New Contributor

Displaying the MAC address of a Switchport in CLI

How do I display a MAC Address on a port in CLI - Currently have OS 7.4.2.  This should be very simple but cannot find any documentation.   Also, in the GUI, how do I clear the MAC and IP info when a new device is plugged into the port.  It shows the old MAC and IP even if I bounce the port.

10 REPLIES 10
Nolman
New Contributor

In order to view the MAC address connected to a specific port of a FortiSwitch managed by a FortiGate (FortiLink), first apply a filter, then apply the show. 


Create filter: 
diagnose switch-controller mac-cache filter intf-name [port]

Show MACs: 
diagnose switch-controller mac-cache show

 

Clear filter: 
diagnose switch-controller mac-cache filter clear

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors