Saving Cores - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 59
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
tftpd
vpm

Saving Cores

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
Tip
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:
Command
Step 1
switch# show cores
Step 2
switch# copy core:7407 slot0:coreSample
switch# copy core://5/1524 tftp:/1.1.1.1/abcd
1.
2.
To copy the core and log files periodically, follow these steps:
Command
Step 1
switch# show system cores
Step 2
switch# config t
OL-16184-01, Cisco MDS SAN-OS Release 3.x
2021
2930
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.
N
Y
N
Mon Sep 29 15:30:51 2003
N
N
N
Mon Nov 17 19:14:33 2003
Purpose
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 1.1.1.1.
You can also use IPv6 addresses to
Note
identify the TFTP server.
Purpose
Enters configuration mode.
Cisco MDS 9000 Family CLI Configuration Guide
Core and Log Files
1
2
or slot 7
to the TFTP server
59-7

Advertisement

Table of Contents
loading

Table of Contents