Users Guide

Switch Management Commands 2110
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.
console(config)#exception dump tftp-server 10.27.9.1 file-path dumps
console(config)#exception core-file hostname time-stamp
console(config)#exception protocol tftp
exception dump
Use this command to configure the core dump location. Use the no form of
the command to reset the location and parameters to the default values.