Specifications

5-165
Cisco ATM Services (AXSM) Configuration Guide and Command Reference for MGX Switches
Release 5.2, Part Number OL-6484-01 Rev. C0, September 2005
Chapter 5
core
Usage Guidelines
A description of usage considerations for the more complex parameters follows.
Disabling Core Dumps, Timeout, and Priority
You may want to disable core dumps for a slot due to the time to write core memory to disk. For example:
You may have isolated a problem and want to save the time required to write RAM contents to disk.
The traffic on a card may be of such high priority that you do not want to dump core memory to disk.
As the processor gets busier, core dumps require more time. In addition to disabling core dumps for a
slot, you can set the priority of core dumps to low at the switch level or specify a timeout period for core
dumps.
Specifying the Core Mask
The core mask is the sum of the hexadecimal numbers associated with reset reasons that are enabled to
trigger a core dump. Most reasons for a card reset can be enabled to trigger a core dump. (The reasons
that cannot trigger a core dump are indicated as such.) Each reset reason has an associated hexadecimal
number—regardless of whether it can trigger a core dump. If the reset reason is ON, the associated hex
number is an element of the mask.
To create a core mask, add the hexadecimal values for the reset reasons that you want to be in the mask.
The list that follows shows the reset reasons and the default enables. For a simplified example, enter core
mask c to specify that only a resource overflow or watchdog timeout can cause a core dump for the slot
where you enter this command. The default mask as displayed by core mask follows:
OFF 00001 not used (cannot be turned ON)
ON 00002 DRAM Parity Error
ON 00004 WatchDog Timeout Reset
ON 00008 Resource Overflow
OFF 00010 Clear All Configuration (cannot be turned ON)
ON 00020 Missing Task
ON 00040 Reset because of PXM Low Voltage
ON 00080 Reset By Event Log Task
OFF 00100 Reset from Shell—a reset issued from a low-level debugging shell used by Cisco
engineers
ON 00200 Unknown
OFF 00400 Reset from PXM—of the reasons PXM causes reset, some (e.g., resetcd) can cause a
dump
mask default Enter core mask default to return the mask to the default value (0x262ee).
mask <hex-mask>Type core mask followed by a hexadecimal value to modify the mask. You
can specify a mask regardless of whether core dumping is enabled for the
card. See the section, “Usage Guidelines,” for the core mask details. See
also Examples.
enable Enter core enable to enable automatic core dumping for the current slot.
disable Enter core disable to disable automatic core dumping for the current slot.