show debug-file reset-info

This command displays logged device resets in the debug file.

Syntax

show debug-file reset-info

Command

Description

list

Displays a list of logged device resets. Each logged reset is numbered sequentially, displaying the duration (in seconds) that the device was operational (up time) before the reset, the reason for the reset, when it occurred, and the software version, for example:

***** Reset *****

Reset Counter:23

Up Time (seconds): 3844

Reset Reason: Web Reset

Reset Time: 26.8.2020 9.25.44

SwVersion: 724A-356-833

**************

If the reset was caused due to an error (i.e., crash), "Exception" (instead of "Reset") is displayed at the beginning of the logged reset, as shown in the following example:

***** Exception *****

Reset Counter:24

Exception Reason: CMX Kernel Panic

EXCEPTION TIME : 4.9.2020 10.21.46

**************

reset-counter <Reset Counter> [file <File Name>]

Displays a logged device reset, specified by its Counter number (use the above command to view all the logged resets and their Counter numbers). The output also shows any associated logged files. To view the file contents in the output, specify the file after the counter number, for example:

# show debug-file reset-info reset-counter 23

Reset Files [syslog]

** Summary **

***** Reset *****

Reset Counter:23

Up Time (seconds): 3844

Reset Reason: Web Reset

Reset Time: 26.8.2020 9.25.44

SwVersion: 724A-356-833

**************

# show debug-file reset-info reset-counter 23 syslog

Command Mode

Basic and Privileged User

Example

This example displays the list of logged device resets:

# show debug-file reset-info list
** Current Reset Counter [25] **

***** Exception *****
Reset Counter:24
Exception Reason: CMX Kernel Panic
EXCEPTION TIME : 4.9.2020 10.21.46
**************

***** Reset     *****
Reset Counter:23
Up Time (seconds): 3844 Reset Reason: Web Reset Reset Time: 26.8.2020 9.25.44
SwVersion: 724A-356-833 ************** ***** Reset ***** Reset Counter:22
Up Time (seconds): 3844 Reset Reason: CLI Reset Reset Time: 20.7.2020 13.6.12
SwVersion: 724A-356-833 **************