Crashing a router
Pingsta Validated
To crash a router, issue the "router#test crash" hidden privilege EXEC command. Once the command is issued, you will need to select "C" to reconfirm your intention and then you'll be asked to select a number corresponding to the type of crash you want executed.
For example:
Router#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)
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
n Change crashinfo flash file name
s Save crashinfo to current crashinfo flash file
q Exit crash menu
? C
!--- Enter C here and press return.
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)
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
n Change crashinfo flash file name
s Save crashinfo to current crashinfo flash file
q Exit crash menu
? 6
!--- Enter the number that corresponds to
!--- the crash type you want to test.
Unexpected exception, CPU signal 23, PC = 0x400E8DA8
-Traceback= 400E8DA8 40C6A4DC 404006E09C 400C477C 400C4768
$0 : 00000000, AT : 41B30000, v0 : 431A8F40, v1 : 00000032
For example:
Router#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)
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
n Change crashinfo flash file name
s Save crashinfo to current crashinfo flash file
q Exit crash menu
? C
!--- Enter C here and press return.
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)
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
n Change crashinfo flash file name
s Save crashinfo to current crashinfo flash file
q Exit crash menu
? 6
!--- Enter the number that corresponds to
!--- the crash type you want to test.
Unexpected exception, CPU signal 23, PC = 0x400E8DA8
-Traceback= 400E8DA8 40C6A4DC 404006E09C 400C477C 400C4768
$0 : 00000000, AT : 41B30000, v0 : 431A8F40, v1 : 00000032
Tags: cisco crash hidden command ios router software
Type: Quick Tip - Archive ID: 4.4 -
Last Updated: about 1 year ago - 462 Views

