FortiGate diagnose sniffer packet — Basic UsageIT technician command center
Network CLI · Cisco and FortiGate

FortiGate diagnose sniffer packet — Basic Usage

Use FortiGate diagnose sniffer packet for a standard administrative task.

Copy-ready commandFortiGate diagnose sniffer packet — Basic Usage
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 Usage

Use FortiGate diagnose sniffer packet for a standard administrative task.

diagnose sniffer packet any "host 8.8.8.8" 4 20 l

Original command

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.