Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Saving Core Files from Junos OS Processes

By default, when an internal Junos OS process generates a core file, the file and associated context information are saved for debugging purposes in a compressed tar file named process-name.core.core-number.tgz in the /var/tmp/ and /var/crash/ directories. For Junos OS Evolved, the output is saved in the /var/core/ directory for Routing Engine core files and /var/lib/ftp/in/ for FPC core files. 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: