2-615
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set system core-dump
set system core-dumpTo enable or disable the core dump feature, use the set system core-dump command.
set system core-dump {enable | disable}
Syntax Description
Defaults The default is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The core dump feature generates a report of images when your system fails due to a software error. The core
image is stored in the file system. From this file, you can examine an error condition of a process when it is
terminated due to an exception.
The size of the file system depends on the memory card size. The core dump file generated is
proportional to the size of the system DRAM. Make sure that you have enough memory available to store
the core dump file.
In order to maintain the core dump image, the yield CPU is disabled during the c ore dump process. You
should have a redundant supervisor engine installed to take over normal operations. If the switch has a
redundant supervisor engine setup, the redundant supervisor en gine takes over automatically before the
core dump occurs. The previously active supervisor engine resets itself after the core dump completes.
Examples This example shows how to enable the core du mp fe at ure :
Console> (enable) set system core-dump enable
(1) In the event of a system crash, this feature will
cause a core file to be written out.
(2) Core file generation may take up to 20 minutes.
(3) Selected core file is slot0:crash.hz
(4) Please make sure the above device has been installed,
and ready to use
Core-dump enabled
Console> (enable)
This example shows how to disable the core dump feature:
Console> (enable) set system core-dump disable
Core-dump disabled
Console> (enable)
enable Enables the core dump feature.
disable Disables the core dump feature.