Emulex OneCommand Manager Application User Manual (P006979-01A Version 5.2, August 2011)

The OneCommand Manager User Manual Page 252
Virtual Port (VPort) Commands
<…> = Required, […] = Optional
CreateVPort
Supported by: Windows, Solaris and Linux
Syntax:
hbacmd CreateVPort <physical WWPN> auto [vname]
Or
hbacmd CreateVPort <physical WWPN> <virtual WWPN> <virtual WWNN> [vname]
Description: This command creates a virtual port with an automatically generated WWPN or a user
specified virtual WWPN on the specified physical port. If you specify “auto”, the virtual WWPN is
generated automatically. Otherwise, you must specify the virtual WWPN for this parameter. If creation is
successful, the WWPN is displayed as part of the output from the command. The optional [vname]
parameter can be specified for the virtual port's name.
Parameters:
Physical WWPN - WWPN of the object adapter
Auto - The virtual WWPN is automatically generated for the virtual port
Vname - The virtual port’s name (optional)
Virtual WWPN – The virtual WWPN to create
Virtual WWNN – The virtual WWNN to create
DeleteVPort
Supported by: Windows, Solaris and Linux
Syntax:
hbacmd DeleteVPort <physical WWPN> <virtual WWPN>
Description: This command deletes the virtual port specified by a physical and virtual WWPN.
Parameters:
Physical WWPN - Adapter’s WWPN
Virtual WWPN - The WWPN of the virtual port
Note: Supported by FC and FCoE adapter ports only.
Note: In Linux, VPorts do not persist across system reboots.