Description | This article describes how to capture a range of ports using diagnose sniffer. |
Scope | FortiGate |
Solution |
Used case: - 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 comes into range. So when packet analysis is done, it is possible to use port-range on the sniffer.
Steps:
- Access to the FortiGate via SSH or via built-in CLI. - Then run this command:
# diagnose sniffer packet any 'portrange 1000-3000' 6 0 a
Output:
- On this sniffer, port ranges are captured from 1000 to 3000. |