Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

[edit system]no-saved-core-context;

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:

[edit system]saved-core-files number;

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:

[edit system]saved-core-context;

Published: 2013-02-22

Supported Platforms

Published: 2013-02-22