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 { force | level { all | header | kernel | ram | used-ram} |
target ipaddress }
no kernel core { limit number | module slot { force | level { all | header | kernel | ram | used-ram}
| target ipaddress }
Syntax Description
limit number
Limits the number of modules for which the core is generated. The range is 1 to 6.
module slot
Configures the module requiring the core generation.
force
Forces a module to dump kernel core.
level
Specifies the core dump level for the selected module.
all
Dumps all the memory (requires 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 ipaddress
Configures the external server IP address on the sme physical LAN.
Defaults
Disabled.
Command Modes
Configuration mode.
Command History
Release
Modification
1.1(1)
This command was introduced.
Usage Guidelines
Core dumps performed on the supervisor module can lead to packet loss, even in a dual supervisor configuration.
Examples
The following example limits core generation to two modules.
switch(config)# kernel core limit 2
The following example configures module 5 to generate cores.
switch(config)# kernel core module 5
The following example configures module 5 to generate only header-level cores.
switch(config)# kernel core module 5 level header
The following example configures the external server.
switch(config)# kernel core target 10.50.5.5
Related Commands
Command
Description
show kernel
Displays configured kernel core settings.
show running-config
Displays all switch configurations saved to PSS.