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

How to view MAC / CAM table entries in Fortigate Firewall ?

Hi,

 

All the devices with IP can be viewed in Fortigate firewall's ARP table. I am trying to find out a way to view the all mac address table entries from Fortigate Firewall. Could you please share the command / way if any ?

 

Regards,

Ramesh

3 REPLIES 3
Nicholas_Doropoulos
Contributor

Hello,

 

Try the following:

 

diag  hardware deviceinfo nic <name>   or   get hardware nic port  <name>

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3

NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3
rameshm1992

Hi Nicholas,

 

Thanks for your reply. These commands will show Firewall's inbuild NIC MAC addresses. Is there a way to display the MAC addresses which are learned (passing through) in each firewall port like Switch MAC address/CAM table ?.

 

Regards,

Ramesh Muniyandi.

neonbit
Valued Contributor

'get sys arp' will show you all the MAC/IP addresses learnt on the FGT with the related interface.

 

If you want to search for a MAC you can grep the output, ie: get sys arp | grep MACADDRESS

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