This document explains how to SSH into 9971/9951/8961 model phones to set and capture syslogs and other debug information required for your troubleshooting.
1. Access to the Cisco Unified Communications Manager where IP Phones 9971/9951 are connected.
2. Ability to ping the phone being tested.
3. A laptop/PC to run an SSH client on (You use PuTTY)
Step 1: Configure SSH access to the phone on the CUCM
Step 2: Install PuTTY on your PC/laptop
Step 3: SSH to the phone using PuTTY
Step 4: Capture the requested syslog/debug information
Step 1: Configure SSH access to the phone on the CUCM.
(1) You will need login access to the CUCM
(2) Go to the Phone’s Phone Configuration page on Cisco Unified Administration Page and locate the “Secure Shell
(3) Enter a User name and Password. We will use this User/Password
when we SSH to the phone via PuTTY, so remember these values.
(4) Click Save and then Apply Config.
Step 2: Install PuTTY on your PC/laptop.
Install SSH client in your PC/laptop. PuTTY is a popular free tool used by many engineers.
Rest of these examples are based on PuTTY.
Step 3: SSH to the phone using PuTTY.
We will now SSH into the phone. Overview of steps:
Configure the Putty for Session logging & log file name
Wait, accept security alert, and then enter user/password. Finally a login screen will be shown.
Note: The username and password needed for second login is as follows for firmware versions 9.3(2) and earlier.
For firmware versions 9.3(4) and later use the following login credentials.
Step 4: Capture the required syslog/debug information.
You now have “console” access to the IP Phone say 9971/9951/8961 and can log syslogs and collect the debug outputs.
As ssh is disabled by default dont forget:
If you set the same parameter in the Common Phone Profile window (Device > Device Settings > Common Phone Profile) too, the precedence order of the settings is:
1. Phone Configuration window settings
2. Common Phone Profile window settings
1. Caputure the Debug information
Enter the “debugsh” shell to turn on the debugs. Do that by entering
debug sip-adapter ccapp sip-state sip-messages sip-reg-state gsm lsm fsm ccapp remote-cc
debug jvm Config debug
debug jvm SESSIONMANAGER debug
debug jvm Properties debug
debug jvm callhist debug
And capture the traces during the problem scenario.
2. Type ‘q’ or “quit” to exit debugsh
3. Now turn on the Syslogs by
# “/usr/sbin/sdump &”
Now you can see the syslogs start to flow
4. To stop the syslogs being displayed you can type
# pkill sdump
5. To Rerun to start the syslog again type
Good document for troublehsooting.
in 9971 using firmware versions 9-4-2, after loging using
It will go directly the prompt Debug>
And then you will need to use this commands:
settmask -p wman -t 0xFFF -b LOG_DEBUG
And then this command to see output
And to stop it this one:
How to do this, in phone configuration page only SSH access - Enabled/Disable is there there.
Firmware- sip9951. 9-4-1-9
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: