The new 89/99xx phones have different SSH AND Console debugging instructions from previous models of IP Phones.
There are two SSH logins needed to access the phone console. The first username/password pair can be set from the CCMAdmin Web Page under the SSH Username and password.
Set these credentials in CCMAdmin and reset the phone.
Login to the first username and password prompt with these admin defined credentials.
You will then be greeted with ANOTHER username and password prompt. At this point you have two options:
Option 1 - Default Linux Shell
The default Linux shell lets you browse the phone's file system. A VERY useful command would be "tail -f /var/log/messages"
Option 2 - Debug Shell
The debug shell gives you a huge number of debug commands. Start with "help commands". Look at all of the cool show and debug commands in here. Sweet right?
USB Console Method
SSH debugging is great when network connectivity to the phone remains constant, and the phone doesn't reboot. If you're having a problem where the phone is rebooting or losing connectivity though, you may be better off by plugging a console cable straight into the phone. But this phone doesn't have a console port? Right - but it does have USB ports.
Here's what you'll need:
1x RS232 Null Modem Cable (This has the blue 9 pin DB9 connectors on each end. Wikipedia can show you how to make your own. If you are doing SMDI you have one of these cables already)
2x USBtoSerial adapter + driver. You need one that works with the phone such as IOGEAR USB-serial adapter (Model: GUC232A.). I've also found that the cables Cisco provides with laptops labeled CODi also work for this purpose. The key point is that the USB to Serial converter must be using a supported chipset such as the "PL2303" chipset.
If your computer has a serial port you only need one of these adapters. If your computer does not have a serial port (like most modern laptops), then you'll need 2.
1x PuTTY or Hyperterminal
Here's how you string them all together
IP Phone (Side or Back USB port) ---USBtoSerial Adapter --- Null Modem Cable --- USBtoSerial Adapter --- PC running PuTTY
Configure the PuTTY client to listen to the new COM port. Parameters required as follow.
You should immediately see debug information in your PuTTY session. Best of all, when the network connection breaks or the phone reboots, you'll keep getting debug output.
Here's what everything looks like:
Persistent Logging via SSH
Sometime it is necessary to collect debugs spanning a large period of time. This is usually done at the request of Cisco TAC to troubleshoot intermittent phone problems that are difficult to reproduce. The following steps uses the methods above to collect phone debugs over an extended period of time.
1. Configure console logging on your SSH client of choice.
2. SSH to the phone using the credentials configured in CCMAdmin
$ ssh email@example.com
3. Login to the Default Linux Shell (default/cisco)
(none) login: default
Welcome to MontaVista(R) Linux(R) Professional Edition Blackfoot (0702518).
Cisco IP Phone 9951 9-2-4-19
4. Enter the command '/usr/sbin/debugsh' to enter the Debug Shell
5. Enable the debugs required by Cisco TAC. The following is an example of a setting a couple debugs
DEBUG> debug jvm UserIO debug
Successfully executed the command.
DEBUG> debug jvm SessionUI debug
Successfully executed the command.
6. Use the 'exit' command to return to the Default Linux Shell
7. Use the command '/user/sbin/sdump' to being dumping the debugs to the terminal. This will continue to dump until an interrupt is sent (Cntrl-C).
sdump: PID = 3053
6 - Cisco Systems - # RELEASE Model=9951 Version=9-2-4-19
Hello AllI would like to set up a CUCM/CUC/Presence home lab to understand things in deep such as registering SIP gateways, route patterns, etc. I have brought a couple of 2911's, 3850's and IP phones and I7 8th gen 16GB laptops for lab sakeCould someone ...
We've had a couple of instances where users accidentally dial something like "9118883540". The call isn't recognized as a 911 call by CUCM, so it just routes it to our SIP Provider (Centurylink). Centurylink treats it like a 911 call. CER doesn't get trig...
Hi, We are working on an integration with Cisco UCCX (22.214.171.12401-34).We need to get skill aggregated data in 15 minute intervals.The skill data that is needed per interval is: Call volume (handled + abandoned), Handled calls, Average...
Need some Opinions on this. I have a Device on site that is not always manned but it's 'important'. The customer has the following requests: Device rings DN 4444If No Answer and it's during Business hours, send it on to DNs 4000, 4001, 40...
Hi there, We are running a Zoom webinar through three Cisco SX80's across all offices to join our All-Hands meetings. Ideally, we want to share content from one location and have our remote participants share on the left screen and our content share ...