Created on
01-04-2023
11:44 PM
Edited on
12-11-2025
10:43 PM
By
Jean-Philippe_P
| Description | This article describes how to capture a range of ports using the diagnose sniffer. |
| Scope | FortiGate. |
| Solution |
Use case: It is possible to use a sniffer using port-range, when a packet capture is done for VOIP RTP ports, because usually voice provider RTP ports come into range. So when packet analysis is done, it is possible to use port-range on the sniffer.
Steps:
diagnose sniffer packet any 'portrange 1000-3000' 6 0 a
Output:
To review and convert packet capture via Wireshark for analysis, refer to this article: Technical Tip: How to import diagnose sniffer packet data. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.