22
2009
Have you never seen a Cisco crash?
It is not common see a Cisco crash: Software forced crash, Bus Error, Software watchdog timeout, and so on…
But if you would do it, there is a pretty trick :) : it’s the “test crash” command, an hidden IOS command. This can help you if you are lucky enough to have the real crash exactly like one of those you can test with “test crash” command.
Below, the test crash menu:
Ciscozine#test crash
WARNING: Command selections marked with '(crash router)' will crash
router when issued. However a selection 'C' will need to
be issued IMMEDIATELY before these selections to enable them.
Type the number for the selected crash:
--------------------------------------
1 (crash router) Bus Error, due to invalid address access
2 (crash router) Bus Error, due to parity error in Main memory
3 (crash router) Bus Error, due to parity error in I/O memory
4 (crash router) Address Error, due to fetching code from odd address
5 (crash router) Jump to zero
6 (crash router) Software forced crash
7 (crash router) Illegal read of address zero
8 (crash router) Divide by zero
9 (crash router) Corrupt memory
C Enable crash router selection marked with (crash router)
R (crash router) User enter read bus error address
U (crash router) User enter write bus error address
W (crash router) Software watchdog timeout (*** Watch Dog Timeout ***)
w (crash router) Process watchdog timeout (SYS-2-WATCHDOG)
d Disable crashinfo collection
e Enable crashinfo collection
i Display contents of current crashinfo flash file
m Write crashinfo on crashinfo RAM
n Change crashinfo flash file name
q Exit crash menu
s Save crashinfo to current crashinfo flash file
c Close current crashinfo flash file
t Write crashinfo on console TTY
x Exit crash menu
?
To generate a Cisco crash, type “C” to enable Cisco crash feature. Then select the crash type that you would generate.
How Cisco test crash command works?
In this example, I have selected the “s” option to save crashinfo to the flash. The file will be named like: crashinfo_YYYYMMDD-hhmmss, where:
- YYYY is the year, like 2009
- MM is the month, like 06
- DD is the day, like 18
- hh are the hours, like 15
- mm are the minutes, like 03
- ss are the seconds, like 34
As you can see, the file saved on the flash memory (due a Software forced crash, option #6) could be read with the command “more”. Remember that it is not easy understand the crashinfo file…
Related Posts
-
Abdul
- Chinese Cable Operator Zhejiang Wasu Taps Cisco for 100 Gigabit Backbone http://t.co/ox5Ik5Y3PW
- Google Releases Google Chrome 27.0.1453.93 http://t.co/N8BnqjGWvl
- Senior Executives Say Cloud-Based Collaboration Leads to Higher Business Performance http://t.co/mG2W0O7z88
Email Updates
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008

