Technical Tip: How to capture ARP traffic using Packet Capture on FortiOS GUI and CLI
| Description | The article describes capturing the ARP traffic using FortiGate GUI and CLI on all versions. |
| Scope | FortiGate OS version 7.2.x, 7.4.x, and 7.6.x. |
| Solution | Option 1: Capturing 'ARP' traffic using the GUI:
Go to Network -> Packet Capture or diagnostics in the FortiGate GUI.
Select 'Add' to create a new packet capture filter.
Option 2: Capturing 'ARP' traffic using the CLI in two different ways:
With the ARP keyword:
diagnose sniffer packet portx 'arp' 4 0 l <----- Where x is the port on which 'ARP' traffic needs to be captured. diagnose sniffer packet any 'arp' 4 0 l <---- To check ARP traffic for any interface.
With the Ethernet protocol option:
diagnose sniffer packet portx 'ether proto 0x0806' 4 0 l <----- Where x is the port on which 'ARP' traffic needs to be captured. diagnose sniffer packet any 'ether proto 0x0806' 4 0 l <---- To check ARP traffic for any interface. |


