Leaflet
8-83
思科 ASA 系列命令参考,A 至 H 命令
第 8 章 client-access-rule 至 crl enforcenextupdate 命令
coredump enable
The exact time depends on the size of the coredump generated.
Proceeding with resizing to 100 MB results in
deletion of current 120 MB coredump filesystem and
its contents on 'disk1:', proceed ?[confirm]
Making coredump file system
image!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!
以下示例最初在 disk0: 上启用核心转储,然后在 disk1: 上启用。另请注意 default 关键字的使用。
注意 我们不允许两个活动的核心转储文件系统,因此,您必须删除以前的核心转储文件系统才能继续。
hostname(config)# coredump enable filesystem disk1: size default
WARNING: Enabling coredump on an ASA5540 platform will delay
the reload of the system in the event of software forced reload.
The exact time depends on the size of the coredump generated.
Coredump is currently configured on 'disk0:', upon successful
configuration on 'disk1:', the coredump filesystem will be
deleted on 'disk0:', proceed ?[confirm]
Proceed with coredump filesystem allocation of 100 MB
on 'disk1:' (Note this may take a while) ?[confirm]
Making coredump file system
image!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!
以下示例展示如何禁用核心转储文件系统。但当前核心转储文件系统映像及其内容不受影响。
hostname(config)# no coredump enable
要重新启用核心转储,请重新输入您最初用于配置核心转储文件系统的命令。
以下示例禁用并重新启用核心转储:
• 使用默认值:
hostname(config)# coredump enable
hostname(config)# no coredump enable
hostname(config)# coredump enable
• 使用显式值:
hostname(config)# coredump enable filesystem disk1: size 200
hostname(config)# no coredump enable
hostname(config)# coredump enable filesystem disk1: size 200
相关命令
命令 说明
clear configure coredump
从系统中删除核心转储文件系统及其内容。同时清除核心转储日志。
clear coredump
删除当前存储在核心转储文件系统的所有核心转储并清除核心转储
日志。
show coredump filesystem
显示核心转储文件系统上的文件并指示其充满程度。
show coredump log
显示核心转储日志。