Guest

Cisco MGX 8800 Series Switches

Using Core Dump Facilities on MGX Switches

Document ID: 42124



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Enable a Core Dump
Save the Core Dump to a PXM Hard Drive
Copy the Core Dump File to Your Workstation
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

This document describes how to use the core dump facilities on MGX switches in order to enable a core dump image, save a .zip file, and copy the file to your workstation.

Prerequisites

Requirements

Readers of this document should have knowledge the Cisco MGX Switch.

Components Used

This document is not restricted to specific software and hardware versions.

Conventions

For more information on document conventions, refer to the Cisco Technical Tips Conventions.

Enable a Core Dump

The core enable command enables automatic core dumps for the current slot (only) and the core disable command disables automatic core dumps for the current slot (only).

Use the core mask command to display and set the mask, which determines the conditions that cause an automatic core dump. This output shows an example:

The core mask Command

MGX.1.7.PXM.a > core mask 

Automatic Core Dumping is enabled for this slot. 
The Current Core bin is 0. 

The Current Core mask is 0x4004. 

OFF 0001 not used 
OFF 0002 DRAM Parity Error 
ON  0004 WatchDog Timeout Reset 
OFF 0008 Resource Overflow 
OFF 0010 Clear All Configuration 
OFF 0020 Missing Task 
OFF 0040 Reset because of PXM Low Voltage 
OFF 0080 Reset By Event Log Task 
OFF 0100 Reset from Shell 
OFF 0200 Unknown 
OFF 0400 Reset from PXM 
OFF 0800 Reset System 
OFF 1000 Switch Core Card 
OFF 2000 Secondary Cache Error 
ON  4000 Software Error Reset 
OFF 8000 S/W reset due to upgrade 
OFF 10000 Restore All Configuration 
OFF 20000 Device Driver Error

Use the core mask newmask command to set a new mask. For example, in order to enable the DRAM Parity Error, enter the core mask 0002 command.

Use the core mask default command to set the mask back to the default.

Save the Core Dump to a PXM Hard Drive

You can save the core dump file to a Processor Switch Module (PXM) Hard Drive.

Use the core hot-dump command to save the raw core dump file to the PXM hard drive manually. For example:

The core hot-dump Command

MGX.1.7.PXM.a > core hot-dump 
Do you want to proceed (Yes/No)? y 
Dumping PXM Core Image into Bin 0: 
...................................................

Use the core command to view the current list of PXM raw core dump files saved on the disk. In this example output, three core dumps are saved. The first core dump starts from 0, the second starts from 1, and the third starts from 2:

Use the core Command

MGX.1.7.PXM.a > core
Saved Core Images:
Slot            Reset Reason                  Dump Time
-------------------------------------------------------------
0               Software Error Reset    WED NOV 29 00:51:31 2000
1               Software Error Reset    THU FEB 22 01:17:55 2001
2                        Manual dump    TUE MAY 29 10:23:52 2001
Automatic Core Dumping is enabled.
The Current Core slot is 3

Use the core save core-bin filename-on-C-drive command to save the specified PXM raw core dump to a specified zip file. For example:

Use the core save core-bin filename-on-C-drive Command

MGX.1.7.PXM.a > core save 0 core0.zip 
Creating core0.zip 
.................................  

Copy the Core Dump File to Your Workstation

In order to upload the .zip file, you must use File Transfer Protocol (FTP) on your workstation (Trivial FTP has a 16 MB file size limit). You must enable a login user name first in order to enable FTP on MGX, as these steps show:

  1. Log on to the MGX node.

  2. Type shellConn and setLogin. This sets the user name to cisco and the password to ciscoinc.

  3. Use the FTP application on your workstation to log into the MGX and download the .zip file. Ensure that you use binary mode.

  4. After the .zip file is uploaded, use the clrLogin command from shellConn in order to disable the FTP application.

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for WAN Switching
Network Infrastructure: WAN Routing and Switching

Related Information



Updated: Oct 04, 2005Document ID: 42124