Command Reference Guide

Serviceability Packet Tracing Commands
CLI Command Reference
September 2014 Page 222
HP Moonshot Switch Module CLI Command Reference
debug crashlog
Use this command to view information contained in the crash log file that the system maintains when it
experiences an unexpected reset. The crash log file contains the following information:
Call stack information in both primitive and verbose forms
Log Status
Buffered logging
Event logging
Persistent logging
System Information (output of sysapiMbufDump)
Message Queue Debug Information
Memory Debug Information
Memory Debug Status
OS Information (output of osapiShowTasks)
/proc information (meminfo, cpuinfo, interrupts, version and net/sockstat)
Default disabled
Format
debug crashlog {[kernel] crashlog-number [upload url] | proc | verbose | deleteall}
| data crashdump-number [{{upload url | download url} | component-id [item-numer]
[additional-parameter-1] [additional-parameter-2]...}]
Mode Privileged EXEC
Parameter Description
kernel View the crash log file for the kernel
crashlog-number Specifies the file number to view. The system maintains up to four copies, and the
valid range is 14.deb
upload url To upload the crash log (or crash dump) to a TFTP server, use the
upload keyword and
specify the required TFTP server information.
proc View the application process crashlog.
verbose Enable the verbose crashlog.
deleteall Delete all crash log files on the system.
data Crash log data recorder.
crashdump-number Specifies the crash dump number to view. The valid range is 02.
download url To download a crash dump to the switch, use the
download keyword and specify the
required TFTP server information.
component-id The ID of the component that caused the crash.
item-number The item number.
additional-parameter Additional parameters to include.