Make use of Wireshark's rolling captures. This will create multiple packet capture files of the consecutive events separated by a defined interval of time, file size, and/or a certain number of packets. Follow these steps to make use of this function in Wireshark.
- Prepare the needed conditions to recreate the behavior of the issue in question.
- Open Wireshark.
- Select Capture, then Options.
- In the Input tab, select the interface(s) from which to capture packets so that they are highlighted.
- Select the Output tab, and check the "Create a new file automatically after..." checkbox.
- Define the interval for by checking checkbox for time, file size, and/or a cert ian number of packets and specify parameters accordingly.
- Select Start.
- Recreate the behavior or issue needed.
- Stop the capture.
- It is good practice to allow a little bit of time to pass (1 minute or so) after the issue is observed unless the support engineer directs otherwise.
- Upload the corresponding file(s) to the support case.
- Upload only the file(s) that contain the packets corresponding to the issue or behavior observed. Ideally, the desired packets captured will all be in a single file. Do NOT upload all of the files that were captured.