- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - VMware
- >
- Re: vmware cmd to list VM-NAME, VM-IP and VLANID
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 03:52 AM
тАО11-28-2010 03:52 AM
esxcfg-nics -l -> list the Phy NICS
vmware-cmd -l -> lists the VMS
Is there way to find out (vmware commands)
VM-Name
IP assigned to that VM
VLANID assigned to that VM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 08:23 PM
тАО11-28-2010 08:23 PM
Re: vmware cmd to list VM-NAME, VM-IP and VLANID
Is Glance Plus or Performance Agent installed in your VMWare hosts? If yes, then use BYLS class of metrics to get all the data you are looking for.
Regards,
Muru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2010 02:14 AM
тАО11-29-2010 02:14 AM
Re: vmware cmd to list VM-NAME, VM-IP and VLANID
try with the powershell and powercli the following, when connected to your vcenter server:
$vms=@(Get-VM)
foreach ($vm IN $vms) {echo $vm; get-vmguest -vm $vm}
kr
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2010 02:22 AM
тАО11-29-2010 02:22 AM
Re: vmware cmd to list VM-NAME, VM-IP and VLANID
VLAN IDs are usually not assigned to an individual VM. You create a virtual switch and then a portgroup on that switch. It is the portgroup that gets assigned a VLAN ID.
Next you attach a VM's vNIC to that portgroup.
That is called VST - Virtual Switch Tagging.
Another way is to assign the VLAN ID 4095 to a port group. Then the NIC driver of the operating system must be VLAN-capable, but the control is through the guest's operating system, not via ESX.
That is called VGT - Virtual Guest Tagging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 08:38 PM
тАО12-13-2010 08:38 PM
Solutionyes you get the details from the service console cli itself by running below commands
#vmware-vim-cmd vmsvc/getallvms
(the aboe commnd gives the information on all the vm's registered and running the first row displays the vmid make a note of it and run the next command)
#vmware-vim-cmd vmsvc/get.config vmid
this should answer your query
regards,
Jagadish
PS do not forget to assign points
I work for HPE