CLI Guide

Table Of Contents
Switch Management Commands 2182
User Guidelines
This command has no user guidelines.
Command History
Introduced in version 6.2.0.1 firmware.
write core
Use the write core command to generate a core file on demand and either
reboot the switch or test the core file configuration.
Syntax
write core [test [dest-file-name]]
dest-file-name — The file name used if a tftp-server is configured with
the exception dump tftp-server command. The dest-file-name
parameter overrides the file name parameters configured with the
exception core-file command.
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