Running tcpdump in CLI

Last Updated : Dec 16, 2021 |

Procedure

  1. Log on to the EMS server through SSH with ipcs user credentials.
  2. At the command prompt, type cd /archive/pcapfiles/IPCS2.
  3. Type tcpdump -ni any -s 0 -w 'filename.pcap', where filename is the name of the packet capture file.
  4. To run packet captures on a specific interface, type tcpdump -i any -s 0 -w 'filename.pcap'

    To run packet captures on a specific interface, use tcpdump -I data_interface. Packet capturing on Avaya SBC negatively impacts packet latency.

  5. Wait for the capture to end, and press Ctrl+C.
  6. Type chown ipcs:ipcs filename.pcap.

    The system displays the packet capture file in the Captures tab in the EMS web interface.