How to collect VM MAC address and vLAN details for multiple VMs | Nutanix Community
Skip to main content

Is there anyway to collect multiple VM’s mac address and vLAN & IP details through prism central.

I’m having the same question. Any replys yet?


Same…. this information should be on the VM view list in both element and central


Hello @rajkamal792 

From PC reporting, create an custom report (data table), entity VM, and select all the info that you need to be appeared. 


same question.


You can do this with ssh into a cvm and run some commands. Hereby a link to a guide showing howto create  rhat kind of scripts: https://www.jeroentielen.nl/nutanix-ssh-scripts/


You can do this with ssh into a cvm and run some commands. Hereby a link to a guide showing howto create  rhat kind of scripts: https://www.jeroentielen.nl/nutanix-ssh-scripts/

Thank you very much, sir.

 

Here is the oneliner: for vm_name in `acli vm.list | awk '{print $1}'`; do acli vm.nic_list $vm_name; done

 

But if you have spaces in the vm names then the script will give strange outputs ;)


Reply