When the virsh command is run on the Command Line Interface (CLI) of NFX150, it displays a "Command not found" message in the output.
virsh
This article gives the cause, and suggests the ideal method to run the virsh command on the NFX150 CLI.
When the virsh command is run on the NFX150 CLI, it displays a "Command not found" message in the output, as shown below:
root@:~ # virsh console ubuntu1604 virsh: Command not found. root@:~ #
The NFX250 platform allows users to run a virsh command on the CLI to access the console and display the dumpxml output, and so on. However, the NFX150 platform does not allow this command on the CLI.
dumpxml
To execute the virsh command on the NFX150 platform, access Hypervisor:
root@:~ # rsh -JU __juniper_private4__ 192.168.1.1 Last login: Fri Sep 7 23:52:21 UTC 2018 from local-node on pts/3 root@local-node:~# virsh list Id Name State ---------------------------------------------------- 1 vjunos0 running 2 vnf0 running root@local-node:~#
Note: The virsh domain is not resolvable, so a virsh list is required to identify the virsh ID, which is used to run the virsh command against the desired virtual network function (VNF).