Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

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

Syntax

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

Release Information

Command introduced in Junos OS Release 13.1X51-D10.