!! Video Tutorial
Q: How to do Packet Capture on CallManager, Unity Connection or CUPS (Any Version)?
A. You can take a sniffer capture from the command-line (CLI) of CUCM, Unity Connection or CUPS. In order to start the capture, enter this command with the file name that you want:
utils network capture eth0 size ALL count 100000 file <File_Name>
Hit Enter in order to start the capture, and Ctrl-C in order to stop the capture.
In order to gather the capture, follow one of these steps:
- You can gather a capture from RTMT the same way that you gather a trace.
Note: When you check the boxes, the capture is not on the first page of items, but toward the bottom of the second page.
- Navigate to RTMT > Trace & Log Central > Collect Files.
- Click Next. Check the Packet Capture Logs check box.
- Select the time-frame when the capture was taken, and the location that you want to download to.
- You can gather a capture via CLI.
- In order to display the directory where the capture is placed, enter the "file list activelog /platform/cli/*" command.
- In order to download the file to an SFTP server, enter the file get activelog /platform/cli/<filename>command.
Note: After the command is entered, further information with regards to access to the SFTP server is required.