Maintenance Commands 150
FTP/TFTP system dump put
Use this command to put (save) the system dump to a FTP/TFTP server.
NOTE: If the FTP/TFTP server is running SunOS or the Solaris operating system, the specified
copy flash-dump tftp (or ftp)file must exist prior to executing the
copy flash-dump tftp command (or copy flash-dump tftp) command, and must be writable (set
with proper permission, and not locked by any application). The contents of the specified file will be replaced
with the current dump data.
To save dump information via FTP/TFTP, at the prompt, enter:
Switch# copy flash-dump tftp <server> <filename>
or
To save dump information via FTP/TFTP, at the prompt, enter:
Switch# copy flash-dump ftp <server> <filename>
Type the server IP address or hostname as <server
>
, and the target dump file as <filename>.
Clearing dump information
To clear dump information from flash memory, at the prompt, enter:
Switch# clear flash-dump
The switch clears the dump region of flash memory and displays the following message:
FLASH dump region cleared.
If the flash dump region is already clear, the switch displays the following message:
FLASH dump region is already clear.
Panic command
The panic command causes the switch to dump state information immediately to flash memory and reboot.
To select panic, at the prompt, enter:
>> Switch# debug panic
A FLASH dump already exists.
Confirm replacing existing dump and reboot [y/n]:
Enter y to confirm the command:
Confirm dump and reboot [y/n]: y
A list of messages is displayed:
Starting system dump...done.
Reboot at 11:54:08 Wednesday October 30, 2006...
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rebooted because of console PANIC command.
Booting complete