Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Is there any doubt regarding dia sniffer packet ?
Dear mariusb,
You can go through the link below which you help on you the sniffer part on FGT FW.
BR,
Hi,
I understand that you have some queries regarding sniffer command to do a packet capture in your Fortigate. You may refer to this link for troubleshooting options available in FortiGate CLI to check the traffic flow, by capturing packets reaching the FortiGate unit.
Manosh
Dear mariusb,
You can also refer to the below KB for more understanding:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Packet-capture-sniffer/ta-p/198313
Hi ,
We believe that you are having some questions on the packet sniffing option available on the FGT.
Packet sniffing is the troubleshooting options available in FortiGate CLI to check the traffic flow by capturing packets reaching the FortiGate unit.
In addition to the GUI packet capture methods, the CLI offers the possibility to capture packets on multiple interfaces and mark these on a per-packet basis. This can be useful if there is reason to suspect a packet is leaving from the wrong interface and being subsequently dropped by FortiGate.
Command used for sniffing in CLI :
diag sniffer packet <interface> <'filter'> <verbose> <count> a
<interface> can be an interface name or 'any' for all interfaces.
<'filter'> is a very powerful filter functionality which will be described in more detail.
<verbose> means the level of verbosity as described already.
<count> the number of packets the sniffer reads before stopping.
a – timestamps the packets with the absolute UTC time.
l - (small letter L) timestamps the packets with LOCAL time on the unit.
(blank/no letter) – relative to the beginning of the capture.
There are three different levels of Information, also known as Verbose Levels 1 to 3, where verbose 1 shows less information and verbose 3 shows the most.
Verbose Levels 4, 5, and 6 would additionally provide the interface details.Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1519 | |
1019 | |
749 | |
443 | |
209 |
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 2024 Fortinet, Inc. All Rights Reserved.