cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

How to do Packet Capture from CUCM/Unity Connection/IP Phones?

28873
Views
15
Helpful
1
Comments

 

 

Introduction

 

This document covers the procedure on how to do Packet Capture from Cisco Unified Communications Manager (CUCM), Unity Connection, Cisco Unified Presence Server (CUPS) and Cisco IP Phones. Also it covers how to gather logs from Real Time Monitor Tool (RTMT) and Command Line (CLI).

 

Packet Capture on CUCM/Unity Connection/CUPS

 

This is how you can do a sniffer capture from command line of Cisco Unified Communications Manager (CUCM) ,Unity Connection and Cisco Unified Presence Server (CUPS). To start the capture you can select the file-name you want. Then press enter to start capturing and then press Control C  to stop capturing.

 

 

Packet Capture on CUCM / Unity Connection / CUPS

 

# Secure Shell (SSH) to the CUCM or Unity Connection or for which you  would like to run the capture.

 

# Once you are logged in with the platform  administrative rights, enter this command:

 

      utils network capture size all count 1000000 file  <file-name>

 

      Then press Control C  to stop capturing

 

 

 

 

How to gather the packet capture via RTMT?

 

The capture can be gathered from RTMT like you are gathering a trace.

 

Log in to the RTMT and choose these options:

 

System > Tools > Trace > Trace & Log Central > Collect Files > Check the Packet Capture Logs check box

 

Then select the timeframe you did the capture and Location you would like to download to.

 

 

How to gather via CLI?

 

 

Once you have run the capture you can execute the below command to display the directory where the capture is placed:

 

- file list activelog /platform/cli/*

 

Run the blow command to download the file to an SFTP server. Once you run the command you will be asked for further information regarding access to SFTP server.

 

- file get activelog /platform/cli/<filename>

 

 

Packet Capture on IP Phones

 

Call Manager Phones

 

In order to enable the PC port on the phone at the phone's device level configuration in the Unified CallManager configuration interface, complete these steps:

 

 

   1. Log in to the CallManager Administration web interface with administrative rights and complete these tasks:

 

 

      Choose the Device > Select the phone > PC Port * > Set to Enable > Save > Apply or Reset the phone

 

 

   2. Connect a work station to the PC port on the back of the phone and run Wireshark on the work station. Wireshark collects Skinny Client Control Protocol (SCCP) packets from the phone.

 

 

Related Information

 

Comments
Beginner

Hi,

 

Packet Capture on IP Phones

 

Call Manager Phones

 

In order to enable the PC port on the phone at the phone's device level configuration in the Unified CallManager configuration interface, complete these steps:

 

 

   1. Log in to the CallManager Administration web interface with administrative rights and complete these tasks:

 

 

      Choose the Device > Select the phone > PC Port * > Set to Enable > Save > Apply or Reset the phone

 

 

   2. Connect a work station to the PC port on the back of the phone and run Wireshark on the work station. Wireshark collects Skinny Client Control Protocol (SCCP) packets from the phone.

 

 

 

(this doesn't work for me)

any idea please..