Cisco MDS 9000 Family Command Reference, Release 1.2(2a)
K Commands

Table Of Contents

K Commands

kernel core


K Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.

kernel core

kernel core

Use the kernel core command to generate a core dump for each module. Use the no form of this command to negate the command or revert to its factory

kernel core limit number | module slot ( level all | header | kernel | ram | used-ram )| target ipaddress

no kernel core limit | module slot | target ipaddress

Syntax Description

limit

Limits the number of modules for which the core is generated.

number

Specifies the number of modules for core generation

module

Configures the module requiring the core generation.

slot

Specifies the slot number of the module.

level

Specifies the core dump level for the selected module.

all

Dumps all the memory (required 1G of space)

header

Dumps kernel header only.

kernel

Dumps all kernel memory pages.

ram

Dumps all the RAM pages.

used-ram

Dumps all the used ram pages.

target

Configures the external server on the sme physical LAN.

ipaddress

Specifies the IP address of the external server.


Defaults

Disabled.

Command Modes

Configuration mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.1(1).

Usage Guidelines

None.

Examples

The following example limits core generation to two modules.

sw5(config)# kernel core limit 2
succeeded

The following example configures module 5 to generate cores.

sw5(config)# kernel core module 5
succeeded

The following example configures module 5 to generate only header-level cores.

sw5(config)# kernel core module 5 level header
succeeded

The following example configures the external server.

sw5(config)# kernel core target 10.50.5.5
succeeded

Related Commands

Command
Description

show kernel

Displays configured kernel core settings.

show running-config

Displays all switch configurations saved to PSS.