Child pages
  • How to store a PCAP trace into an USB mass-storage device

Contents


Starting from firmware version 8.7.5.9 all deskphones equipped with a USB port can store PCAP traces on a mass-storage device connected via USB. In this case the trace size is limited only by the free space of the USB device.


Step-by-step guide:

  1. Enable the usb_storage_pcap (Advanced -> QoS/Security)




  2. Create the "flag file" pcap.flg into the root directory



  3. Plug the USB device into the phone USB port. The phone should detect the storage device:

    Screen

  4. At this point the phone starts saving the pcap trace onto the USB device. Once you have reproduced the issue you can unmount and unplug the USB device. Unmounting the device before unplugging is fundamental in order to avoid data corruptions.
    The USB device can be un-mounted pressing the Menu key, selecting Maintenance and then Unmount USB disk:



  5. Now your are ready to plug the USB device into your computer and start analysing the saved PCAP trace:



Be aware that in heavy network load scenarios some packets can be missing from the saved PCAP trace. In this case the best way to obtain a trace is using a network hub or a switch with port mirroring.