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