User's Guide

The OneCommand Manager User Manual Page 258
ListVPorts
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd ListVPorts <physical WWPN>
Description: 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.
Parameters:
Physical WWPN - Adapter’s WWPN
VPortTargets
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd VPortTargets <physical WWPN> <virtual WWPN>
Description: This command lists targets visible to the specified virtual port.
Parameters:
Physical WWPN - Adapter’s WWPN
Virtual WWPN - The WWPN of the virtual port
WWN Management Commands
ChangeWWN
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd ChangeWWN <WWPN> <New WWPN> <New WWNN> <Type>
Description: This command changes the volatile or non-volatile state of WWNs. If the volatile change is
requested on an adapter that does not support volatile WWNs, it returns a “not supported error.”
Note: Supported for FC/FCoE adapter ports only.
Note: WWN Management validates WWNs carefully to avoid name duplication. Therefore,
you may see error and warning messages if a name duplication is detected. Emulex
strongly recommends that the activation requirement be fulfilled after each WWN change
or restore. When running with “pending changes”, some diagnostic and maintenance
features are not allowed.
Note: For managing ESX/ESXi hosts from a Windows client, add the m=cim option to
the command. The default CIM credentials must be set using the SetCimCred
command. See “SetCimCred” on page 250.
Note: When a volatile change is supported, a reboot is required to activate the new
setting. Volatile names are active until system power-down or adapter power-cycle.