Saving Core Files from Junos OS Processes
By default, when an internal Junos process generates
a core file, the file and associated context information are saved
for debugging purposes in a compressed tar file named /var/tmp/process-name.core.core-number.tgz
. The contextual information includes the configuration
and system log message files.
To disable the saving of core files and associated context information, include the no-saved-core-context statement at the [edit system] hierarchy level:
To save the core files only, include the saved-core-files statement at the [edit system] hierarchy level and specify the number of files to save:
number is the number of core files to save and can be a value from 1 through 10.
To save the core files along with the contextual information, include the saved-core-context statement at the [edit system] hierarchy level: