Users Guide
Broadcom OCM-VM-LPe-UG124-101
136
Emulex OneCommand Manager for VMware vCenter User Guide
12.3.12.2 listvports
This command lists virtual ports on the specified physical port. Leaving the physical WWPN parameter blank lists all virtual
ports on all manageable hosts that support virtual ports.
Syntax
elxvcpcmd.exe v=<vcenter_server> u=<vc_username> p=<vc_password> h=<esx_host> listvports [WWPN]
Parameters
12.3.13 WWWN Management Commands
CAUTION! Using the changewwn or restorewwn commands on an LPe12000-series adapter that is being used to boot
from SAN is not advisable. After the command has completed, the system performs an adapter reset, which can
cause a loss of connectivity to the SAN and possible loss of data. To perform these commands, you must make
sure that the adapter is not currently being used to boot from SAN.
Do one of the following:
Move the target adapter to a non-boot from SAN host.
If the host with the target adapter is also hosting other boot from SAN adapters, perform a boot from SAN using
one of the other boot from SAN adapters. The target adapter can now be used.
12.3.13.1 changewwn
This command changes the WWN of the specified port.
Syntax
elxvcpcmd.exe v=<vcenter_server> u=<vc_username> p=<vc_pwd> h=<ESXhostIP> changewwn <WWPN> <New_WWPN>
<New_WWNN> <ReadType>
Parameters
12.3.13.2 getwwncap
See Section 12.3.2.4, getwwncap.
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.
WWPN(optional) The WWPN of the port.
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.
WWPN The WWPN of the port.
New WWPN The new WWPN of the port.
New WWNN The new WWNN of the port.
ReadType 0 = Volatile, 1 = Non-volatile.