Copy-ready commandFortiGate diagnose sniffer packet
diagnose sniffer packet any "host 8.8.8.8" 4 20 lProduction 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 lCommon errors
Command not found
Confirm Vendor CLI access is installed and available in your current shell.