Copy-ready commandFortiGate diagnose sniffer packet — Basic Usage
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 Usage
Use FortiGate diagnose sniffer packet for a standard administrative task.
diagnose sniffer packet any "host 8.8.8.8" 4 20 lOriginal command
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.