2V0-622 · Question #141
The command esxcli network vm list displays four virtual machines connected to the Production vSwitch. Within the vSphere Web Client, five virtual machines are seen. What explains this behavior?
The correct answer is A. The fifth virtual machine is currently powered off.. The esxcli network vm list command only displays virtual machines that are currently powered on and have active network connections, so a powered-off VM will appear in the Web Client inventory but not in the esxcli output.
Question
The command esxcli network vm list displays four virtual machines connected to the Production vSwitch. Within the vSphere Web Client, five virtual machines are seen. What explains this behavior?
Options
- AThe fifth virtual machine is currently powered off.
- BThe fifth virtual machine has two vnics.
- CThe fifth virtual machine has an invalid IP address.
- DThe fifth virtual machine has an invalid MAC address.
How the community answered
(48 responses)- A77% (37)
- B6% (3)
- C4% (2)
- D13% (6)
Why each option
The esxcli network vm list command only displays virtual machines that are currently powered on and have active network connections, so a powered-off VM will appear in the Web Client inventory but not in the esxcli output.
The esxcli network vm list command queries the VMkernel network stack for active VM network ports, which only exist when a VM is powered on. A powered-off VM has no active vNIC port on the vSwitch, so it is excluded from the esxcli output but still visible in the vSphere Web Client inventory, which reflects all registered VMs regardless of power state.
Multiple vNICs on a VM would cause the same VM to appear multiple times in the esxcli output, not cause it to disappear entirely.
An invalid IP address does not prevent a vNIC from being registered to a vSwitch port; the VM would still appear in the esxcli output if powered on.
An invalid MAC address would likely prevent the vNIC from functioning but would not cause the VM to be hidden from the esxcli network vm list output while the VM is powered on.
Concept tested: esxcli network vm list powered-on VM visibility
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-73736CDF-3D32-4E92-8B35-4E1F8F8A9AEF.html
Topics
Community Discussion
No community discussion yet for this question.