Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request app-engine file-copy (crash | log) from-jhost to-vjunos

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request app-engine file-copy (crash | log) 
from-jhost host-os-filename
to-vjunos vjunos-filename

Description

In Junos OS environments with a host OS, copies core files (crash option) or system log files (log option) from the host OS to a Junos OS filename.

  • crash option—Core files are copied from the directory where the host OS normally stores core files. For example, when the host OS is Linux, the source directory is /var/crash. The show app-engine crash command displays the list of core files available to copy from the host OS source directory.

  • log option—Log files are copied from the directory where the host OS normally stores system log files. For example, when the host OS is Linux, the source directory is /var/log. The show app-engine logs command displays the list of system log files available to copy from the host OS source directory.

Either the crash or log option is required. When the destination Junos OS path for the to-vjunos argument is a directory, the destination filename is the source filename by default. To rename the file at the destination, specify a full path that includes a destination filename in the path with the to-vjunos argument.

Options

  • from-jhost host-os-filename—Source filename to copy from the host OS.

  • to-vjunos vjunos-filename—Junos OS destination path (with or without a filename) to which the file is copied. If this path is a directory, the source filename is used as the destination filename by default.

Additional Information

This command does not apply to accessing files on guest virtual machines (VMs) on QFX Series devices that support guest VMs.

Required Privilege Level

view

Output Fields

This command produces no output. To see the results of the copy operation, you can run Junos OS commands for viewing files, such as file list with the destination directory, show system core-dumps, or show log.

Sample Output

request app-engine file-copy crash

content_copy zoom_out_map
user@host> request app-engine file-copy crash from-jhost localhost.dcfpe.6449.1454328456.core.tgz to-junos /var/tmp

user@host> show system core-dumps
re0:
--------------------------------------------------------------------------
-rw-r--r--  1 user  test    2538949 Feb 2  19:01 /var/tmp/localhost.dcpfe.6449.1454328456.core.tgz
total files: 1

Release Information

Command introduced in Junos OS Release 13.1X51-D10.

footer-navigation