Tuesday, February 18, 2014

Cisco Unified SIP Proxy Log SIP Tracing and Trace Collection

Here are the Steps to enable SIP tracing using CUSP CLI for troubleshooting


CUSP
username <userid> create username <userid> password <password> username <userid> group pfs-privusers
cusp
trace enable
trace level debug component sip-wire-log
trace level debug
component routing
config
sip logging
end

To disable tracing do the following:
 cusp
config
no sip logging
end
trace level default
component sip-wire-log
trace level default
component routing
trace disable


Here is a guide to collect traces using Windows command prompt

 (ideal for environments where installing FTP clients are not permitted)


C:\Users\username>ftp
ftp> open x.x.x.x(CUSP IP address)

220 Welcome to Cisco FTP service.
User (10.1.125.219:(none)): xxxx(user created above
331 Please specify the password.
Password: xxxxx(password for user created)
230 Login successful.
*** Use the ls command to browse through the CUSP directory and obtain the correct path to the location of the sipmessage... log files***

Use the command below to change to the correct directory of the sipmessage log file

ftp> cd (directory)

ftp> get xxxx (sipmessage log name)

Use this command to see to confirm your local workstatinon local directory where the logs downloaded will be stored

ftp> lcd
Local directory now C:\Users\username>

Browse to the directory above to view your files

No comments:

Post a Comment