Listvms, Listvports – Dell Emulex Family of Adapters User Manual

Page 1363

Advertising
background image

OCM for VMware vCenter Version 10.2 User Manual

P009805-01A Rev. A

11. Using OneCommand Manager for VMware vCenter Command Line Interface

The Command Reference

1363

h=<esx_host> listsessions <MAC> <Target>

Description

This command lists all the sessions on a specified target. The iSCSI target name

<Target> instructs the command to gather the information from the listed iSCSI target

name.

Parameters

listvms

Syntax

elxvcpcmd.exe v=<vcenter_server> u=<vc_username> p=<vc_password>

h=<esx_host> listvms <WWPN>

Description

This command lists all virtual machines and their information for all manageable ports.
If you specify the host with the “h=<host>” option or just give the physical WWPN,

only the virtual machines for that host return. If you specify the physical port and the

virtual port, only the virtual machine for the specified virtual port returns.
The virtual machine name is only displayed if the virtual port is associated with a

virtual machine on VMware ESXi 5.0 and 5.1. If you are running this command on any

other server that has virtual ports, you will not see the virtual machine name.

Parameters

listvports

Syntax

elxvcpcmd.exe v=<vcenter_server> u=<vc_username> p=<vc_password>

v

The vCenter server IP address.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

h

The IP address of the ESXi host with Emulex adapters.

MAC

The MAC address of the iSCSI port.

Target

The iSCSI target name.

v

The vCenter server IP address.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

h

The IP address of the ESXi host with Emulex adapters.

WWPN

The WWPN of a port on the ESXi host with Emulex adapters.

Advertising