Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Troubleshoot vJunos-switch

SUMMARY Use this topic to verify your vJunos-switch configuration and for any troubleshooting information.

Verify That the VM is Running

  • Verify whether the vJunos-switch is running after you install it.

    The virsh list command displays the name and state of the virtual machine (VM). The state can be: running, idle, paused, shutdown, crashed, or dying.

  • You can stop and start the VMs with the following virsh commands:

    • virsh shutdown—Shutdown the vJunos-switch.

    • virsh start—Start an inactive VM that you defined previously.

    Note:

    Do not use the “virsh destroy” command as that can corrupt the vJunos-switch VM disk.

    If your VM stops and does not boot after using the virsh destroy command, then create a live QCOW2 disk copy of the original QCOW2 image provided.

Verify CPU Information

Use the lscpu command on the host server to display CPU information.

The output displays information such as the total number of CPUs, the number of cores per socket, and the number of CPU sockets.

For example, the following codeblock shows the information for an Ubuntu 20.04 LTS host server supporting a total of 32 CPUs.

View Log Files

View the system logs using the show log command on the vJunos-switch instance.

The root > show log ? command displays the list of log files available for viewing.

For example, to view the chassis daemon (chassisd) logs run the root > show log chassisd command.

Collect Core Dumps

Use the show system core-dumps command to view the collected core file. You can transfer these core dumps to an external server for analysis through the fxp0 management interface on the vJunos-switch.