Chapter 18 Troubleshooting : ­Troubleshooting tools : FortiOS diagnostics : Other commands
  
Other commands
ARP table
To view the ARP cache, use the following command:
get sys arp
 
To view the ARP cache in the system, use this command:
diag ip arp list
Sample output:
index=14 ifname=internal 224.0.0.5 01:00:5e:00:00:05 state=00000040 use=72203 confirm=78203 update=72203 ref=1
index=13 ifname=dmz 192.168.3.100 state=00000020 use=1843 confirm=650179 update=644179 ref=2 ? VIP
index=13 ifname=dmz 192.168.3.109 02:09:0f:78:69:ff state=00000004 use=71743 confirm=75743 update=75743 ref=1
index=14 ifname=internal 192.168.11.56 00:1c:23:10:f8:20 state=00000004 use=10532 confirm=10532 update=12658 ref=4
 
To remove the ARP cache, use this command:
execute clear system arp table
 
To remove a single ARP entry, use:
diag ip arp delete <interface name> <IP address>
 
To remove all entries associated with a particular interface, use this command:
diag ip arp flush <interface name>
 
To add static ARP entries, use the following command:
config system arp-table