Use the write core command to generate a core dump file on demand. The write core test command is helpful when testing the core dump setup. For example, if the TFTP protocol is configured, write core test communicates with the TFTP server and informs the user if the TFTP server can be contacted. Similarly, if protocol is configured as nfs, this command mounts and unmounts the file system and informs the user of the status.
write core reloads the switch which is useful when the device malfunctions, but has not crashed.
For write core test, the destination file name is used for the TFTP test. Optionally, you can specify the destination file name when the protocol is configured as TFTP.
Default | None |
Format | write core [test [dest_file_name]] |
Mode | Privileged EXEC |