CLI Guide

Switch Management Commands 2167
Syntax
exception core-file file-name [hostname [time-stamp] | time-stamp
[hostname]]
no exception core-file
file-name — The file name. The maximum length is 15 characters.
Embedded blanks may not be allowed by the host file system (for
example, TFTP server) and are not recommended.
hostname — Includes the switch host name in the core file name. If not
configured, uses the switch MAC address in the core file name.
time-stamp—Includes the switch TOD in the core file name.
Default Configuration
By default, the core file name has no prefix and no host name and uses the
time stamp of the switch in the core file name.
Command Modes
Global Configuration mode
User Guidelines
The configuration parameters are not validated when this command is
entered. Use the write core test command to validate the configured
parameters and that the core dump is likely to succeed.
An average core file is around 450 KB. Example copy times are as follows:
TFTP: 13mins (different subnet)
USB: 3 mins
Administrators should ensure that a cleanly formatted USB flash drive of at
least 1G is used for collection of a the full core dump. Do not remove the USB
device during data transfer. Use the unmount command to cleanly detach the
USB device prior to physical removal.
Example
This example enables core dumps to a TFTP server 10.27.9.1 reachable over
the out-of-band port. The core file is written to the dumps directory and the
name includes the host name of the switch and the switch TOD.