Description | This article describes how to check ARP entries on an ARP table in FortiGate. |
Scope | FortiGate. |
Solution |
The get system arp command in FortiGate displays the ARP (Address Resolution Protocol) table, which maps IP addresses to MAC addresses, indicating which devices are connected to each interface.
To filter only the MAC address learned by a single port:
get system arp | grep port1
Below is an explanation of the output:
Explanation:
Key Points:Entries with a very low age (like 0 or 1) suggest recent communication.
Some use cases of the 'get system arp' command:
When a device is unreachable, checking the ARP table can help determine if the FortiGate has learned the correct MAC address for the device's IP.
The ARP table helps track which devices are communicating through each interface and at what time. It shows which IP addresses are actively in use and what MAC addresses are associated with them.
If there are duplicate IP or MAC addresses on the network, detect them by identifying inconsistent or rapidly changing ARP entries, which could signal network problems or malicious activity.
When configuring static routes, VLANs, or firewall policies, verifying the correct IP-MAC associations in the ARP table ensures configurations align with actual network conditions.
To capture the ARP packet in FortiGate, use the following sniffer command:
diagnose sniffer packet <interface name> "arp" 6 0 l |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.