Core and Log Files
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
switch(config)# system cores slot0:coreSample
switch(config)# system cores tftp:/220.127.116.11/abcd
switch(config)# no system cores
Saving the Last Core to CompactFlash
This last core dump is automatically saved to CompactFlash in the /mnt/pss/ partition before the
switchover or reboot occurs. Three minutes after the supervisor module reboots, the saved last core is
restored from the Flash partition (/mnt/pss) back to its original RAM location. This restoration is a
background process and is not visible to the user.
The timestamp on the restored last core file displays the time when the supervisor booted up—not when
the last core was actually dumped. To obtain the exact time of the last core dump, check the
corresponding log file with the same PID.
To view the last core information, issue the show cores command in EXEC mode.
To view the time of the actual last core dump, issue the show process log command in EXEC mode.
Clearing the Core Directory
Use the clear cores command to clean out the core directory. The software keeps the last few cores per
service and per slot and clears all other cores present on the active supervisor module.
switch# clear cores
First and Last Core
The First and last core feature uses the limited system resource and retains the most important core files.
Generally, the first core and the most recently generated core have the information for debugging and,
the First and last core feature tries to retain the first and the last core information.
If the core files are generated from active supervisor module, the number of core files for the service is
defined in the service.conf file. There is no upper limit on the total number of core files in the active
supervisor module. The defined number of core files work for every VDC.
To display the core files saved in the system, use the following commands:
Cisco MDS 9000 Family CLI Configuration Guide
Monitoring System Processes and Logs
Copies the core file (coreSample) to slot 0.
Copies the core file (abcd) in the specified
directory on the TFTP server at IPv4
You can also use IPv6 addresses to
identify the TFTP server.
Disables the core files copying feature.
OL-16184-01, Cisco MDS SAN-OS Release 3.x