Users Guide

Switch Management Commands 2162
Default Configuration
This command has no default configuration.
Command Modes
Privileged Exec mode
User Guidelines
Using the write core command reboots the switch. The write core command
is useful when the device malfunctions, but has not crashed.
The write core test command is useful for validating the core dump setup. For
example, if the protocol is configured as tftp, the command write core test
communicates with the tftp server and informs the administrator if the tftp
server can be contacted. Similarly, if the protocol is configured as usb, it
mounts and unmounts the file system and then informs the administrator
regarding the status.
Example
console#write core
The system has unsaved changes.
Would you like to save them now? (y/n) n
Configuration Not Saved!
This operation will reboot the device.
Are you sure you want to create coredump? (y/n).y
----------------------------------------------------
Thu Jan 1 00:17:35 1970
[pgid:577] [pid:577] [name:(syncdb)] [signal:11]
Call Trace (depth = 3):
0xb6faf7dc
0xb6fafc60
0xb6ef742c
<188> Jan 1 00:17:36 10.27.22.174-1 General[80499188]: procmgr.c(2926) 1171
%% Application Terminated (syncdb, ID = 2, PID = 577
log_error_code osapi_crash.c 2010
Switching software SIGSEGV Handler
This build was configured to copy this crash information to
a file.