Introduction
This document describes the procedure to collect modem crash information on Cisco Long Term Evolution (LTE) Routers. The crash information is necessary for the Cisco Technical Assistance Center (TAC) to analyse the root cause for cellular modem crash issues.
Prerequisites
Requirements
Cisco recommends that you have knowledge of LTE technology and configuration of the same on a Cisco Router.
Components Used
The information in this document is based on Cisco 4G fixed Routers and modules.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Configure
Identify a Modem Crash
These error messages in router console or logs indicate a modem firmware crash:
%CISCO800-2-MODEM_DOWN: Cellular0 modem is now DOWN
When the modem is in a crashed state, modem hardware statistics will be empty:
pqyr174#show cellular 0 hardware
Hardware Information====================
Modem Firmware Version =
Modem Firmware built =
Hardware Version =
International Mobile Subscriber Identity (IMSI) =
International Mobile Equipment Identity (IMEI) =
Integrated Circuit Card ID (ICCID) =
Mobile Subscriber Integrated Services
Digital Network-Number (MSISDN) =
Current Modem Temperature = 0 deg C
PRI SKU ID = , PRI version =
Configure Router to Collect the Crash Dump
The router needs to be configured in the special diagnostic mode to collect the crash dump. Once the router is configured in the diagnostic mode, wait till the modem crashes again. Once the modem crashes, it remains in the crashed state and the crash dump from the router is collected. When the modem is in the crashed state, it is useful only for crash dump collection, but it doesn't provide any data service.
Step 1. Configure this command. This command needs to be configured to run some of the IOS test commands.
Router(config)# service internal
Step 2. Verify the line number correspond to the cellular modem. As seen, line number three corresponds to the cellular modem.
Router#sh line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 CTY - - - - - 0 0 0/0 -
1 AUX 0/0 - - - - - 0 0 0/0 -
2 TTY 9600/9600 - - - - - 0 0 0/0 -
3 TTY - - - - - 0 0 0/0 Ce0
Step 3. Configure a Loopback interface on the router and assign an IP address.
Router(config)#interface loopback 0
Router(config-if)#ip address 10.1.1.1 255.255.255.255
Step 4. Reverse telnet to the modem and configure the modem in the special diagnostic mode to collect the crash information.
Router# telnet 10.1.1.1 2003
Trying 10.1.1.1, 2003 ... Open
at!entercnd="A710" ---- To Enter in to privileged mode.
OK
at!eroption=0 ---- Switches the modem to the Special Diagnostic mode
OK
at!eroption? ---- Queries the modem state. Value “0” indicates it is in the diagnostic mode
!EROPTION:
0 - USB Memory Download
OK
at!err=0 ---- Clears the old log
OK
at!gcclr ---- Clears the old log
Crash data cleared
OK
Press CTRL+SHIFT+6 and then ENTER to return in to the router prompt.
Router# disconnect
Closing connection to 10.1.1.1 [confirm]
Router#
Step 5. Turn off the automatic modem link recovery and use this command in privileged mode. Use the keyword cell-host for fixed platforms and cell-hwic for modular platforms such as the Cisco Integrated Services Routers Generation 2 (ISR G2) platforms.
Router# test {cell-host | cell-hwic} unit link-recovery off
Step 6. Ensure that there is no link recovery scripts configured on the router. If there is any Embedded Event Managar (EEM) script which power cycles the modem when the router losses the Internet connection, remove it.
Once these steps are completed, the modem will be in special diagnostic mode to collect the crash dump. Wait until the modem crashes again.
Step 7. Once the modem crashes, execute CLI and generate the crash dump file.
Router# test {cell-host | cell-hwic} unit modem-crashdump on {flash: | flash0: | flash1: | ftp:}
This command may take an hour to complete. Since the modem is in the crashed state, it cannot connect to the 4G networks and hence can’t be used for any data traffic. If you collect the crash dump in the flash memory, ensure that enough free space is available in the router flash. For 4G modem crash logs, you need approximately 80 MB free space in the Flash memory. Once the modem crash dump collection completes, you see lot of crash dump files in the flash memory. All these crash dump files are needed to identify the root cause of the modem crash.
Step 8. Once the modem crash dump generation is completed successfully, power recycle the modem to recover from the crashed state by with this command.
Router# test cellular unit modem-power-cycle
Step 9. Switch the modem back to the normal mode with the help of a reverse telnet to the modem and run these commands.
Router# telnet 10.1.1.1 2003
Trying 10.1.1.1, 2003 ... Open
at!entercnd="A710"
OK
at!eroption=1 ---- Switch the modem back to normal mode
OK
at!eroption? ---- Value “1” indicates modem is in the normal mode.
!EROPTION:
1 - Reset
OK
Router# disconnect
Closing connection to 10.1.1.1 [confirm]
Router#
Verify
Use this section to confirm that your configuration works properly.
These commands can be used to verify the crash dump collection.
show cellular
show flash
show cellular 0 logs modem-crashdump
Troubleshoot
There is currently no specific troubleshooting information available for this configuration.
Related Information
4G LTE Software Configuration