Creating a packet capture profile
When troubleshooting networks, you can look inside the header of the packets. This helps to determine if the packets, route, and destination are all what you expect. Packet capture is also called a network tap, packet sniffing, or logic analyzing.
The maximum number of packet-capture profiles and the RAM disk size allotted for packet capture are different for the various platforms:
Platform |
Maximum number of profiles |
RAM disk size in MB |
---|---|---|
2xx |
8 |
50 |
4xx |
16 |
75 |
5xx |
16 |
100 |
1xxx |
16 |
100 |
3xxx |
16 |
100 |
The maximum number of packet capture files is equal to license points. When the number of existing packet capture files has reached the maximum, you need to delete one or more existing packet capture files before starting a packet capture.
Packet capture files are kept for 7 days. For licensed users, there is a 60-day grace period before the packet capture files are deleted.
To create a packet capture profile:
-
Select a FortiSwitch unit that you want to investigate and click View Interface.
-
Select the interface and click Create Packet Capture Profile.
- Enter a name for the new packet capture profile in the Configuration Name field.
Avoid using special characters, such as <, >, (,), #, ', and ". - Optional. Enter a filter to reduce the number of packets captured.
The filter uses flexible logic. For example, if you want packets using UDP port 1812 between hosts namedforti1
and eitherforti2
orforti3
, enter the following:udp and port 1812 and host forti1 and \( forti2 or forti3 \)
- Enter the maximum number of packets to collect. The maximum number of packets that can be captured depends on the RAM disk size.
- Enter the maximum packet length in bytes to capture on the interface. The range of values is 64-1534 bytes.
- Select Ok.
Go to Configuration > Packet Capture Profiles to see the new packet capture profile.