A packet capture may be needed to analyze the traffic going into and from the TMWS On-Premise Gateway. TCPDUMP is a packet analyzer tool that can be used on Linux CLI.
To start capturing packets, do the following:
- Connect to the TMWS On-Premise Gateway via SSH.
- Start capturing packets by running the command:
# tcpdump -i any -s0 -w /var/tmp/tcpdump.pcap
- -i any = Capture packets from all interfaces.
- -s0 = Set snapshot length to default.
- -w /var/tmp/tcpdump.pcap = Write output file "tcpdump.pcap" to /var/tmp/ path (modify as needed).
- Reproduce the issue or the traffic you want to capture.
- Press Ctrl + C to stop the packet capture.
- Use WinSCP or PSCP to retrieve the file.
Please note that you can run tcpdump --help
for other parameters you can use.