Skip to content

** Have you never seen a Cisco crash?

ROCKY13 · Feb 25, 2010 18:02 5 198
ROCKY13 OP
Feb 25, 2010 18:02
** Have you never seen a Cisco crash?
5 replies
ROCKY13 OP
Feb 25, 2010 18:03
#1
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 : its 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.
ROCKY13 OP
Feb 25, 2010 18:04
#2
Below, the test crash menu: C i s c o z i ne # t e s t c r a s h W A R N I N G : C o m m a nd s e l e c t i on s m a r k e d w i t h ' ( c r a s h r ou t e r ) ' w i l l c r a s h r ou t e r w he n i s s ue d . H o w e v e r a s e l e c t i on ' C ' w i l l ne e d t o be i s s ue d IM M ED I A TE L Y be f o r e t he s e s e l e c t i on s t o e na b l e t he m. T y pe t he nu m be r f o r t he s e l e c t e d c r a s h : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 ( c r a s h r ou t e r ) Bu s E r r o r , due t o i n v a l i d a dd r e s s a c c e s s 2 ( c r a s h r ou t e r ) Bu s E r r o r , due t o pa r i t y e r r o r i n M a i n m e m o r y 3 ( c r a s h r ou t e r ) Bu s E r r o r , due t o pa r i t y e r r o r i n I /O m e m o r y 4 ( c r a s h r ou t e r ) A dd r e s s E r r o r , due t o f e t c h i ng c ode f r o m odd a dd r e s s 5 ( c r a s h r ou t e r ) J u m p t o z e r o 6 ( c r a s h r ou t e r ) S o f t w a r e f o r c e d c r a s h 7 ( c r a s h r ou t e r ) I l l e g a l r e a d o f a dd r e s s z e r o 8 ( c r a s h r ou t e r ) D i v i de b y z e r o 9 ( c r a s h r ou t e r ) C o r r up t m e m o r y C E na b l e c r a s h r ou t e r s e l e c t i on m a r k e d w i t h ( c r a s h r ou t e r ) R ( c r a s h r ou t e r ) U s e r e n t e r r e a d bu s e r r o r a dd r e s s U ( c r a s h r ou t e r ) U s e r e n t e r wr i t e bu s e r r o r a dd r e s s W ( c r a s h r ou t e r ) S o f t w a r e w a t c hdog t i m e ou t ( * * * W a t c h D og T i m e ou t * * * ) w ( c r a s h r ou t e r ) P r o c e s s w a t c hdog t i m e ou t ( S YS - 2 - W A TC H D O G ) d D i s a b l e c r a s h i n f o c o l l e c t i on e E na b l e c r a s h i n f o c o l l e c t i on i D i s p l a y c on t e n t s o f c u r r e n t c r a s h i n f o f l a s h f i l e m W r i t e c r a s h i n f o on c r a s h i n f o R A M n C ha ng e c r a s h i n f o f l a s h f i l e na m e q E x i t c r a s h m e nu s S a v e c r a s h i n f o t o c u r r e n t c r a s h i n f o f l a s h f i l e c C l o s e c u r r e n t c r a s h i n f o f l a s h f i l e t W r i t e c r a s h i n f o on c on s o l e TTY x E x i t c r a s h m e nu ?
ROCKY13 OP
Feb 25, 2010 18:05
#3
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
Someone
Feb 25, 2010 18:30
#4
My dear brother... Can u please use a lang which can be understandeble for 2wapers? smiley
ROCKY13 OP
Feb 26, 2010 03:35
#5
vipul: My dear brother... Can u please use a lang which can be understandeble for 2wapers? smiley
if i understand thn y shud i post it here. smiley