Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[T, M, MX]How to get a core-dump off the router and to the Juniper FTP server



Article ID: KB26963 KB Last Updated: 15 May 2013Version: 1.0
This article shows how to perform a core dump for analysis. Routers generate core-dumps when a serious issue is encountered. The support engineers needs the core-dump(s) to decode them and determine whether the issue is a known hardware or software issue.

In order for JTAC to decode the core-dump, the core-dump needs to be taken from the router and then uploaded to the Juniper FTP server.

 The first step is to locate the core-dumps.

You can issue the command:

> show system core-dumps

Example output:

-rw-r--r-- 1 root wheel 12345678 Feb 14 16:40 /var/crash/core-TAZ-TBB-0.gz.core.0
/var/tmp/*core*: No such file or directory
/var/crash/kernel.*: No such file or directory
/tftpboot/corefiles/*core*: No such file or directory

The output shows us that the core-dump is located in the /var/crash/ directory.

Once you know where the file is located, you want to copy it to a remote system.

The steps for that are provided in this Juniper document:

Once you have copied it to another location, such as a PC, you will want to upload it to the Juniper FTP server.

FTP to .
   root@router> ftp
Login as user "anonymous".
Name ( anonymous .
Use your email address as the password.
Change the directory to "pub/incoming".
   ftp> cd pub/incoming
If you have not created a directory with the case number, do so now, otherwise skip to step 6.
   ftp> mkdir <Your Case Number>
Change the directory to the directory with your case number.
   ftp> cd <Your Case Number>
Set file transfer to binary. 
   ftp> binary
"put" the file onto the Juniper Networks FTP server. 
   ftp> put <Your File Name>
Once done, you can quit.
   ftp> quit

At this point, you wait for JTAC to receive the core-dump and decode it.

On average, it takes about 30 minutes for the core-dump to get to the server, though it can take longer. 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search