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

Author
rameshm1992
New Member
  • Total Posts : 3
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/06/05 00:49:07
  • Status: offline
2018/06/05 00:54:12 (permalink)
0

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
#1
Nicholas Doropoulos
Silver Member
  • Total Posts : 72
  • Scores: 2
  • Reward points: 0
  • Joined: 2018/05/03 13:49:11
  • Status: offline
Re: How to view MAC / CAM table entries in Fortigate Firewall ? 2018/06/16 13:28:09 (permalink)
0
Hello,
 
Try the following:
 
diag  hardware deviceinfo nic <name>
 
or
 
get hardware nic port  <name>

NSE5, NSE 4, CCSA, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3
#2
rameshm1992
New Member
  • Total Posts : 3
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/06/05 00:49:07
  • Status: offline
Re: How to view MAC / CAM table entries in Fortigate Firewall ? 2018/07/01 16:20:11 (permalink)
0
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.
#3
neonbit
Expert Member
  • Total Posts : 491
  • Scores: 55
  • Reward points: 0
  • Joined: 2013/07/02 21:39:52
  • Location: Dark side of the moon
  • Status: offline
Re: How to view MAC / CAM table entries in Fortigate Firewall ? 2018/07/01 23:42:54 (permalink)
0
'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
#4
Jump to:
© 2018 APG vNext Commercial Version 5.5