Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

request vmhost file-copy

 

Syntax

Release Information

Command introduced in Junos OS Release 15.1F3 for the PTX5000, MX240, MX480, and MX960 routers.

Command introduced in Junos OS Release 15.1F5 for the MX2010 and MX2020 routers.

Command introduced in Junos OS Release 16.1R4 for the PTX3000 routers.

Note

PTX3000 router supports the Routing and Control Board, RCBPTX.

Command introduced in Junos OS Release 17.1R1 for EX9200 switches.

Command introduced in Junos OS Release 17.3R1 for the MX10003 routers.

Command introduced in Junos OS Release 17.4R1 for the MX204 routers.

Command introduced in Junos OS Release 18.1R1 for the QFX10002-60C switch.

Command introduced in Junos OS Release 18.2R1 for the PTX10002-60C router.

Command introduced in Junos OS Release 18.2R1 for MX10008 Routers

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

crashFiles in /var/crash on the host.
from j-node filenameName of the host file to be copied.
logFiles in /var/log on the host.
to v-junos filenameName 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

List of Sample Output

request vmhost file-copy

Sample Output

request vmhost file-copy

user@host> request vmhost file-copy log from-jnode debug-20160214 to-vjunos /var/tmp/