Cisco Router – How to view the crash file
When working with Cisco it can be helpful or sometimes necessary to have a crash file to send to Cisco.
What is a crashfile?
The crashinfo file contains this information:
- limited error message (log) and command history
- description of the image running at the time of the crash show alignment
- malloc and free traces
- process level stack trace
- process level context
- process level stack dump
- interrupt level stack dump
- process level info
- process level register memory dump
Depending on the router model
Router#dir bootflash:
or just typing in...
Router#dir
will give you a listing of files available on the router memory. Normally the IOS and crashinfo files.
Crash info files will look something like "crashinfo_20080102-351313" when listed by the dir command
Next step is to output the data in the console. You best bet is to log a hyperterminal session or your terminal of choice. Once you are recording, set the terminal length to 0 (command: terminal length 0). And finally enter in
Router1#more flash:crashinfo_20080102-351313
or
Router1#more bootflash:crashinfo_20080102-351313
note: adjust the file to match the file on your router
source: http://www.cisco.com/en/US/products/hw/routers/ps167/products_tech_note09186a00800a6743.shtml