FortiGate diagnose sniffer packetIT technician command center
Network CLI · Cisco and FortiGate

FortiGate diagnose sniffer packet

Capture matching packets on a FortiGate.

Copy-ready commandFortiGate diagnose sniffer packet
diagnose sniffer packet any "host 8.8.8.8" 4 20 l
Production warning

Packet captures, debug flow, and configuration saves should be planned carefully.

Requirements and permissions

Requirements
Vendor CLI access
Permissions
Read-only or privileged mode depending on command
Last reviewed
2026-07-31

Examples

Basic example

Capture matching packets on a FortiGate.

diagnose sniffer packet any "host 8.8.8.8" 4 20 l

Common errors

Command not found

Confirm Vendor CLI access is installed and available in your current shell.