show debug-file reset-info

This command displays logged device restarts in the debug file.

Syntax

show debug-file reset-info

Command

Description

list

Displays a list of logged device restarts. Each logged restart is numbered sequentially, displaying the reason for the restart and when it occurred, and the software version, for example:

***** Reset *****

Reset Counter:23

Reset Reason: Web Reset

Reset Time: 26.8.2020 9.25.44

SwVersion: 740A-300-10

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

If the restart was caused due to an error (i.e., crash), "Exception" (instead of "Reset") is displayed at the beginning of the logged restart, 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 restart, specified by its Counter number (use the above command to view all the logged restarts 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

Reset Reason: Web Reset

Reset Time: 26.8.2020 9.25.44

SwVersion: 740A-300-10

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

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

Command Mode

Basic and Privileged User

Example

This example displays the list of logged device restarts:

# 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
Reset Reason: Web Reset
Reset Time: 26.8.2020 9.25.44
SwVersion: 740A-300-10 ************** ***** Reset ***** Reset Counter:22 Reset Reason: CLI Reset Reset Time: 20.7.2020 13.6.12
SwVersion: 740A-300-10 ************** ***** Reset ***** Reset Counter:21 Reset Reason: External reset reason: Reset Time: 4.6.2020 6.28.37
SwVersion: 740A-300-10 **************