Monitoring System Processes and Logs
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
You can save cores (from the active supervisor module, the standby supervisor module, or any switching
module) to an external CompactFlash (slot 0) or to a TFTP server in one of two ways:
A new scheme overwrites any previously issued scheme. For example, if you perform another core log
copy task, the cores are periodically saved to the new location or file.
Be sure to create any required directory before performing this task. If the directory specified by this
task does not exist, the switch software logs a system message each time a copy cores is attempted.
To copy the core and log files on demand, follow this step:
switch# show cores
switch# copy core:7407 slot0:coreSample
switch# copy core://5/1524 tftp:/184.108.40.206/abcd
To copy the core and log files periodically, follow these steps:
switch# show system cores
switch# config t
OL-16184-01, Cisco MDS SAN-OS Release 3.x
On demand—Copies a single file based on the provided process ID.
Periodically—Copies core files periodically as configured by the user.
Cisco MDS 9506 or Cisco MDS 9509 switch
Cisco MDS 9513 Director
If the core file for the specified process ID is not available, you see the following response:
switch# copy core:133 slot0:foo
No core file found with pid 133
If two core files exist with the same process ID, only one file is copied:
switch# copy core:7407 slot0:foo1
2 core files found with pid 7407
Only "/isan/tmp/logs/calc_server_log.7407.tar.gz" will be copied to the destination.
Mon Sep 29 15:30:51 2003
Mon Nov 17 19:14:33 2003
Copies the core file with the process ID 7407 as
coreSample in slot 0.
Copies cores (if any) of a process with PID 1524
generated on slot 5
at IPv4 address 220.127.116.11.
You can also use IPv6 addresses to
identify the TFTP server.
Enters configuration mode.
Cisco MDS 9000 Family CLI Configuration Guide
Core and Log Files
or slot 7
to the TFTP server