Views:

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:

  1. Connect to the TMWS On-Premise Gateway via SSH.
  2. 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).
  3. Reproduce the issue or the traffic you want to capture.
  4. Press Ctrl + C to stop the packet capture.
  5. Use WinSCP or PSCP to retrieve the file.

Please note that you can run tcpdump --help for other parameters you can use.