This article explains how to collect host logs which is called vmhost logs for QFX10002-60C. This procedure is different from other QFX models.
1.Login with root user to the shell: labroot@QFX10002-60C> start shell user root Password: root@QFX10002-60C:/var/home/labroot # 2.Login to the host: root@QFX10002-60C:/var/home/labroot # vhclient -s Last login: Wed Feb 10 14:45:01 PST 2021 from C12-22 on pts/0 3.Compress the files: root@QFX10002-60C-node:~# tar -cf ~/host_logs.tar /var/log/* tar: Removing leading `/' from member names 4.Verify if the file is present: root@QFX10002-60C-node:~# ls -l | grep host -rw-r--r--. 1 root root 206950400 Feb 25 20:15 host_logs.tar 5.Copy the file to Junos VM /var/tmp: root@QFX10002-60C-node:~# scp host_logs.tar [email protected]:/var/tmp/ Password: host_logs.tar 100% 197MB 49.3MB/s 00:04 6.Verify the file in /var/tmp: labroot@QFX10002-60C> file list /var/tmp | match host host_logs.tar
12-20-2023 - Initial Draft
06-06-2025 - Minor text change