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 vmhost file-copy (NFX Series)

date_range 08-Jun-24

Syntax

content_copy zoom_out_map
request vmhost file-copy (crash|log) from-jnode host file-name to-vjunos host file-name

Description

Copy crash files or log files from the host OS to Junos OS. You can use these files for analysis and debugging purposes.

Options

  • crash—Files in /var/crash on the host.

  • from-jnode filename—Name of the host file to be copied.

  • log—Files in /var/log on the host.

  • to-vjunos filename—Name of the Junos OS file to which the host file is copied.

Additional Information

You can use the show vmhost crash and show vmhost logs commands to list or identify the files in the host OS to be copied to Junos OS.

Required Privilege Level

maintenance

Sample Output

request vmhost file-copy

content_copy zoom_out_map
user@host> request vmhost file-copy log from-jnode daemon.log to-vjunos /var/tmp 
:/var/tmp # ls -lrt daemon.log 
-rw-r--r--  1 root  wheel  1035126 Mar  4 20:33 daemon.log

         

Release Information

Command introduced in Junos OS Release 18.1R1.

footer-navigation