Home

User Manual

image

Contents

1. 47 POLA DU OS sesi ae sd o M eu aa r noo 47 POrtStAtIStICS rr aes 47 ServerAttriDUtES Me 48 SEDI CENO UE Tee TT eer 48 SetPhyPortSpeed sisstsslogi ia okl si nm 49 SetPortEnabled 152 viva sanke niniin i Kalina EEE ER V kaki FREE E EFE ek VERE Y 50 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2c EMULEX Table of Contents 5 Authentication Commands 5 S p enEERESRERESRURER NRERCUSUERMARARESENARRASEKEARBRHEENCEEER 50 AUENCOM BUS ave EE la PR ES ein ea ela RA DEM V o je daa Vea 50 DeleteAUUNCONTIH vin li available ele 51 GetAuthConfig i203 soki sny nn o Ra ea ee ke 51 GetAUtNStATUS ie a ai oe a ee ae A ETE ETE 51 Initiate AUElT uic oec oe ERE Peu EVER r nap a EP NR noo 52 SCEAULNCOMING suo sara er RT 52 SetPassWoILd sek eevee sos exu e ve e eb o FN REN EMT MY 53 Boot Cornimalius ei s osn ni a AME NA vM EN in PNE rabah 54 EnableBootCode eerte nr ER ERR ESSERE ia SENE SENE E ROS x PETERE RSS NTS 54 GetBootParams use eo o eevee A ERR EE E Re ames E RR bebe SEA ea NV ag deb TUN Y esate 55 SetBootParam 1 9 e eee ir rere e Eee Nee A PPP ROO ARA E REIR RUE EU NEA es 55 CEE Command fee c n 56 DCB Commands T 56 GETDCBPATAMS eee eret okuliarov RV oi EVE KVA A EF avo 56 ET 2a sacsnic
2. Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in quotes string length 11 255 ImmediateData 0 No 1 lt Yes default HeaderDigest 0 lt None default 1 CRC32C DataDigest 0 None default 1 CRC32C Auth 0 None default 1 One Way CHAP 2 Mutual CHAP TgtCHAPNam Target CHAP name enclosed in quotes string length 1 256 TgtSecret Target Secret enclosed in quotes string length 12 16 InitCHAPName Initiator CHAP name enclosed in quotes string length 1 256 InitSecret Initiator Secret enclosed in quotes string length 12 16 SetTargetProperties This command sets the Extended TimeOut ETO value of a target Supported By Linux Solaris VMware ESX and Windows Syntax SetTargetProperties MAC Address lt iscsi target name lt ETO gt Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in quotes string length 11 255 ETO The extended timeout option for the target e For Windows valid values are 0 3600 e For Linux Solaris and VMware ESX valid values are 0 30 SetTPLoginProperties This command sets a target porta s login properties This command reguires that you specify a valid Target IP lt Target IP gt and Port lt Port gt However if you specify no options other than the Target IP and Port no changes are made You must change at least one of the optional para
3. This command shows all the port statistics for a specified port Supported By Linux Solaris VMware ESX and Windows Syntax GetiSCSIPortStats lt MAC Address gt Parameters MAC Address The MAC address of the UCNA port GetNetworkConfiguration This command lists a port s TCP IP information Supported By Linux Solaris VMware ESX and Windows Syntax GetNetworkConfiguration lt MAC Address gt Parameters MAC Address The MAC address of the UCNA port GetSessionlnfo This command lists all session information for a specified session You must specify the lt iscsi target name gt and either the lt TSIH gt of the session or the session s ISID Oualifier lt ISID Oual gt and the target s IP address lt Target IP gt These parameters tell the command to gather the information from the specified target and session You can find the TSIH and ISID gualifier by running the ListSessions command OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions gt lt EMULEX iSCSI Commands 84 Supported By Linux Solaris VMware ESX and Windows Syntax GetSessionInfo MAC Address lt iscsi target name TSIH lt ISID Qual Target 1P gt gt Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in quotes string length 11 255 I IH ISIH value of the session value 1 65535 ISID Qual ISID qual
4. FCoE adapter can change to a NIC only or a NIC iSCSI adapter but an iSCSI adapter may not be able to change to a NIC t FCoE adapter Note It is possible to install one or more driver kits for the current personality then change the personality and no longer have the drivers necessary to run the adapter If you change personalities you must install the appropriate drivers The appropriate drivers are available on the Emulex website ChangePersonality This command changes the personality on the adapter After successful change a reboot is required Supported By Linux Solaris VMware ESX and Windows Syntax ChangePersonality lt WWPN MAC gt personality type Parameters WWPN The WWPN of the UCNA MAC The MAC address of the NIC or iSCSI port Personality Type The available values are nic iscsi and fcoe Example For non ESXi hosts hbacmd ChangePersonality 00 12 34 56 78 9A fcoe For ESXi hosts hbacmd h IP Adress m cim u root p lt password gt n lt namespace gt ChangePersonality 00 12 34 56 78 9A fcoe OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX S CLI Client Command Descriptions 110 Universal Multichannel UMC Commands ShowPersonalities This command displays the list of personalities available on the adapter The personality type is displayed as either NIC iSCSI or FCoE Supported By Linux Solaris VMware ESX and Windows Syntax ShowPer
5. This command outputs iSCSI target information in XML format The output can be redirected to a specified file Supported By Linux Solaris and Windows Syntax ExportiSCSI Example In this example the command exports all the iSCSI targets of all the adapters on the host The output is re directed to the file targets xml hbacmd exportiscsi targets xml GetlnitiatorProperties This command shows all the initiator login options for the specified port These properties are set as the target portal s login properties to be used when discovering the targets on the target portal The discovered targets inherit these properties Supported By Linux Solaris VMware ESX and Windows Syntax GetInitiatorProperties MAC Address Parameters MAC Address The MAC address of the UCNA port GetiSCSILuns This command shows all the LUNs and their information for a specified target The command gathers the information from the iSCSI target indicated by the lt iscsi target name parameter Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 83 DE EMULEX iSCSI Commands Syntax GetiSCSILuns lt MAC Address gt lt iscsi target name gt Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in guotes string length 11 255 GetiSCSIPortStats
6. 5 CLI Client Command Descriptions 47 Attributes Commands 2G EMULEX Attributes Commands HbaAttributes This command shows a list of all adapter attributes for all ports on the adapter The type of information listed may vary according to the adapter model Supported By Linux Solaris VMware ESX and Windows Syntax HbaAttributes WWPN Parameters h The IP address of the host WWPN The WWPN of the adapter PortAttributes This command shows a list of port attributes for the adapter The type of information listed may vary according to the adapter model Supported By Linux Solaris VMware ESX and Windows Syntax PortAttributes lt WWPN MAC gt Parameters h The IP address of the host WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port PortStatistics This command shows all port statistics for the adapter The type of information listed may vary according to the adapter model Supported By Linux Solaris VMware ESX and Windows Syntax PortStatistics lt WWPN gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 48 Attributes Commands Parameters WWPN The WWPN of the adapter ServerAttributes This command shows a list of server attributes for the adapter The type of information listed may vary according to the adapter model Supported By Linux Solaris VMware ESX and Windows Syn
7. BindType ID lt SCSIBus gt lt SCSITarget gt Parameters WWPN The WWPN of the adapter BindType P lt Remove binding by WWPN N Remove binding by WWNN D lt Remove binding by D ID ID The type of ID based on lt BindType gt e Target WWPN if lt BindType gt lt P e Target WWNN if lt BindType gt N e Target D ID if lt BindType gt D SCSIBus The bus number of the SCSI device SCSITarget The target number of the SCSI device SetBindingSupport This command enables and sets the binding support s for the adapter Supported By Solaris and Windows Syntax SetBindingSupport lt WWPN gt lt BindFlag gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Parameters 5 CLI Client Command Descriptions 108 Persistent Binding Commands WWPN The WWPN of the adapter BindFlag The type of binding support for the adapter D Binding by D ID not available for Storport Miniport driver P lt Binding by WWPN N Binding by WWNN not available for Storport Miniport driver A z Binding by automap not available for Storport Miniport driver DA Binding by D ID and automap PA Binding by WWPN and automap NA Binding by WWNN and automap SetPersistentBinding This command sets a persistent binding between an FC target and a SCSI Bus target The binding can be to a target WWPN target WWNN or target D ID Supported By Solaris and Windows Syntax SetPersi
8. ICI ge 95 UndateisNSSBIVBl uos sei oi DPA uL ena ee non PRIN DU pP babe 95 LUN Masking Command i5 5 25 50 isti aaa popup reae en ro Rae POS peu oss es P ci 96 GETLUNLIS ss sos s v rm 96 GEtLURUMMASKE VHB si sodb neo b ou udo etes EN dno ko obl no u oo no 96 CatLunlnNaskEY Farget v ii aa kor old dx EE ug ee ea a a a ki 97 RESCANLUIS sva 97 IMMEDIATE DI III IULII 97 Miscellaneous Commiands iii rio so rei ep p RE MERE SLE Ne SERERE ERR RI RE RENE C MR NE 98 AddHOSt osa oue ree eee OR ER RR EN TI E E LAT S ES oe ri 98 CnaClearEventLog oissssese k dovasosl oko rodoch oi novo ATE 98 CnaGetEventlOg ja ose edine reka no nad da plnu hon 99 Bei p 99 EXDDIESANIBIO soo ee kn leo o a AM Dui DDR ER DN PIPER Pda ag 100 eSI 100 GetElxSeclnfO isis x B 101 eMe ani odes ST o edi SN o deke 101 GEIVPD PU 101 ListHBAS ion dx e idee lavas a aU Y XR e kde io AO DRE eU Gu DELE MERIT VEN qu 102 REMOVENOS x ss RTT 102 MEIST IIO LLLI 103 SetCiMCred 103 Meetup Ate veces sede added Ee o 104 Mp 104 Persistent Binding Commands ccececcccccccccccccccceccccccccccccceccccceccccssseees 105 AlNodelnio asi ea cate
9. ShowTargetPortal This command shows the properties for a specified SendTarget Portal If the lt Target_IP gt and lt Port gt are not specified all SendTarget Portals and their associated properties return Supported By Linux Solaris and Windows Syntax ShowTargetPortal MAC Address lt Target IP lt Port gt Parameters MAC Address The MAC address of the UCNA port Target IP IP address of the target portal Port Port number of the target portal TargetLogin This command logs in to a target The iSCSI target name lt iscsi target name is the only mandatory option The target portal and port information are optional and OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 94 DE EMULEX iSCSI Commands if they are not provided a default target portal is used If you do not specify the remaining options these options are set to their default values When you set the authentication method lt Auth gt to a value other than 0 you must set additional parameters Each string should be enclosed in guotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser e If you set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd TargetLogin 00 11 22 33 44 55 iscsitarget Auth 1 TgtChapName TargetSecretl e If you set the aut
10. or PXE Boot Run diagnostic tests on adapters 9 1 Introduction 10 gt lt EMULEX Abbreviations Locate adapter ports using beaconing Mask and unmask FC LUNs Perform authentication using the Fibre Channel Security Protocol Diffie Hellman Challenge Handshake Authentication Protocol FC SP DHCHAP Create and delete FC virtual ports through N_Port_ID virtualization NPIV View FC virtual ports and virtual machine mapping information Configure FC boot from SAN Modify an IP port number of the remote management agent View vital product data VPD for the selected adapter port View transceiver information for the selected adapter port View iSCSI target session information View vNIC data for supported adapters Create and save reports about discovered SAN elements Supports COMSTAR COmmon Multiprotocol SCSI TARget for Solaris 11 enabling the Emulex FC driver for Solaris EMLXS to make a host appear as a target to the SAN COMSTAR ports are supported on Solaris 11 with LightPulse FC HBAs only Supports Universal Multichannel UMC configuration Compatibility The OneCommand Manager application can be installed on multiple operating systems Windows Linux Solaris and VMware ESX and ESXi For VMware ESXi 4 1 ESXi 5 0 and ESXi 5 1 hosts you can manage adapters using the OneCommand Manager on Windows but you must install and use the appropriate Emulex CIM Provider Note For VMware ESXi 5 0 and ESXi 5 1 hosts wh
11. parameters of the OneConnect adapter in FCoE mode Supported By Linux Solaris VMware ESX and Windows Syntax GetFIPParams lt WWPN gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 76 DE EMULEX iSCSI Commands Parameters WWPN The WWPN of the adapter Example hbacmd getfipparams 10 00 00 00 c9 5b 3a 6d SetFIPParam This command sets the FIP parameters of the OneConnect adapter in FCoE mode Supported By Linux Solaris VMware ESX and Windows Syntax SetFIPParam lt WWPN gt lt Param gt lt Value gt Parameters WWPN The WWPN of the adapter Param The FIP parameter name e pfabric e pswitch e vlanid e fcmap e cinvlanid Value The value based on the FIP parameter name e pfabric 8 byte fabric name format XX XX XX XX XX XX XX XX e pswitch 8 byte switch name format XX XX XX XX XX XX XX XX e vlanid 2 byte VLAN ID 0 4095 or any for any VLANID e fcmap 3 byte FC map 0x0EFCxx e cinvlanid 2 byte VLAN ID 0 4095 Example hbacmd setfipparam 10 00 00 00 c9 5b 3a 6d fcmap OxOefc99 iSCSI Commands The commands in this section support the iSCSI interface in the OneCommand Manager CLI Note iSCSI commands are supported only on OneConnect iSCSI ports OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 77 DE EMULEX iSCSI Commands The MAC address lt MAC Addre
12. 1 A minimum of one and a maximum of two PFC priorities can be configured 2 One of the PFC priorities must match the FCoE priority 3 The additional PFC priority must be assigned to a priority group that has no other priorities 4 The FCoE priority must be assigned to a priority group that has no other priorities The following rules are specific to iSCSI adapters 1 A minimum of one and a maximum of two PFC priorities can be configured 2 Oneofthe PFC priorities must match the iSCSI priority 3 The additional PFC priority must be assigned to a priority group that has no other priorities 4 The iSCSI priority must be assigned to a priority group that has no other priorities The following rules are specific to NIC adapters 1 Only one PFC priority can be configured 2 The PEC priority must be assigned to a priority group that has no other priorities Supported By Linux Solaris VMware ESX and Windows Syntax hbacmd SetDCBPriority lt WWPN MAC gt PFC Priorities Priorities of PGIDO gt lt Priorities of PGID1 Priorities of PGID7 gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port PFCPriorities The PFC priority that is a comma separated list of up to seven values ranging from 0 7 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 61 Diagnostic Commands Priorities of Priority group me
13. COS does not support the management of adapters using the CIM interface Device Management Using the CIM Interface VMware on the hypervisor based ESXi platforms use the CIM as the only standard management mechanism for device management OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 4 CLI Client Command Usage 27 DE EMULEX CIM Interface For VMware ESXi 4 1 VMware ESXi 5 0 and VMware ESXi 5 1 hosts you can manage adapters using the OneCommand Manager on Windows but you must install and use the appropriate Emulex CIM Provider For installation see Installing the CIM Provider for VMware ESXi Hosts on page 19 Note For VMware ESXi 5 0 and 5 1 hosts when advanced adapter management capabilities are required for example iSCSI Management and port disable use the OneCommand Manager for VMware vCenter software plug in For more details see the OneCommand Manager for VMware vCenter User Manual Syntax Rules for the CIM Interface For the CIM interface all the syntax rules in HbaCmd Syntax Usage on page 25 section apply except that the h option is required Additionally the m cim parameter is required in the command line for getting the data from the ESXi host For example hbacmd h IP Address port gt m cim u root p lt password gt n lt namespace gt InstallAdapterLicense 00 12 34 56 78 9A K 1f 1324 lic Note If you specify the parameter m cim the CLI uses the C
14. Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 2 Installing and Uninstalling the CLI 15 DE EMULEX fun Updating Preserving Existing Settings To update the OneCommand Manager CLI and preserve settings you must install the current core kit as detailed in Installing in Linux Without an Existing OneCommand CLI Kit on page 13 The rpm file handles the configuration file update The install script executes an rpm update rpm U rpm to update the installed version of the core kit to the current version Note There is no update path from an HBAnyware 4 x or 3 x core kit to a OneCommand Manager 5 1 or later core kit You must un install previous versions of the HBAnyware utility before installing a OneCommand Manager core kit For information on uninstalling older versions of HBAnyware see Uninstalling Older HBAnyware Kits in Linux on page 15 Performing a Clean Install Removing Existing Settings 1 Uninstall the existing OneCommand Manager CLI using the uninstall script included in the tar file or in usr sbin ocmanager scripts directory Note If an HBAnyware CLI or enterprise kit is installed follow the procedure for Uninstalling Older HBAnyware Kits in Linux on page 15 Note Your configuration files are backed up by rpm with an rpmsave extension 2 Install the specific rpm file for your driver for Linux version For information on installing the rpm file see Installing in Linux Without a
15. GetFIPParams e GetLunList e GetPGInfo e GetOoslnfo e GetRetentionCount e GetVPD e GetWWNCap e GetXcvrData e HbaAttributes e InstallAdapterLicense e ListHBAs e LoadList e LoopBackTest e PciData e PortAttributes e PortStatistics e ReadWWN e RemoveHost e Reset e RestoreWWN e ServerAttributes e SetBeacon e SetCnaPGBW e SetDCBParam e SetDCBPriority e SetDriverParam OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX SetDriver ParamDefaults SetDumpDirectory SetFIPParam SetPFCthrottle SetPhyPortSpeed SetRetentionCount Show AdapterLicenseFeatures ShowLicenseAdapterID ShowPersonalities UmcEnable UmcEnableChanLink UmcGetParams UmcSetBw UmcSet LPVD TargetMapping Version CIM Provider 3 0 CIM Provider 3 0 supports the following commands Download ChangeWWN GetWWNCap GetXcvrData LoadList Loopbacktest GetBeacon SetBeacon ReadWWN Reset RestoreWWN CIM Provider 3 1 CIM Provider 3 1 supports the following commands 4 CLI Client Command Usage CIM Interface ALI the commands listed in the previous section for CIM Provider 3 0 on page 31 Dump GetDCBParams GetDumpDirectory GetDumpFile OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 31 2G EMULEX GetDumpFileNames GetFCFInfo GetFipParams GetRetentionCount GetPGlnfo SetDCBParam SetCnaPgBw SetDCBPriority SetDumpDirectory SetFIPP
16. Line Interface Version 6 2 User Manual P008699 01A Rev A Universal Multichannel UMC Commands gt lt EMULEX 5 CLI Client Command Descriptions Note When only three channels are available specifying C3 will cause an error This command is not supported on 1 Gb ports If UMC is disabled when this command is executed a warning message will be displayed indicating that UMC is currently disabled and must be enabled for these changes to take effect UmcGetParams Shows the current UMC configuration for an adapter s physical port The command s output is the current UMC state for the adapter and also a table showing the port s channels along with their UMC properties On some adapters only three channels will be shown instead of four because that is all the physical port supports Also the channel Type property shows the protocol that is running on the channel This is controlled by the CLI s ChangePersonality command not the UMC commands Supported By Linux Solaris VMware ESX and Windows Syntax UmcGetParams WWPN MAC Address Parameters WWPN WWPN of an FCoE function on the physical port MAC Address MAC address of any NIC function on the adapter port Example AII NIC hbacmd UmcGetParams 00 00 c9 bb cc aa UMC Enabled Configured Yes Current Yes Logical Func Type MAC Address Link State LPVID Min BW Max BW NIC 00 00 c9 bb cc aa Enabled 2 NIC 00 00 c9 bb cc ab Disabled 3 0 50 NIC 00 00 c9 bb cc a
17. MAC Address Initiator Name initiator name Initiator Alias initiator alias ImmediateData lt 0 1 gt HeaderDigest lt 0 1 gt DataDigest lt 0 1 gt Auth lt lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret Parameters MAC Address The MAC address of the UCNA port Initiator Name Initiator iSCSI name enclosed in quotes string length 1 224 Initiator Alias Initiator iSCSI alias enclosed in quotes string length 0 32 ImmediateData 0 lt No 1 lt Yes default OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 88 DE EMULEX iSCSI Commands HeaderDigest 0 lt None default 1 CRC32C DataDigest 0 None default 1 CRC32C Auth 0 None default 1 One Way CHAP 2 Mutual CHAP TgtCHAPNam Target CHAP name enclosed in quotes string length 1 256 TgtSecret Target Secret enclosed in quotes string length 12 16 InitCHAPName Initiator CHAP name enclosed in quotes string length 1 256 InitSecret Initiator Secret enclosed in quotes string length 12 16 SetiSCSIBoot This command defines whether a specific iSCSI function s Boot ROM is active Supported By Linux Solaris VMware ESX and Windows Syntax SetiSCSIBoot MAC Address lt 0 1 gt Parameters MAC Address The MAC address of the desired iSCSI port 011 Specifies the iSCSI boot ROM state 0 lt Disabled 1 lt Enabled SetNetworkConfiguration
18. Maximum Latency 0x00 Capabilities Ptr 0x40 PostTest Note Not supported for OneConnect adapters This command runs the POST on the adapter Support for a remote adapter is through TCP IP access only Supported By Linux Solaris VMware ESX and Windows Syntax PostTest lt WWPN gt Parameters WWPN The WWPN of the adapter SetBeacon This command turns the beacon on or off Supported By Linux Solaris VMware ESX and Windows Syntax SetBeacon lt WWPN MAC gt lt BeaconState gt Parameters WWPN The WWPN of the FC port MAC The MAC address of the NIC or iSCSI port BeaconState Indicates the state of the beacon to be set to 0 Off 1 On OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 66 Diagnostic Commands SetCableNVP Note This command supports only OneConnect OCe11100 series adapters This command sets the nominal velocity of propagation NVP required for the TDRTest command for the cable that connects to the physical port associated with the WWPN or MAC Supported By Linux Solaris VMware ESX and Windows Syntax SetCableNVP WWPN MAC lt NVP gt Parameters WWPN The WWPN of the FC port MAC The MAC address of the NIC or iSCSI port NVP A percentage value between 1 and 100 Consult your cable documentation to obtain the proper NVP value TDRTest Note This command is supported on OneConnect adapt
19. NIC port Flag D Disable the boot code E lt Enable the boot code NetworkBootMethod Network boot method to be used by the NIC PXE or iBFT The network boot types supported on the specific NIC may be found in the Available Network Boot Methods string displayed by the HbaAttributes command This parameter is not required for FC or FCoE ports and is only specified when enabling network boot OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions BB Boot Commands Examples The following example enables iBFT for a NIC C Program Files Emulex Util OCManager gt HBACMD EnableNetworkBoot 00 00 c9 11 22 33 e iBFT The following example disables network boot C Program Files Emulex Util OCManager gt HBACMD EnableNetworkBoot 00 00 c9 11 22 33 d GetBootParams This command shows the boot parameters If any arguments are missing or invalid a suitable error is reported If all arguments are correct the data is displayed in tabular form Supported By Linux Solaris VMware ESX and Windows Syntax GetBootParams lt WWPN gt lt Type gt Parameters WWPN The WWPN of the adapter Type X86 OpenBoot or UEFI SetBootParam This command changes the boot parameters You can change adapter parameters and boot device parameters for x86 OpenBoot and UEFI boot e When changing adapter pa
20. RemoveTarget Remov ServerLicenseManagement VPort InstallAdapterLicense PortStatistics GetAuthConfig GetPGInfo LoadList SetCableNVP GetDriverParamsGlobal GetDumpDirectory SetRetentionCount GetFCFInfo DelRouteTableEntry GetSessionInfo WWN ShowAdapterLicenseFeatures ServerAttributes GetAuthStatus SetPassword SetBootParam EParam SetDCBPriority SetCnaPGBW LoopBackTest TDRTest LoopMap Wakeup SaveConfig SetDriverParamDefaults SetDumpDirectory Get DumpFileNames GetDumpFile AddTarget AddTargetPortal DiscoveriSNSServer GetiSCSILuns GetiSCSIPortStats ImportiSCSI iSCSIPing SetInitiatorProperties SetiSCSIBoot SetTargetLoginProperties argetPortal SetBootTargetSession SetNetworkConfiguration ShowARPTable ShowRouteTable ShowiSNSServer TargetLogout OneCommand Manager Command Line Interface Version 6 2 User Manual SetTargetProperties ShowTarget SetTPLoginProperties ShowTargetPortal TargetLogin UpdateiSNSServer P008699 01A Rev A 2G EMULEX LUN Masking Commands GetLunList GetLunUnmaskByHba GetLunUnmaskByTarget RescanLuns SetLunMask Miscellaneous Commands AddHost CnaGetEventLog CnaClearEventLog Download ExportSANInfo 5 CLI Client Command Descriptions 44 Help GetCimCred GetElxSecInfo GetQoSInfo GetVPD ListHBAs ListVFunctions RemoveHost Reset SetC
21. The MAC address of the UCNA port ShowRouteTable This command shows the route table for a specific port Supported By Linux Solaris VMware ESX and Windows Syntax ShowRouteTable MAC Address Parameters MAC Address The MAC address of the UCNA port Example hbacmd h lt 10 192 203 240 showroutetableentry 00 00 c9 a0 ce 77 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 93 DE EMULEX iSCSI Commands ShowTarget This command shows the properties for a specified target If you do not specify the iSCSI target name lt iscsi target name all targets and their associated properties return If you specify lt refreshtargets gt in place of the lt iscsi target name all targets are refreshed before returning the information If you do not provide a lt iscsi target name or lt refreshtargets gt value only the targets from the last refresh are displayed Supported By Linux Solaris VMware ESX and Windows Syntax ShowTarget MAC Address lt iscsi target name refreshtargets Note Only one command option can be specified with this command That is you can only specify either iscsi target name or lt refreshtargets gt Parameters MAC Address The MAC address of the UCNA port iscsi target name The target s iSCSI name enclosed in quotes string length 11 255 refreshtargets Refresh all targets before displaying the information
22. and Windows Syntax SetDriverParam lt WWPN gt lt Flagl gt lt Flag2 gt lt Param gt lt Value gt Parameters WWPN The WWPN of the adapter Flagl L lt Make change local for this adapter only G lt Make change global all adapters on this host Flag2 P lt Make change permanent persists across reboot T lt Make change temporary Param Name of the parameter to modify Value New parameter value decimal or hexadecimal OxNNN OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 70 Dump Commands SetDriverParamDefaults This command changes all values to the default for the adapter s Supported By Linux VMware ESX and Windows Syntax SetDriverParamDefaults lt WWPN gt lt Flagl gt lt Flag2 gt Parameters WWPN The WWPN of the adapter Flagl L lt Make change local for this adapter only G lt Make change global applies to all adapters on this host Flag2 P lt Make change permanent the change persists across reboot T lt Make change temporary Dump Commands The diagnostic dump feature enables you to create a dump file for a selected adapter Dump files contain information such as firmware version driver version and operating system information This information is useful when troubleshooting an adapter but is unavailable in read only mode Caution Disruption of service can occur if a diagnostic dump is run dur
23. esxupdate command line utility and perform the following steps 1 2 3 Enable Secure Shell SSH on the VMware Visor host Transfer the Emulex CIM Provider zip file to the VMware hypervisor host Log into the VMware hypervisor host and execute the following command all on one line esxupdate bundle vmware esx provider emulex cim provider 410 3 6 10 1 235786 zip nosigcheck maintenancemode update To install the Emulex CIM Provider in a VMware ESXi 5 0 or ESXi 5 1 hypervisor environment use the esxli command line utility and perform the following steps 1 Copy the CIM provider zip file to var log vmware 2 Log into the VMware hypervisor host and execute the following command all on one line esxcli software vib update d vmware esx provider emulex cim provider 50 3 6 11 1 01 zip no sig check maintenance mode 3 Reboot the system Windows Installing in Windows There are two ways to install the OneCommand Manager CLI in Windows e Attended installation you are present during the installation You will be prompted for more information for the installation to continue e Unattended installation you do not need to be present during the installation Installation will complete on its own Installation progress may be displayed as an option OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 2 Installing and Uninstalling the CLI 20 Windows Attended Installatio
24. find any new LUNs Supported By Linux Solaris and Windows Syntax RescanLuns HBA WWPN Target WWPN gt Parameters HBA WWPN The WWPN of the adapter Target WWPN The WWPN of the target SetLunMask This command masks the specified LUNs Supported By Solaris and Windows Syntax SetLunMask HBA WWPN Target WWPN Option Lun lt LunCount gt lt Maskop gt Parameters HBA WWPN The WWPN of the adapter Target WWPN The WWPN of the target OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 98 2 EMULEX Miscellaneous Commands Option 0 lt Get information from the driver 1 lt Get information from the configuration make persistent 2 Send information to both Lun The starting LUN number LunCount The number of LUNs MaskOp A lt Mask LUN B lt Clear unmask target level C lt Clear unmask HBA level D lt Unmask LUN E lt Unmask target level F lt Unmask HBA level Miscellaneous Commands AddHost This command adds a host to the hosts file for TCP IP management in the OneCommand Manager GUI The adapters for these hosts are also presented by the ListHBAs command Supported By Linux Solaris VMware ESX and Windows Syntax For the RM interface hbacmd AddHost host address Note The h option for specifying an optional IP address or host name after hbacmd is not available for the AddHost com
25. following OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A Discover local and remote Emulex and OEM branded Emulex adapters as well as hosts targets virtual ports virtual machines and logical unit numbers LUNs over FC or TCP IP Manage local FC remote and TCP IP accessed adapters Remote TCP IP management of adapters on IPv6 hosts Discover log in to and log out from iSCSI targets Manage Emulex FC iSCSI FCoE and NIC Only Universal Converged Network Adapters UCNAs Manage OneConnect OCe11100 series adapters NIC and iSCSI only Manage adapters on VMware ESX servers through the Common Information Model CIM interface Manage a UCNA s DCB Data Center Bridging settings Manage a UCNA s Fibre Channel over Ethernet FCoE Initialization Protocol FIP Manage adapter licenses Manage protocol personalities Group hosts for easier parameter configuration and firmware download Retrieve adapter dump files from remote hosts Change an adapter s World Wide Port Name WWPN and World Wide Node Name WWNN Reset adapter ports Configure persistent binding on FC targets Set FC FCoE adapter driver parameters simultaneously to multiple adapters using Batch Update Update firmware and FC boot code x86 BootBIOS OpenBoot or EFIBoot on a single adapter or multiple adapters using Batch Update Set global FC FCoE driver parameters Enable or disable adapter boot x86 BootBIOS FCode EFIBoot
26. following order 4 CLI Client Command Usage 28 CIM Interface 1 The information entered using the addhost command is looked up 2 If no values exist the information entered using the setcimcred command is used 3 If no values exist the following defaults are used username root password root namespac root emulex portnum 5988 Example of Using the CIM Interface to Display Adapters In Windows to display a list of adapters managed for a specified host using the CIM interface run the following command C Program Files Emulex Util OCManager gt hbacmd h 10 192 113 128 m cim u root p root n root emulex listhbas The output displayed is similar to the following example Manageable Port WWN 1 Node WWN 2 Flags 0000 Host Name Mfg Emulex Serial No Port Number Mode Initi Discovery Port WWN 1 Node WWN 2 Fabric Name Flags 0000 Host Name Mfg Emulex Serial No Port Number HBA List 0 00 00 00 c9 0 00 00 00 c9 Fabric Name 00 00 00 00 0000 eng ma emulex Corporation BG73539764 n a ator cim 0 00 00 00 c9 0 00 00 00 c9 00 00 00 00 0000 eng ma emulex Corporation BG73539764 n a 6b 62 2b 6b 62 2b 00 00 00 00 com 6b 62 59 6b 62 59 00 00 00 00 com OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 4 CLI Client Command Usage 29 DE EMULEX CIM Interface Mo
27. gt PasswordType Password Param Value Note Where multiple parameters and values are used separate them using commas Parameters WWPN1 The WWPN of the adapter WWPN2 Use ff ff ff ff ff ff ff ff for a switch or use the WWPN for a target PasswordType 1 ASCII 2 Hex binary 3 Password not yet defined Password The current password value OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 53 Authentication Commands Param The parameter names Mode Timeout Bi directional Hash priority DH priority Re authentication Re authentication interval Value The value is based on the type of lt Param gt SetPassword Mode disabled enabled or passive Timeout time in seconds Bi directional lt disabled or enabled Hash priority md5 or shal md5 first md5 then sha1 shal first shal then md5 DH priority 1 2 3 4 5 any combination up to 5 digits Re authentication disabled or enabled Re authentication interval 0 10 3600 This command sets the password for the adapter Supported By Linux Solaris and Windows Syntax SetPassword lt WWPN1 gt lt WWPN2 gt Flag lt Cpt gt lt Cpw gt lt Npt gt lt Npw gt Parameters WWPN1 The WWPN of the adapter WWPN2 Must be ff ff ff ff ff ff ff ff for a switch or the actual WWPN for a target Flag 1 lt Local password used by the adapter when t
28. gt lt EMULEX OneCommand Manaser Command Line Interface Version 6 2 User Manual P008699 01A Rev A Emulex Connects Servers Storage and People 2G EMULEX Copyright 2007 2012 Emulex All rights reserved worldwide No part of this document may be reproduced by any means or translated to any electronic medium without the prior written consent of Emulex Information furnished by Emulex is believed to be accurate and reliable However no responsibility is assumed by Emulex for its use or for any infringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent copyright or related rights of Emulex Emulex the Emulex logo AutoPilot Installer AutoPilot Manager BlockGuard Connectivity Continuum Convergenomics Emulex Connect Emulex Secure EZPilot FibreSpy HBAnyware InSpeed LightPulse MultiPulse OneCommand OneConnect One Network One Company SBOD SLI and VEngine are trademarks of Emulex AII other brand or product names referenced herein are trademarks or registered trademarks of their respective companies or organizations Emulex provides this manual as is without any warranty of any kind either expressed or implied including but not limited to the implied warranties of merchantability or fitness for a particular purpose Emulex may make improvements and changes to the product described in this manual at any time and without any
29. lt iscsi target name If you do not specify some of the remaining properties these options are set to their default values However if no properties are changed an error is generated You must change at least one property for this command to return successfully When you set the authentication method Auth to a value other than 0 you must set additional parameters Each string should be enclosed in quotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser e If you set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd SetTargetLoginProperties 00 11 22 33 44 55 iscsitarget Auth 1 TgtCHAPName TargetSecreti e If you set the authentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd SetTargetLoginProperties 00 11 22 33 44 55 iscsitarget Auth 2 TgtChapName TargetSecretl InitCHAPName InitialSecretl Supported By Linux Solaris VMware ESX and Windows Syntax SetTargetLoginProperties lt MAC Address gt lt iscsi target name gt ImmediateData lt 0 1 gt HeaderDigest lt 0 1 gt DataDigest lt 01 1 gt Auth lt lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 90 DE EMULEX iSCSI Commands
30. present on the system the install script attempts to remove them first e HBAnyware utility e OneCommand Manager core kit e OneCommand Manager application enterprise kit e Solaris driver utilities Uninstalling in Solaris To uninstall the OneCommand Manager CLI in Solaris 1 Login as root 2 Do one of the following e Run opt ELXocm scripts uninstall e Run the uninstall script located in the installation tar file e Enter the command pkgrm ELXocmcore VMware ESX ESXi For installing and uninstalling the OneCommand Manager in VMware ESX only VMware ESX 4 1 is supported For VMware ESXi 4 1 VMware ESXi 5 0 and ESXi 5 1 hosts you must install and use the appropriate Emulex CIM Provider See Installing the CIM Provider for VMware ESXi Hosts on page 19 Installing in a New VMware ESX Server To install the OneCommand Manager CLI in a new VMware ESX system install the specific rpm file for the driver for your VMware ESXversion The prerequisites for installation include the following e To manage FCoE adapters the LPFC driver version 8 2 or later must be loaded e To manage NIC or iSCSI adapters driver version 2 102 440 0 or later must be loaded e To manage iSCSI adapters the iSCSI driver must be loaded To install the OneCommand Manager CLI 1 Log in to the VMware ESX server COS 2 Copy the elxocmcore esxNN lt kit version gt lt arch gt rpm file to a directory on the install machine e NN
31. sa nebi bi k ESO ve RAMS ea ae ai ke eh 70 DeleteDumpFiles a eene nes eren 70 bum leave 71 GetDumpbDitrectory center eee eee rere urne ere Povr va NEVER EE E ag E E E a Ee eus 71 GEtDUMP FIG qr T Ee 72 GEO pE NENA MES si suv k n FREE UP u 73 GetRetentionCount gm 73 SCCDUMPDINECOONY L 73 ecu 74 FCoE COMMBAMNGS ee 75 ge eL TIU TITTEN 75 GetFIPParattis erede UE IER RE I INC UE E ie NN Qe Seg ET QN PE RT TOUT D AES 75 SetFIPPAfAM RR TR 76 HSCS COMMANGS d 76 AGdARPTADUSENUN seo cui Soda o ob an rr on nov 77 AddRou teTableEnt y odiosa dae oa Ere tutae a ko a ed ea RM aa oka aka 77 AddTakget cerent EEA RESNE EN SC KV K RE UR E CERE S TETEREREE LET SES 78 AddTareetPortal 2 224 2 tege ede tester EE es nao eger Pe nn 79 CledriSNSSETVET zaide va 80 DelARPTablUeEntry iiiso sexum vk ERR AR NA AREA kino Er TAREA ENIM LAUR AVR S YER CURE 81 DEINSLIEE TADIEENUNY visna sose posesa na D OS T 81 DiscoveriSNSSETVEF 222 5 sine Na ka see PIE ee OV eA RUN lia non o 81 Export SES perm 82 GetlnitiatorPropertlES vii sika nad ee EEEIEE va 82 GetiS SILUNS e E 82 GetiSCSlPortStats x ccs e ecce quet ek ero a ey Y RUE ERES RA
32. you created to store the dump files h The IP address of the host Example This example shows the dump directory set to vmfs volumes ocm datastore hbacmd h 10 192 203 173 m cim u root p Swamiji001 n root emulex setdumpdirectory 10 00 00 00 c9 61 2 64 ocm datastore SetRetentionCount This command specifies the maximum number of diagnostic dump files for the adapter When the count reaches the limit the next dump operation deletes the oldest file Note The retention count applies to all adapters in the server Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 75 DE EMULEX FCoE Commands Syntax SetRetentionCount lt WWPN MAC gt lt Value gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port Value The number of dump files to retain Example hbacmd h 10 192 193 154 m cim u root p Swamiji001 n root emulex SetRetentionCount 00 00 c9 93 2f 9f 6 FCoE Commands Note These commands are supported only on OneConnect FCoE ports GetFCFInfo This command shows the FCF information of the OneConnect adapter in FCoE mode Supported By Linux Solaris VMware ESX and Windows Syntax GetFCFInfo WWPN Parameters WWPN The WWPN of the adapter Example hbacmd getfcfinfo 10 00 00 00 c9 3c 7 88 GetFIPParams This command gets the FCoE Initialization Protocol FIP
33. zxvf elxocmcore lt supported os gt lt app ver gt lt rel gt tgz 4 Change to the core kit directory created in step 3 cd elxocmcore lt supported os gt lt app ver gt lt rel gt 5 Run the install sh script install sh The core kit consists of two or three rpm files for each supported architecture and each supported version of Linux For example e elxocmlibhbaapi rpm on 64 bit platforms that support 32 bit applications there are two of these files e elxocmcore rpm Installing in Linux With an Existing OneCommand CLI Kit Before installing the OneCommand Manager CLI download the appropriate driver from the Emulex website and install the driver For example e On OneConnect FCoE adapters o For RHEL 5 5and later and SLES10 SP3 and later operating systems use Linux driver version 8 2 0 x o For RHEL6 and later and SL11 SP1 and later operating systems use Linux driver version 8 3 5 x e On OneConnect iSCSI adapters use the iSCSI driver e On OneConnect NIC adapters including iSCSI NIC and FCoE NIC adapters use the Ethernet driver Note The OneCommand Manager core kit cannot be installed if a previous version of the HBAnyware utility is installed You have two options when installing the OneCommand Manager CLI on a Linux system with an existing OneCommand CLI kit e Updating an existing installation preserve existing settings e Performing a clean install overwrite existing settings OneCommand Manager
34. 12 16 Initiator CHAP name enclosed in quotes string length 1 256 Initiator Secret enclosed in quotes string length 12 16 This command adds a new SendTarget Portal for the initiator and runs a target discovery once the SendTarget Portal is created This command requires that you specify a valid portal IP address lt Target_IP gt and a valid port number lt Port gt If you do not specify the remaining options these options are set to their default values When you set the authentication method lt Auth gt to a value other than 0 you must set additional parameters Each string should be enclosed in quotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser e Ifyou set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd AddTargetPortal 00 11 22 33 44 55 10 0 0 1 8000 Auth 1 TgtCHAPName TargetSecretl e If you set the authentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd AddTargetPortal 00 11 22 33 44 55 10 0 0 1 8000 Auth 2 TgtChapName TargetSecretl InitCHAPName InitialSecretl You must specify either the TSIH value or the ISID qualifier If you specify the ISID qualifier you must also specify the Target s ID address OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Comman
35. 64 RHEL 5 5 RHEL 5 6 and RHEL 6 use the 64bit libni library e For PPC RHEL 5 5 RHEL 5 6 and RHEL 6 use the 32bit libnl library For existing systems before installing the OneCommand Manager CLI download the appropriate Linux driver from the Emulex website and install it If specified also download and install the appropriate library file For example e On OneConnect FCoE adapters o For RHEL 5 and SLES 10 operating systems use Linux driver version 8 2 0 33 3p or later o For RHEL 6 and later versions and SLES 11 SP1 and later versions operating systems use Linux driver version 8 3 5 Also the RHEL 6 Enterprise kit requires the installation of the libstdc 5 so library This library is available through the compat libstdc 33 3 2 3 68 lt arch gt rpm or OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 2 Installing and Uninstalling the CLI 14 Linux later The PPC64 and x86 64 builds require the 64 bit version installed which is installed in usr lib64 The i386 build requires the 32 bit version installed which is installed in usr lib e On OneConnect NIC adapters including iSCSI NIC and FCoE NIC adapters use the NIC driver To install the OneCommand Manager CLI in Linux without an existing OneCommand CLI 1 Copy the applications kit tar file to a directory on the installation machine 2 Change to the directory where you copied the tar file 3 Untar the file tar
36. 9 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 104 Miscellaneous Commands Parameters username Login User ID of the VMware ESX password The login password of the VMware ESX namespace The namespace where the Emulex provider is registered in the SFCB CIMOM of VMware ESX specifically root emulex portnum The port number of the SFCB CIMOM listening to that is 5988 HTTP or 5989 HTTPS TargetMapping This command shows a list of mapped targets and the LUNs for the port Supported By Linux Solaris VMware ESX and Windows Syntax TargetMapping lt WWPN gt Parameters WWPN The WWPN of the adapter Version This command shows the current version of the OneCommand Manager CLI Client Supported By Linux Solaris VMware ESX and Windows Syntax For the RM interface hbacmd Version Note The h option for specifying an optional IP address or host name after hbacmd is not available for the Version command For VMware ESX ESXi using the CIM interface hbacmd h IP address m cim version Parameters None OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions DC EMULEX Persistent Binding Commands 109 Persistent Binding Commands Notes e These commands are supported for FC FCoE ports only e The following persistent binding commands are not supported on Linux or VMware ESX o BindingCapabilities o
37. A DE EMULEX 5 CLI Client Command Descriptions 106 Persistent Binding Commands Supported By Solaris and Windows Syntax BindingCapabilities lt WWPN gt Parameters WWPN The WWPN of the adapter BindingSupport This command shows the binding support for the adapter Supported By Solaris and Windows Syntax BindingSupport WWPN Source Parameters WWPN The WWPN of the adapter Source C Configuration support L lt Live support PersistentBinding This command specifies which set of persistent binding information configuration or live state is requested Supported By Solaris and Windows Syntax PersistentBinding WWPN Source Parameters WWPN The WWPN of the adapter Source C Configuration support L lt Live support RemoveAllPersistentBinding This command removes all persisting bindings for the adapter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Supported By Solaris and Windows Syntax RemoveAllPersistentBinding lt WWPN gt Parameters WWPN The WWPN of the adapter RemovePersistentBinding 5 CLI Client Command Descriptions 107 Persistent Binding Commands This command removes persistent binding between an FC target and a SCSI Bus and target The binding to be removed can be to a target WWPN target WWNN or target D ID Supported By Solaris and Windows Syntax RemovePersistentBinding WWPN
38. Binding RemoveAllPersistentBinding RemovePersistentBinding RescanLuns SetAuthConfig SetBindingSupport SetCimCred SetPersistentBinding SetLunMask SetPassword 4 CLI Client Command Usage Unsupported Commands per Operating System Solaris does not support the following CLI commands CnaClearEventLog CnaGetEventLog DriverConfig GetCimCred GetElxSeclnfo ListVMs SetCimCred SetDriverParamDefaults SetDumpDirectory VMWare ESX VMWare ESX does not support the following CLI commands AuthConfigList BindingCapabilities BindingSupport CreateVPort DeleteAuthConfig DeleteVPort GetAuthConfig GetAuthStatus GetCimCred GetElxSeclnfo GetLunList GetLunUnMaskByHBA GetLunUnMaskByTarget ImportSCSI OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 35 2G EMULEX e InitiateAuth e PersistentBinding e RemoveAllPersistentBinding e RemovePersistentBinding e RescanLuns e SetAuthConfig e SetBindingSupport e SetCimCred e SetLunMask e SetPersistentBinding e SetPassword Windows 4 CLI Client Command Usage Unsupported Commands per Operating System Windows does not support the following CLI commands e SetDumpbDirectory e ListVMs OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 36 2G EMULEX 5 CLI Client Command Descriptions 37 5 CLI Client Command Descriptions A check mark v designates a supported command for a particular o
39. BindingSupport o PersistentBinding o RemoveAllPersistentBinding o RemovePersistentBinding o SetPersistentBinding o SetBindingSupport In a remote environment you can perform persistent bindings operations from a host running any operating system including Linux or VMware ESX but only to a remote host that is running Windows or Solaris e Forabinding to take effect immediately that is SetPersistentBinding parameter Scope I or B the lt SCSIBus gt and lt SCSITarget gt parameters must match the SCSI bus and SCSI target to which the FC target is already automapped If automapping is disabled the binding takes effect immediately if the FC target is not already persistently bound and the specified lt SCSIBus gt and lt SCSITarget gt parameters are available to be persistently bound Also the lt BindType gt parameter must match the currently active bind type Otherwise you are notified that you must reboot the system to cause the persistent binding to become active AllNodelnfo This command shows target node information for each target accessible by the adapter Supported By Linux Solaris VMware ESX and Windows Syntax AllNodeInfo lt WWPN gt Parameters WWPN The WWPN of the adapter BindingCapabilities This command shows the binding capabilities of the adapter If a binding is configured it is maintained across reboots OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev
40. Command Manager Application Enterprise Kit 23 DE EMULEX uis 3 Updating to the OneCommand Manager Application Enterprise Kit Note The full featured OneCommand Manager application enterprise kit is not supported on Citrix XenServer 5 6 SP2 Citrix XenServer 6 0 or VMware ESX server This chapter details procedures for updating the OneCommand Manager CLI to the OneCommand Manager Application Enterprise kit in Linux Solaris and Windows operating systems An update can be performed only if the version of the OneCommand Manager application enterprise kit is the same or later than the OneCommand Manager CLI version Note You cannot update a OneCommand Manager CLI with a previous version of the OneCommand Manager application enterprise kit When the OneCommand Vision Sensor software is installed on production servers with Emulex adapters the Sensor software may load and use some of the software components included in the OneCommand Manager application or HBAnyware utility software stacks It is essential that the OneCommand Vision Sensor software be stopped before performing any updates to the OneCommand Manager application or HBAnyware software stack components For information on stopping the OneCommand Vision Sensor see the latest Emulex OneCommand Vision Installation and Configuration Manual Linux To update from the OneCommand Manager CLI to the full featured OneCommand Manager application enterprise kit in Linux run the install sh
41. DelARPTableEntry This command removes an Address Resolution Protocol ARP table entry Supported By Linux Solaris VMware ESX and Windows Syntax DelARPTableEntry MAC Address Dest MAC Address Dest IP Address Parameters MAC Address The MAC address of the UCNA port Dest MAC Address The destination MAC address to remove from the ARP table Dest IP Address The destination IP address to remove from the ARP table DelRouteTableEntry This command removes a route table entry from the specified port Supported By Linux Solaris VMware ESX and Windows Syntax DelRouteTableEntry MAC Address Dest IP Address Subnet Mask Gateway Parameters MAC Address MAC address of the UCNA port Dest IP Address Destination IP address to delete from the route table Subnet Mask Subnet Mask to delete from the route table Gateway Gateway to delete from the route table DiscoveriSNSServer This command discovers an iSNS server address through DHCP If the DHCP server returns an iSNS server address it replaces the configured iSNS server and can be viewed using the ShowiSNSServer command Supported By Linux Solaris VMware ESX and Windows Syntax DiscoveriSNSServer MAC Address OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 82 DE EMULEX iSCSI Commands Parameters MAC Address The MAC address of the UCNA port ExportiSCSI
42. Er e UE ee ea EC ERERR ODE E a SERERCREE ESSEN S 115 IEbI MPEM a 116 UiStVFUNEtIONS seen ee rr SE vo nosu nb oni br r eee vv 116 BASOV MS M l no Rak na nr i r ER 117 ListVPOrtS 4 oki s seuss Ni OK VE V V ia 117 VPOMUTAN ETS osi eve ee er RE v vev vv lt v r in rn dag 118 WWN Management Commands sssscccccccccccccccecsccccccccccccsceccesscssccccsssssees 118 ChangeWWN si a peke 118 GETWWNGCAD mE n an o bl Gaigae Psi i Dve lia 119 REAUWWN mI 120 RestoreWWN 120 Appendix A OneCommand Manager Error Messages eee nne 121 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX Overview 1 Introduction 1 Introduction Overview The OneCommand M Manager Command Line Interface CLI utility is a comprehensive management utility for Emulex host bus adapters HBAs and universal converged network adapters UCNAs The CLI provides support for commonly used commands without requiring installation of the OneCommand Manager graphical user interface GUI The OneCommand Manager CLI console application name is HbaCmd A single operation is performed by entering hbacmd followed by a CLI client command and its possible parameters at the command line Use the OneCommand Manager application to do any of the
43. IM interface to talk to the CIM server running on ESXi to get the management information If you do not specify the parameter m cim the CLI uses the RM interface to talk to the RM server to get the management information Syntax Options and Setting CIM Credentials For issuing CIM based commands two main syntax options are available Option A hbacmd h IP Address port m cim u userid p password n root emulex command lt WWPN gt Option B hbacmd lt h IP Address port m cim command Before using the option B syntax you must set the CIM credentials by doing one of the following e Set the default CIM credentials using the SetCimCred command see page 103 This command sets only the CIM credentials Once you have set them subseguent HbaCmd commands do not reguire you specify the CIM credentials on the command line For example hbacmd SetCimCred lt username gt lt password gt lt namespace gt lt portnum gt e Add the host IP address with CIM credentials using the AddHost command For example hbacmd lt m cim gt u userid p password n namespace AddHost lt IP Address gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Default CIM Credentials If you specify the command with the discovery method m cim without specifying the CIM credentials userid password or namespace the default value for the missing CIM credential is obtained in the
44. Linux Solaris and Windows Syntax hbacmd GetAuthConfig WWPN1 lt WWPN2 gt Parameters WWPN1 The WWPN of the adapter WWPN2 Use ff ff ff ff ff ff ff ff for a switch or use the WWPN for a target GetAuthStatus This command returns the current status for the authentication connection specified by WWPN 1 and WWPN2 adapter and the switch It includes the current authentication state connected or failed Currently authenticated connections specify the hash algorithm and DH group used in the DHCHAP associated with this connection Failed status includes the failure reason Supported By Linux Solaris and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 52 Authentication Commands Syntax GetAuthStatus WWPN1 lt WWPN2 gt Parameters WWPN1 The WWPN of the adapter WWPN2 Use ff ff ff ff ff ff ff ff for a switch or use the WWPN for a target InitiateAuth This command initiates the authentication configuration on the adapter Supported By Linux Solaris and Windows Syntax InitiateAuth WWPN1 WWPN2 Parameters WWPN1 The WWPN of the adapter WWPN2 Use ff ff ff ff ff ff ff ff for a switch or use the WWPN for a target SetAuthConfig This command sets the authentication configuration for the adapter Supported By Linux Solaris and Windows Syntax SetAuthConfig WWPN1 lt WWPN2
45. N of the adapter MAC The MAC address of the NIC or iSCSI port GetXcvrData Note GetXcvrData is not supported for OneConnect OCe11100 series adapters This command shows transceiver data such as vendor name and serial number Supported By Linux Solaris VMware ESX and Windows Syntax GetXcvrData lt WWPN MAC gt Type Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port Type The type of SEP data to display e 1 Formatted data e 2 Raw data Example C Program Files emulex Util OCManager gt hbacmd h 10 192 203 154 m cim u root p Swamiji001 n root emulex getxcvrdata 00 00 c9 93 2f d6 LoadList Note Not supported for OneConnect adapters This command shows the flash memory load list data for the adapter Supported By Linux Solaris VMware ESX and Windows Syntax LoadList lt WWPN gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 63 Diagnostic Commands Parameters WWPN The WWPN of the adapter LoopBackTest This command runs the loop test on the adapter specified by the WWPN or MAC address Only PHY loopback test and MAC loopback tests are enabled for OneConnect adapters Note Loopback tests can be run on FC ports being managed locally or remotely through TCP IP based management Supported By Linux Solaris VMware ESX and Windows Syntax LoopBackTest lt WWPN MAC gt T
46. N or MAC address is used to identify the adapter the updated firmware applies to all ports on that adapter It is not necessary to download the firmware on all the adapter ports of a OneConnect adapter or a 16 Gb HBA Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 100 Miscellaneous Commands Syntax Download WWPN MAC FileName Parameters WWPN The WWPN of the adapter port MAC The MAC address of the NIC or iSCSI port FileName The name and location of the firmware image any file accessible to the CLI client ExportSANInfo Notes e Emulex recommends that you redirect this output to a file with proper extension xml for XML formatted files and csv for CSV formatted files e Dueto the amount of information that must be obtained and reported this command can take a long time on large SAN configurations For reporting purposes this command captures the SAN information in xml or csv format Since this command can output a large amount of information Emulex recommends that you re direct the output to a file Supported By Linux Solaris VMware ESX and Windows Syntax ExportSANInfo format Note The h option for specifying an optional IP address or host name after hbacmd is not available for the ExportSANInfo command Parameters format Anoptional parame
47. PhyPortSpeed Y Y Y Y Y 49 SetPortEnabled Y Y Y Y 50 SetRetentionCount Y Y Y Y Y Y Y Y Y 74 SetTargetLogin Y Y Y Y 89 Properties SetTargetProperties Y Y Y Y 90 SetTPLoginProperties 90 ShowAdapterLicense Y Y Y v 45 Features OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Table 5 1 CLI Client Command Reference Continued 5 CLI Client Command Descriptions CIM Provider VMWare Command Linux Solaris ESX Windows CIM 3 0 3 1 3 2 3 4 4 3 5 Page ShowARPTable v Y Y Y 92 ShowiSNSServer 92 ShowLicenseAdapterlD v Y Y Y Y 46 ShowPersonalities Y Y Y Y 110 ShowRouteTable Y Y Y Y 92 ShowTarget Y v Y Y 93 ShowTargetPortal Y Y Y Y 93 TargetLogin Y Y Y Y 93 TargetLogout Y Y Y Y 95 TargetMapping Y Y Y Y Y 104 TDRTest Y Y Y Y 66 UmcEnable Y Y Y Y Y 111 UmcEnableChanLink Y Y Y Y 4 111 UmcGetParams Y Y Y Y Y 112 UmcSetBw Y Y Y Y Y 113 UmcSetLPVID Y Y Y Y Y 114 UpdateiSNSServer Y Y Y 4 95 Version Y Y Y Y Y 104 VPortTargets Y Y Y Y 118 Wakeup Y Y Y Y 67 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 41 5 5 CLI Client Command Descriptions 2 EMULEX e Help The Help command displays command information for the HbaCmd application Without using its optional parameters the Help command lists all the commands in
48. RN ENVE SQUE RECS AMAN VENTE EQUES UE 83 GetNetworkConfiguration seesssssesssesccesessosssecesesscsssesossseecsssecossesoeese 83 LE s Dina ea at a EE aa EEEE EEEE EEE 83 Import SCS snm 84 TSC SIPING v soon Sa no a ov non 85 LISCSESSIONS iii 85 DTE DC M Mm 85 RemoveTargetPortal uico ori ooo od ovi a4 Pao OX e le E a Zn EE ERE 86 SetBootTargetSesslOTn sieseec ee ue ee ro ea Eg ea peret ee S E EDT E ORO EUR E RE ova 86 SetInitiatorProperties eec essei rna ee eren ev VE K ER E EE ER ORE 87 SE d E 5 To o PR RR I D TD T DD D ane 88 SetNetwork Cont RUTA TOM eno aa a x dok kd E be Ea inak 88 Set TargetLoginProperties eene nn e enhn hne 89 SetTargetPropertles 5 c eieeeee e Prose Nae navrh SUYO epa Se ET NE FR hovna 90 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2c EMULEX Table of Contents 7 SetTPLoginProperties cccceeeeeeeeeeeee eee nen enhn nenne 90 ShBowARPTable sing vow dis sd kane e o re o rb UR CK ER Sus SR Eee bA PU be E REE EM ces 92 SHOWISNSSEMVEN siva na ina nn r Dese Ere Lee TE Ve nia 92 ShowRouteTable eee n rr eee ur e a hex re SENE SEES SANE EEEE UR E e 92 SHOWT AT ATTI T T m I TT MTS 93 SOW a SEU Ol tol scan dUrsodtEL Ped oo o r SE Cod Hb LP pO DUE pena 93 ILC cum 93
49. This command sets the TCP IP configuration on a specified port The reguired fields for this command depend upon the values set for lt DHCP gt and lt VLAN ENABLED gt Supported By Linux Solaris VMware ESX and Windows Syntax SetNetworkConfiguration MAC Address lt VLAN ENABLED lt lt 0 1 gt lt VLAN ID lt lt 0 4096 gt gt lt Priority lt 0 7 gt gt lt DHCP lt 0 1 gt gt lt IP Address Subnet Mask Gateway Parameters MAC Address The MAC address of the UCNA port OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 89 DE EMULEX iSCSI Commands VLAN ENABLED 0 lt Disabled 1 lt Enabled VLAN ID VLAN ID of the interface The possible values are 0 4095 Priority VLAN priority of the interface The possible values are 0 7 DHCP 0 lt Disabled 1 lt Enabled IP Address New IP address For example 10 192 1 1 Subnet Mask Subnet Mask For example 255 255 255 0 Gateway Gateway For example 10 192 1 1 Note VLAN ID and Priority are required only if VLAN ENABLED is enabled otherwise these values should be omitted Note IP Address and Subnet Mask are required only if DHCP is disabled otherwise these values should be omitted SetTargetLoginProperties This command sets the login and authentication properties associated with a specific target This command requires that you specify a valid iSCSI target name
50. VIDs cannot be set for storage channels e When only three channels are available specifying LPVID3 will cause an error e This command is not supported on 1 Gb ports e If UMC is disabled when this command is executed a warning message will be displayed indicating that UMC is currently disabled and must be enabled for these changes to take effect Examples All NIC gt hbacmd UmcSetLPVID 00 00 c9 bb cc aa 1001 1002 1003 1004 NIC Plus Storage hbacmd UmcSetLPVID 00 00 c9 bb cc aa 1001 0 1002 1003 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 2G EMULEX Virtual Port VPort Commands 113 Virtual Port VPort Commands Note Supported by FC and FCoE adapter ports only 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 vname optional parameter can be specified for the virtual port s name Note In Linux VPorts do not persist across system reboots CreateVPort Supported By Linux Solaris and Windows Syntax CreateVPort lt physical WWPN gt auto vname OT CreateVPort lt physical WWPN gt lt virtual WWPN gt lt virtual WWNN
51. When Mode is 0 the Speed argument is ignored The speed of the PHY port Some valid string values include 100Mb 1Gb and 10Gb The PortAttributes command lists all the valid speeds in Auto negotiate and Force modes gth The length of the direct attach copper DAC cable in meters Valid values are 0 10 A Length value is required when using a 10Gb SFP Plus transceiver When Mode is 2 the Length argument is required When Mode is 0 or 1 the Length argument is ignored Examples The following example configures the PHY port to a forced speed of 1 Gb sec with a cable length of two meters hbacmd setphyportspeed 00 00 c9 ad ad ac 2 1Gb 2 The following example tries to configure the PHY port to a forced speed of 100 Mb sec OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A hbacmd setphyportspeed 00 00 c9 a9 41 88 2 100Mb This command results in an error because you must include a Length value when Mode is 2 ERROR 431 Cable length required for force mode and interface type 49 5 CLI Client Command Descriptions gt lt EMULEX Authentication Commands 30 SetPortEnabled This command enables or disables the FC or UCNA port Notes e Ensure that all I Os on the port are stopped before disabling the port e Only OneConnect adapters do not require a reset when the adapter port is enabled or disabled For all other adapters when the SetPortEnab
52. Y IMA AH K lv Y Y 61 GetAuthConfig Y Y Y 51 GetAuthStatus Y Y Y 51 GetBootParams Y Y Y Y 55 GetCimCred Y 100 GetDCBParams Y Y Y Y Y v v Y Y 56 GetDriverParams Y Y Y Y Y 68 GetDriverParamsGlobal Y Y Y Y Y 68 GetDumpDirectory Y Y 4 Y Y 71 GetDumpFile Y Y Y Y Y 72 GetDumpFileNames Y Y Y Y Y 73 GetElxSecInfo Y Y 101 GetFCFInfo Y Y Y Y 75 GetFIPParams Y v Y Y 75 GetlnitiatorProperties Y Y Y Y 82 GetiSCSILuns Y Y Y Y 82 GetiSCSIPortStats Y Y 4 Y 83 GetLunList Y Y Y Y 96 GetLunUnMaskByHBA Y Y 96 GetLunUnMaskByTarget Y Y 97 GetNetwork Y Y Y Y 83 Configuration GetPGlnfo Y Y Y Y viv Y Y 56 GetOoslnfo Y Y Y Y 101 GetRetentionCount Y Y Y Y v v Y Y 73 GetSessionlnfo Y Y Y Y 83 GetVPD Y Y Y Y 101 GetWWNCap Y Y Y Y 119 GetXcvrData Y Y Y Y 62 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Table 5 1 CLI Client Command Reference Continued 5 CLI Client Command Descriptions 39 CIM Provider VMWare Command Linux Solaris ESX Windows CIM 3 0 3 1 3 2 3 4 4 3 5 Page HbaAttributes Y Y Y Y Y 47 Help Y 42 ImportiSCSI Y Y Y 84 InitiateAuth Y Y Y 52 InstallAdapterLicense Y Y Y Y Y Y Y Y 45 iSCSIPing Y Y Y Y 85 ListHBAs Y Y Y Y Y 102 ListSessions Y Y Y Y 85 ListVFunctions Y Y Y Y 116 ListVMs Y Y 117 ListVPorts Y Y Y Y 117 VPortTargets Y Y Y Y 118 Loa
53. a dav Veku ERR WEAR RE RREXR RR WERE RE RES 20 Uninstalling through the Control Panel cesses 20 Uninstalling through the Command Line c cesses eene eee 21 Starting and Stopping Daemon Processes ceeeeeeeeee eee ee eene eene enn 21 Linux and Solaris eee ee oe rea Ner ret rn STD S S a eevee reato ed gue 21 VMware ESX Server sess Kss KiE CEKA Eak SESK ECs 21 3 Updating to the OneCommand Manager Application Enterprise Kit 23 LINUX v uvide sn on ak a ka 23 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 3 2c EMULEX Table of Contents 4 Solaris scssi esince a e a a a aa 23 WINDOWS Te eva ee veta NE no a n i E REE ENERE 24 4 CLI Client Command Usage x lt siassidalna ca ahhh aha E a k e Ra a aya E Ea aaa nens 25 OVETVIEW UP 25 Hbatmd Syntax Usage co estere ERE in er ka dM UNAM UE D VPE NE DUNS 25 CIM INfETTAEE me T 26 Device Management Using the CIM Interface 26 Syntax Rules tor the CIM Interface ssasirolnstvskce rre pur er voe oka C E ka Reda 27 Syntax Options and Setting CIM Credentials 27 Example of Using the CIM Interface to Display Adapters 28 CLI Client Commands Supported in CIM Int
54. adapter MAC The MAC address of the NIC or iSCSI port List HBAs This command shows a list of the manageable Emulex adapters found by local remote in band FC and remote out of band TCP IP discovery For a NIC only or iSCSI adapter the MAC address is displayed rather than the Port WWN The Node WWN and Fabric WWN are not displayed The type of information listed may vary according to the adapter model Supported By Linux Solaris VMware ESX and Windows Syntax listhbas local m model pt type down Parameters local Only display local adapters m model Model filter Append to the end of the model name for a wildcard match For example LP9 pt type The port type filter Valid types are NIC iSCSI FC and FCoE down Display only the NIC functions of inoperative OneConnect UCNAs on the local system RemoveHost This command removes a host from the hosts file use for TCP IP management in the OneCommand Manager application GUI The host address can be an IP address using the IPv4 or IPv6 format or a host name Supported By Linux Solaris VMware ESX and Windows Syntax For the RM interface hbacmd RemoveHost host address For VMware ESX ESXi using the CIM interface OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 103 Miscellaneous Commands hbacmd m cim removehost IP Address Note The h option for sp
55. angeWWN CleariSNSServer CnaClearEventLog CnaGetEventLog DelARPTableEntry DeleteAuthConfig DelRouteTableEntry DeleteVPort DiscoveriSNSServer Dump EchoTest EnableBootCode EnableSRIOV ExportiSCSI GetBeacon GetAuthConfig GetAuthStatus GetBootParams GetCimCred GetDumpFileNames GetElxSecInfo GetlnitiatorProperties GetiSCSILuns GetiSCSIPortStats GetLunList GetLunUnMaskByHBA GetLunUnMaskByTarget GetNetworkConfiguration GetOoslnfo GetSessionlnfo GetWWNCap Help ImportiSCSI OneCommand Manager Command Line Interface Version 6 2 User Manual Description These HbaCmd commands are not supported for managing target mode ports An error message is displayed when attempting to use one of these commands with a target mode enabled port See Commands Supported in Target Mode Ports on page 32 P008699 01A Rev A 2G EMULEX Appendix A OneCommand Manager Error Messages Table A 1 OneCommand Manager Error Messages Continued Error Message Not supported for Target Mode Adapters continued Command s InitiateAuth InstallAdapterLicense iSCSIPing ListSessions ListVFunctions ListVMs VPortTargets LoadList LoopBackTest LoopMap PciData PersistentBinding PostTest ReadWWN RemoveAllPersistentBinding RemovePersistentBinding RemoveHost RemoveTarget RemoveTargetPortal RescanLuns RestoreWWN SetAuthConfig SetBeacon SetBindingSupport SetBootParam SetBootTargetSession SetCableNVP SetCimCred SetDu
56. aram SetRetentionCount CIM Provider 3 2 CIM Provider 3 2 supports the following commands 4 CLI Client Command Usage Commands Supported in Target Mode Ports All the commands listed in the previous section for CIM Provider 3 1 on page 31 ChangePersonality InstallAdapterLicense Show AdapterLicenseFeatures ShowLicenseAdapterID ShowPersonalities CIM Provider 3 4 4 CIM Provider 3 4 4 supports the following commands All the commands listed in the previous section for CIM Provider 3 2 on page 32 SetCableNVP CIM Provider 3 5 CIM Provider 3 5 supports the following commands All the commands listed in the previous section for CIM Provider 3 4 4 on page 32 SetPhyPortSpeed Commands Supported in Target Mode Ports The following HbaCmd commands are supported for managing target mode ports OneCommand Manager Command Line Interface Version 6 2 User Manual ChangePersonality CreateVPort DeleteDumpFiles P008699 01A Rev A 32 2G EMULEX All other HbaCmd commands return the following error message DeleteV Port Download Driver Config ExportSanlnfo GetDCBParams GetDriverParams GetDriverParamsGlobal GetDumpDirectory GetDumpFile GetFCFInfo GetFIPParams GetPGlnfo GetRetentionCount GetVPD GetXcvrData HbaAttributes InstallAdapterLicense ListHbas ListVPorts PortAttributes PortStatistics Reset SaveConfig ServerAttributes SetCnaPGBW SetDCBParam SetDCBPriority SetDriverPa
57. c Enabled 4 NIC 00 00 c9 bb cc ad Enabled 5 NIC Plus Storage hbacmd UmcGetParams 00 00 c9 bb cc aa W HN H UMC Enabled Configured Yes Current Yes OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 112 Universal Multichannel UMC Commands DE EMULEX 5 CLI Client Command Descriptions 113 Logical Func Type MAC Address Link State LPVID Min BW Max BW 0 NIC 00 00 c9 bb cc aa Enabled 1001 20 50 1 FCoE 00 00 c9 bb cc ab Enabled n a 50 100 2 NIC 00 00 c9 bb cc ac Enabled 1002 20 50 3 NIC 00 00 c9 bb cc ad Enabled 1003 10 75 UmcSetBw This command sets the minimum and maximum bandwidths for each channel up to four on the physical port The total of the minimum bandwidths must add up to 100 The maximum bandwidth must be greater than or equal to the minimum bandwidth and has a maximum value of 100 A reboot is not required to make these changes take effect when UMC is enabled Supported By Linux Solaris VMware ESX and Windows Syntax UmcSetBW WWPN MAC Address Min0 Max0 lt Minl Maxl gt lt Min2 Max2 gt Min3 Max3 Parameters MAC Address MAC address of any NIC function on the adapter port WWPN WWPN of the FCoE function on the physical port Min0 Max0 minimum and maximum bandwidths for channel 0 Minl Maxl minimum and maximum bandwidths for channel 1 Min2 Max2 minimum and maximum bandwidths for channel 2 Min3 Max3 minimum and maximum bandwidths for
58. case letters therefore the command line must begin with hbacmd rather than HbaCmd Windows is not case sensitive so the program name is not required to be in all lowercase letters e Anoptional IP address or host name can be specified using the h option with the following syntax hbacmd h IP Address port Hostname port command parameters o If the h option is omitted the command is run on the local host o Ifthe h option is specified the command is sent to the specified remote host assuming it is specified correctly the remote host is up and the remote host is running the OneCommand Manager remote management agent o The por option is optional If omitted the OneCommand Manager remote management protocol uses the default TCP port If specified it uses the user specified TCP port OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 4 CLI Client Command Usage 26 DE EMULEX CIM Interface o Examples Using the IP address hbacmd h lt 138 239 91 121 ListHBAs Using the host name hbacmd h lt cp hp5670 ListHBAs o The h option is available for all commands except for the AddHost page 98 RemoveHost page 102 and the Version page 104 commands e For FC ports the WWPN of the adapter must be specified Where the WWPN is specified each pair of numbers within the WWPN is separated by colons or spaces When using space separators the entire WWPN must b
59. cceosndaecsiasansnesesasdesaessanes semedeeuasenee OO EEEE 56 SetCnaPGBW soises iesse iniret sa vl k o ves exec ete Ek nev ro SERES ces 57 SetDCBParalim isis suites s dov hv na RE ERE RS wes veria SETETE S E genes veva ve ja 57 SCCDCBPMOPILY isis via v 59 Diagnostic Commands oi sas ena i nnne user pese OVA kanon kn e Oe i ie Oil o s ovi sie dioda ci 61 ECHO TES RENT 61 GetBeacon eese bebe no vvn 61 GetXcvrData sivi codec ESRR ROK i eki 62 EGAMLIS NER ERE TER TOT TETTE LTD UTD 62 LOOM BACK SSE shoe NE E ETT DU 63 LOOPMAD m aa a 64 iei IET gane vee 64 POSED GSU EET LII LIII 65 SetBeacon 65 SELCADIENYP MT 66 IIIS 66 lEFicip 67 Driver Parameter Commands ii sku naivni wen ER RRERR VEN RENE nn NUES QUE KIM MUERE MEE 67 DEBPCODTIS ea O teal que dd ea vU oTt US Veni Aa AVR UV na tue DUE 68 GetDriverPatratms ocior eee rome pe ec Ou A ne E Ike a EVE neve EE ESTE ETE 68 GetDriverParamsGlobal esee eene n eese nn 68 PAVEL ON ND RE Pc P 69 SetDriverParalm esse seres rriv e p Er EE Pe ESO VAR E KE NES Te 69 SetDriverParamDefaults eese nnn hehehe nnn 70 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2c EMULEX Table of Contents 6 Dump Commands
60. ch parameter Supported By Linux Solaris VMware ESX and Windows Syntax GetDriverParams lt WWPN gt Parameters WWPN The WWPN of the adapter GetDriverParamsGlobal This command shows the name and the global value of each driver parameter Supported By Linux Solaris VMware ESX and Windows Syntax GetDriverParamsGlobal lt WWPN gt Parameters WWPN The WWPN of the adapter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 69 Driver Parameter Commands SaveConfig This command saves the specified adapter s driver parameters to a file The resulting file contains a list of driver parameter definitions in ASCII file format with definitions delimited by a comma Each definition has the following syntax lt parameter name gt lt parameter value gt The command saves either the values of the global set or those specific to the adapter in the Emulex Repository directory Supported By Linux Solaris VMware ESX and Windows Syntax SaveConfig lt WWPN gt lt FileName gt lt Flag gt Parameters WWPN The WWPN of the adapter FileName Name of the file that contains the driver parameters list Flag G lt Save the global parameter set N lt Save the local adapter specific parameter set SetDriverParam This command changes a driver parameter and designates the scope of the change Supported By Linux Solaris VMware ESX
61. channel 3 Example gt hbacmd UmcSetBW 00 00 c9 bb cc aa 25 50 0 50 50 75 25 100 Note When only three channels are available specifying Min3 Max3 will cause an error If any channel s logical link state is disabled 0 0 must be entered for the Min Max bandwidth This command is not supported on 1 Gb ports If UMC is disabled when this command is executed a warning message will be displayed indicating that UMC is currently disabled and must be enabled for these changes to take effect OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 2G EMULEX Universal Multichannel UMC Commands M4 UmcSetLPVID This command sets the Logical Port VLAN IDs LPVID for each channel on a physical port A reboot is not required to make these changes take effect when UMC is enabled Supported By Linux Solaris VMware ESX and Windows Syntax UmcSetLPVID lt WWPN MAC Address lt LPVIDO gt LPVID1 lt LPVID2 gt LPVID3 Parameters WWPN WWPN of the FCoE function on the physical port MAC Address MAC address of any NIC function on the adapter port LPVIDO LPVID for channel 0 LPVID1 LPVID for channel 1 LPVID2 LPVID for channel 2 LPVID3 LPVID for channel 3 Considerations for Using UmcSetLPVID e LPVID values are in the range of 2 4094 e Every NIC channel on a physical port must have a unique LPVID e For FCoE and iSCSI channels 0 must be entered since LP
62. ctory must be set To use the SetDumpDirectory command you must have a directory mapped under vm s volumes where the files will be dumped This directory points to the internal hard disk or an external storage area and can also be mapped using the vSphere Client utility from VMware OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 2G EMULEX Dump Commands t Note For VMware systems you must set a dump directory before initiating a dump The dump directory must be a Storage partition a datastore under the directory vmfs volumes The application checks for the dump directory and creates the dump files in that location Note The dump directory applies to all adapters in the server There is no separate dump directory for each adapter Supported By Linux and VMware ESX Note In a remote environment you can use the SetDumpDirectory command from a host running any operating system including Linux Solaris and Windows but only to a remote host that is running VMware ESX ESXi Syntax For VMware ESX using the RM interface hbacmd h IP Aaddress port setdumpdirectory lt DumpDirectoryName gt For VMware ESX ESXi using the CIM interface hbacmd h IP Address m cim u lt username gt p lt password gt n lt namespace gt setdumpdirectory lt DumpDirectoryName gt Parameters DumpDirectoryName The directory under vmfs volumes that
63. d Descriptions gt lt EMULEX iSCSI Commands 80 Supported By Linux Solaris VMware ESX and Windows Syntax AddTargetPortal MAC Address Target IP Port ImmediateData lt 0 1 gt HeaderDigest lt 0 1 gt DataDigest lt 0 1 gt Auth lt lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret Parameters MAC Address The MAC address of the UCNA port Target IP IP address of the target portal Port Port number of the target portal value 1024 65535 ImmediateData 0 lt No 1 lt Yes default HeaderDigest 0 lt None default 1 CRC32C DataDigest 0 None default 1 CRC32C Auth 0 None default 1 One Way CHAP 2 Mutual CHAP TgtCHAPNam Target CHAP name enclosed in quotes string length 1 256 TgtSecret Target Secret enclosed in quotes string length 12 16 InitCHAPName Initiator CHAP name enclosed in quotes string length 1 256 InitSecret Initiator Secret enclosed in quotes string length 12 16 CleariSNSServer This command clears the configured iSNS server and disables iSNS target discovery If no iSNS server is currently configured this command does nothing Supported By Linux Solaris VMware ESX and Windows Syntax CleariSNSServer lt MAC Address gt Parameters MAC Address The MAC address of the UCNA port OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 81 DE EMULEX iSCSI Commands
64. dList Y Y Y Y viv Viv Y v 162 LoopBackTest Y Y Y Y 63 LoopMap Y Y Y Y 64 PciData Y Y Y Y Y 64 PersistentBinding Y Y 106 PortAttributes Y v Y Y 47 PortStatistics Y Y Y Y 47 PostTest Y Y Y Y 65 ReadWWN Y Y Y Y vl lv Y Y 120 RemoveAllPersistent Y Y 106 Binding RemovePersistent Y Y 107 Binding RemoveHost Y Y Y Y 102 RemoveTarget Y Y Y 85 RemoveTargetPortal Y Y Y 86 RescanLuns Y Y Y 97 Reset Y Y Y 103 RestoreWWN Y Y Y 120 SaveConfig Y Y Y 69 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Table 5 1 CLI Client Command Reference Continued 5 CLI Client Command Descriptions 40 CIM Provider VMWare Command Linux Solaris ESX Windows CIM 3 0 3 1 3 2 3 4 4 3 5 Page ServerAttributes Y Y Y Y 4 48 SetAuthConfig Y 52 SetBeacon Y Y Y Y 4 Y Y Y Y Y 165 SetBindingSupport Y Y 107 SetBootParam Y Y Y Y 55 SetBootTargetSession Y Y Y Y 86 SetCableNVP Y Y Y Y 66 SetCnaPGBW Y Y 4 Y 4 4 Y 57 SetCimCred Y 103 SetDCBParam Y Y 4 4 57 SetDCBPriority Y 4 Y 4 59 SetDriverParam Y Y Y 4 69 SetDriverParamDefaults Y Y 4 Y 70 SetDumpbDirectory Y Y 73 SetFIPParam Y Y Y 4 76 SetlnitiatorProperties Y Y v 87 SetiSCSIBoot Y Y Y 88 SetLunMask Y Y 97 SetNetwork Y Y Y Y 88 Configuration SetPassword Y Y Y 53 SetPersistentBinding Y Y 108 SetPfcThrottle v v Y Y 48 Set
65. de Initiator Discovery cim C Program Files Emulex Util OCManager gt hbacmd h 10 192 113 128 m cim u root p root n root emulex portattributes 10 00 00 00 c9 6b 62 2b Port Attributes for 10 00 00 00 c9 6b 62 2b Node WWN 20 00 00 00 c9 6b 62 2b Port WWN 10 00 00 00 c9 6b 62 2b Port Symname Port FCID 0000 Port Type Fabric Port State Unknown Port Service Type 12 vNIC Name vNIC Outer VLAN ID vNIC Min Bandwidth vNIC Max Bandwidth Port Supported FC4 00 00 01 20 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Port Active FC4 00 00 01 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Max Frame Size 2048 OS Device Name Num Discovered Ports 0 Fabric Name 00 00 00 00 00 00 00 00 For a list of HbaCmd commands supported through the CIM interface see the following section CLI Client Commands Supported in CIM Interface Following is a list of HbaCmd commands supported through the CIM interface e AddHost e AllNodeInfo e CEEDownload e ChangePersonality OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 4 CLI Client Command Usage 30 DE EMULEX CIM Interface e ChangeWWN e DeleteDumpFiles e Download e Dump e EnableBootCode e GetBeacon e GetDCBParams e GetDriverParams e GetDriverParamsGlobal e GetDumpbDirectory e GetDumplile e GetDumpFileNames e GetFCFInfo e
66. e PCI registers displayed are specific to the function referenced in the OneCommand Manager CLI For example if you specify the WWPN for the FCoE function the PCI registers for that FCoE function return If you specify the MAC address for the NIC function on that same physical port the PCI registers for that NIC function return Only the base PCI registers return The extended PCI registers are not available on a UCNA Supported By Linux Solaris VMware ESX and Windows Syntax PciData lt WWPN MAC gt Parameters WWPN The WWPN of the adapter s port MAC The MAC address of the NIC or iSCSI port Example C Program Files emulex Util OCManager gt hbacmd h 10 192 203 154 m cim u root p Swamiji001 n root emulex pcidata 00 00 c9 93 2f d6 The example output Vendor ID 0x19A2 Device ID 0x0700 Command 0x0406 Status 0x0010 Revision ID 0x02 Prog If 0x00 Subclass 0x00 Base Class 0x02 Cache Line Size 0x10 Latency Timer 0x00 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 65 Diagnostic Commands 2G EMULEX Header Type 0x80 Built In Self Test 0x00 Base Address 0 0x00000000 Base Address 1 OxDF478000 Base Address 2 OxDF480004 Base Address 3 0x00000000 Base Address 4 OxDF4A0004 Base Address 5 0x00000000 CIS 0x00000000 SubVendor ID 0x10DF SubSystem 1D 0xm 622 ROM Base Address 0x00000000 Interrupt Line 0x00 Interrupt Pin 0x01 Minimum Grant 0x00
67. e enclosed in quotes For example the following command displays the port attributes for the adapter with the specified WWPN hbacmd PortAttributes 10 00 00 00 c9 20 20 20 e For iSCSI and NIC ports the MAC address must be specified Where a MAC address is specified each pair of numbers within the MAC address is separated by a dash For example the following command sets the target properties for the UCNA port with the specified MAC address with an extended timeout value of 1 hbacmd SetTargetProperties 00 11 22 33 44 55 iscsiTarget 1 e For NIC ports only the permanent MAC address is supported for the port address parameter on an HbaCmd command line Normally for a UCNA port the port s permanent MAC address and current MAC address parameters are equal However it is possible to set a user specified current MAC Address that is different from the permanent MAC address Also for some implementations it is possible to have multiple UCNA ports with the same current MAC addresses but with unique permanent MAC addresses Therefore to ensure that the OneCommand Manager can access the correct port only the permanent MAC address is supported Note that both the permanent MAC address and the current MAC address are displayed by using the ListHBAs command See List HBAs on page 102 CIM Interface Notes e In Linux and Solaris you cannot use hbacmd as a CIM client e The OneCommand Manager CLI running on the VMware ESX 4 1
68. ecifying an optional IP address or host name after hbacmd is not available for the RemoveHost command Parameters host address The host to remove IP Address The IP address of the host to remove Reset Notes e Supported for FC and FCoE ports only e For OneConnect FCoE ports this command only resets the driver to update changed driver parameters that require a driver reset It does not cause a hardware reset of the adapter port This command resets the adapter An adapter reset can require several seconds to complete especially for remote devices When the reset is completed the system command prompt is displayed Supported By Linux Solaris VMware ESX and Windows Syntax Reset lt WWPN gt Parameters WWPN The WWPN of the adapter SetCimCred This command sets the default CIM credentials You must specify all four credentials username password namespace and port number Default credentials are used if any credential is not in the hbacmd command argument Once the default credentials for a host are set any other command can be issued by specifying m cim Supported By Windows Syntax SetCimCred lt username gt lt password gt lt namespace gt lt portnum gt Note Use this command to set only the CIM credentials Once this is done subseguent hbacmd commands do not reguire you to specify the CIM credentials in the command line OneCommand Manager Command Line Interface Version 6 2 User Manual P00869
69. en advanced adapter management capabilities are required for example iSCSI Management and port disable use the OneCommand Manager for VMware vCenter software plug in For more details see the OneCommand Manager for VMware vCenter User Manual For supported versions of operating systems platforms and adapters see the Emulex website Abbreviations ARP address resolution protocol ASIC application specific integrated circuit BIOS basic input output system CEE Converged Enhanced Ethernet CHAP Challenge Handshake Authentication Protocol OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX CIM CIMOM CIN CLI COS CSV DAC D ID DCB DCBX DH DHCHAP FAT FC FCoE FIP GUI HBA ICMP IP iSCSI iSNS LACP LLDP LPFC LUN MAC MSI MTU NFS NIC NVP PFC PGID PGBW PHY POST OneCommand Manager Command Line Interface Version 6 2 User Manual 1 Introduction 11 Abbreviations Common Interface Model Common Information Model Object Manager Cisco Intel Nuova data center bridging exchange command line interface console operating system comma separated values direct attach copper destination ID data center bridging data center bridging exchange Diffie Hellman Diffie Hellman Challenge Handshake Authentication Protocol File Allocation Table Fibre Channel Fibre Channel over Ethernet FCoE Initialization Protocol graphical user interface host bus adapter Internet Con
70. er To uninstall an older HBAnyware or OneCommand Manager from a VMware server 1 Log in to the ESX server COS 2 Type rpm qa grep elx Locate either of the following rpm files elxvmwarecorekit kit version elxocmcore esxNN kit version e NN is the VMware ESX version It is 41 for VMware ESX 4 1 3 Type one of the following rpm e elxvmwarecorekit kit version rpm e elxocmcore esxNN kit version e NN is the VMware ESX version It is 41 for VMware ESX 4 1 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2 Installing and Uninstalling the CLI 19 DE EMULEX Windows Installing the CIM Provider for VMware ESXi Hosts For VMware ESXi 4 1 ESXi 5 0 and VMware ESXi 5 1 hosts you can manage adapters using the OneCommand Manager on Windows but you must install and use the appropriate Emulex CIM Provider VMware ESXi comes with an inbox Emulex CIM Provider The inbox Emulex CIM Provider enables you to manage Emulex LightPulse adapters but not Emulex UCNAs To manage Emulex UCNAs you must install the out of box Emulex CIM Provider The Emulex CIM Provider is available as an offline bundle in ESXi platforms VMware recommends using the offline bundle to update software on VMware platforms For more information about the ESX Patch Management activities see the VMware website To install the Emulex CIM Provider in a VMware ESXi 4 1 hypervisor environment use the
71. er Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 45 Adapter License Management Commands Ex SetDCBParams lt WWPN MAC gt defaults Adapter License Management Commands Note Adapter License Management commands are supported on OneConnect adapters only In these commands the WWPN or MAC address argument specifies the adapter the command is acting upon The the HbaCmd application uses the WWPN or MAC address to identify the adapter but this does not mean that the command works successfully on the specified port InstallAdapterLicense This command installs the license keys from a license file to enable specific features on the adapter Supported By Linux Solaris VMware ESX and Windows Syntax InstallAdapterLicense WWPN MAC LicenseFile Parameters WWPN The FCoE port WWPN of the adapter MAC The NIC or iSCSI port address of the adapter License File The path to the license key file containing the license keys obtained from the Emulex License website Examples For non VMware ESX ESXi hosts hbacmd InstallAdapterLicense 00 12 34 56 78 9A K 1f1324 lic For VMware ESX ESXi hosts hbacmd h IP Address m cim u root p password n lt lt namespace gt InstallAdapterLicense 00 12 34 56 78 9A K M1f1324 1ic ShowAdapterLicenseFeatures This command displays the list of licensed and licensable features as well as features that are already licensed The output is a list of features
72. erface 29 CIM Provider 3 0 P ES 31 CIM Provider 324 svi a stu dus en ee ee al ONAT OEA nee 31 CIM Provider 3 2 vnesene s eue see oo ier Veda pese ee bone ea naje neja vv rv ee 32 CIM Provider 3 4 4200 ia 32 CIM Provider 3 5 32 Commands Supported in Target Mode Ports ceeeeeee eese eene eene 32 Unsupported Commands per Operating System sccccscccccesscccccccsscccesssscces 34 BD 34 RHEL SLES and Oracle rere ret Re E ee nale Vy ee Ex T Evae E Ee n Eee On 34 ig d 34 SOLANIS so adudovosonkovok sept al ud vasti Ma E rE nn EH on 35 VMWare ESX asi o ob a AE NA Pad PD o FENCE E EDU DES 35 WIRKOWS PTT obe oe KEE EAREN RETETE RENREN EERSTE N 36 5 CLI Client Command DeSCriptions cccccccecsccccccssccccccscsceccsscccecsscees 37 k A AR O PE EP AA ANA seccesevenseseassseuce oe 42 Adapter License Management Commands ceeeeeeeeeee eee eene soon enhn 45 InstallAdapterLicense eene nnn e emen een 45 ShowAdapterLicenseFeatures 2 coda on ey navo np ERE EE E EE WV die EVER EE EET ME VE 45 ShowAdapterLicenselD aa o aka orEP REO A AMA ln bona li ea kon k ENDE 46 Attributes Commands 5 srenu n venu tup azda vk a kn k K kk ni ERA aka 47 RDaALtTIDULES MT TT
73. ers only The time domain reflectometry TDR test attempts to determine if any cable faults are compromising the integrity of the link For each twisted pair cable labeled A B C or D e lfafault cannot be detected the test output displays OK and an estimated cable length in meters if possible If the length cannot be determined the estimated length is displayed as invalid e If one of two faults a short or an open connection is detected the test output displays the fault type Shorted or Open and the distance to the fault in meters Supported By Linux Solaris VMware ESX and Windows Syntax TDRTest MAC Address Parameters MAC Address The MAC address of the NIC or iSCSI port OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 67 DE EMULEX Driver Parameter Commands Example hbacmd TDRTest lt MAC gt The example output Pair A OK Cable Length Estimation 50m Pair B OK Cable Length Estimation invalid Pair C Open Distance to Fault 38m Pair D Shorted Distance to Fault 36m Wakeup Note Not supported for OneConnect adapters This command wakes up the adapter Supported By Linux Solaris VMware ESX and Windows Syntax Wakeup lt WWPN gt Parameters WWPN The WWPN of the adapter Driver Parameter Commands Notes e Supported for FC and FCoE ports only e Driver parameters that are s
74. ess of the port Example hbacmd ListVFunctions 00 00 c9 12 34 56 The example output Virtual Functions for 00 00 c9 12 34 56 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions Virtual Port VPort Commands MAC Address 00 00 c9 12 34 ab VLADID Transmit Rate MAC Address VLADID Transmit Rate MAC Address VLADID Transmit Rate MAC Address VLADID Transmit Rate 10 100 Mbit sec 00 00 c9 12 34 ca 10 100 Mbit sec 00 00 c9 12 34 ef 10 1 bbit sec 00 00 c9 13 34 01 20 1 Gbit sec 117 List VMs This command lists all virtual machines and their information for all manageable ports If you specify the host with the h lt host gt option or provide the physical WWPN only the virtual machines for that host are returned If you specify the physical port and the virtual port only the virtual machine for the specified virtual port are returned The virtual machine name is only displayed if the virtual port is associated with a virtual machine on VMware ESX 4 1 If you are running this command on any other server that has virtual ports you will not see the virtual machine name Supported By Linux and VMware ESX Syntax ListVMs lt physical WWPN gt lt virtual WWPN gt Parameters physical WWPN The WWPN of the adapter virtual WWPN The WWPN of the virtual port ListVPorts This command lists virtual p
75. et You must specify the iSCSI target name lt iscsi target name and either the TSIH lt TSIH gt of the session or the session s ISID Qualifier ISID Qual and the targe s IP address Target IP Supported By Linux Solaris VMware ESX and Windows Syntax TargetLogout MAC Address iscsi target name TSIH ISID Qual Target 1P gt gt Parameters MAC Address The MAC address of the UCNA port iscsi target name The target s iSCSI name enclosed in quotes string length 11 255 TSIH The TSIH value of the session The possible values are 1 65535 ISID Qual The ISID qualifier of the session The possible values are 0 65535 Target IP The target s IP address UpdateiSNSServer This command updates the configured iSNS server This command requires the server IP Server IP and port number Port of the iSNS server to be available to respond to the iSNS requests Supported By Linux Solaris VMware ESX and Windows Syntax UpdateiSNSServer MAC Address Server IP Port Parameters MAC Address The MAC address of the UCNA port Server IP IP address of the iSNS server to configure Port Port number of the iSNS server to configure value 1024 65535 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 96 DE EMULEX LUN Masking Commands LUN Masking Commands Notes e Supported for FC FCoE ports only e Linux does not supp
76. et to temporary or global values using the T and G flags respectively must be read using the GetDriverParams command to view the current value of the parameter The GetDriverParamsGlobal command returns only permanently set driver parameter values Additionally if temporary and global values have been set for one or more driver parameters the SaveConfig command must be run with the N flag using the N flag is analogous to the GetDriverParams command to force the driver parameter values for the specified adapter to be saved Inaccurate values may be saved if the G flag is used for this command e The DriverConfig and SetDriverParamDefaults commands are not supported for Solaris OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 68 Driver Parameter Commands DriverConfig This command sets all driver parameters to the values in the dpv file type The dpv file s driver type must match the driver type of the host platform adapter Supported By Linux VMware ESX and Windows Syntax DriverConfig WWPN FileName Flag Parameters WWPN The WWPN of the adapter FileName The name of the dpv file which is stored in the Emulex Repository directory Flag G lt Make change global all adapters on this host N lt Make change non global adapter specific GetDriverParams This command shows the name and values of ea
77. ger CLI in Windows through the control panel 1 In Windows 2008 and Windows 2008 R2 select Start gt Control Panel gt Programs gt Uninstall a Program 2 If present select Emulex Common SAN Management version and click Remove or Uninstall Click Yes OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 2 Installing and Uninstalling the CLI 21 DE EMULEX Starting and Stopping Daemon Processes The Emulex Common SAN Management components are removed from the system 3 Select Emulex OCManager CLI version and click Remove or Uninstall Uninstalling through the Command Line To uninstall the OneCommand Manager CLI in Windows through the command line 1 Change to the appropriate uninstall directory cd Install Location gt Emulex Util Uninstall 2 Type uninstall OCManager Core bat Starting and Stopping Daemon Processes Linux and Solaris On Linux machines you can stop and start the OneCommand Manager daemon processes using the stop ocmanager On Solaris machines use the start ocmanager script These are found in the following OneCommand Manager installation directory e Linux usr sbin ocmanager e Solaris opt ELXocm There are three basic daemon processes included with OneCommand Manager installations that are affected by these scripts They are e elxhbamgrd Remote management daemon which services requests from OneCommand Manager clients running on remote h
78. gt lt Subnet Mask gt lt Gateway gt Parameters MAC Address MAC address of the UCNA port Dest IP Address Destination IP address to add to the route table Subnet Mask Subnet Mask to add to the route table Gateway Gateway to add to the route table AddTarget This command adds a target to the list of targets seen by the initiator and logs into the target once it has been successfully created This command requires that you specify a valid target IP lt Target_IP gt port number lt Port gt and iSCSI name lt iscsi_target_name gt If you do not specify the remaining options these options are set to their default values When you set the authentication method lt Auth gt to a value other than 0 you must set additional parameters Each string should be enclosed in quotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser e If you set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd AddTarget 00 11 22 33 44 55 192 168 1 1 8000 iscsitarget Auth 1 TgtCHAPName TargetSecretl e If you set the authentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd AddTarget 00 11 22 33 44 55 192 168 1 1 8000 iscsitarget Auth 1 TgtCHAPName TargtSecretl InitCHAPName InitialSecretl Supported By Linux Solaris VMware ESX and Windows Sy
79. gt vname Parameters physical WWPN The 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 This command deletes the virtual port specified by a physical and virtual WWPN Supported By Linux Solaris and Windows Syntax DeleteVPort lt physical WWPN gt lt virtual WWPN gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 116 DE EMULEX Virtual Port VPort Commands Parameters physical WWPN The WWPN of the adapter virtual WWPN The WWPN of the virtual port EnableSRIOV This command enables or disables single root I O virtualization SR IOV on a specified NIC port that is physical function Supported By Linux Solaris VMware ESX and Windows Syntax EnableSRIOV MAC 0 1 Parameters MAC The MAC address of the port 011 0 lt Disables SR IOV 1 Enables SR IOV Example The following command enables SR IOV on NIC physical function with MAC address 00 00 c9 12 34 56 hbacmd EnableSRIOV 00 00 c9 12 34 56 1 ListVFunctions This command lists the virtual functions on a specified NIC port that is physical function Supported By Linux Solaris VMware ESX and Windows Syntax ListVFunctions lt MAC gt Parameters MAC The MAC addr
80. he adapter authenticates to the switch 2 lt Remote password used by the adapter when the switch authenticates to the adapter Cpt Current password type 1 ASCII 2 Hex binary 3 Password not yet defined Cpw Current password value OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions B4 Boot Commands Npt New password type 1 ASCII 2 Hex binary Npw New password value Boot Commands EnableBootCode This command is used to perform either of the following e Enable or disable network boot for OneConnect adapter UCNA NIC ports If network boot is being enabled it is necessary to select the specific network boot type The supported network boot types are PXE Preboot Execution Environment and iBFT iSCSI Boot Firmware Table Note that iBFT is not supported on all UCNA types e Enable disable the boot code for an FC adapter port If the boot code is disabled on the FC adapter the adapter does not boot from the SAN regardless of the value for the EnableBootFromSan boot parameter If the boot code is enabled on the FC adapter the adapter boots from the SAN if the EnableBootFromSan parameter is also enabled Supported By Linux Solaris VMware ESX and Windows Syntax EnableBootCode lt WWPN NIC MAC gt lt Flag gt lt NetworkBootMethod gt Parameters WWPN World Wide Port Name of FC port NIC MAC MAC address of the
81. hentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd TargetLogin 00 11 22 33 44 55 iscsitarget Auth 2 TgtChapName TargetSecretl InitCHAPName InitialSecretl Supported By Linux Solaris VMware ESX and Windows Syntax TargetLogin MAC Address lt iscsi target name target portal ip lt port gt ImmediateData lt 0 1 gt HeaderDigest lt 0 1 gt DataDigest lt lt 0 1 gt Auth lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret Parameters MAC Address The MAC address of the UCNA port iscsi target name The target s iSCSI name enclosed in quotes string length 11 255 Port The port number of the target portal The possible values are 1024 65535 ImmediateData 0 2 No 1 lt Yes default HeaderDigest 0 lt None default 1 lt CRC32C DataDigest 0 lt None default 1 CRC32C Auth 0 None default 1 One Way CHAP 2 Mutual CHAP TgtCHAPNam The Target CHAP name enclosed in quotes string length 1 255 TgtSecret The Target Secret enclosed in quotes string length 12 16 InitCHAPName The Initiator CHAP name enclosed in quotes string length 1 255 InitSecret The Initiator Secret enclosed in quotes string length 12 16 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 95 DE EMULEX iSCSI Commands TargetLogout This command logs out of a targ
82. ifier of the session value 0 65535 Target IP The Target s IP address ImportiSCSI This command imports iSCSI targets from a file to the iSCSI ports on the host Supported By Linux Solaris and Windows Syntax ImportiSCSI Import File clean Parameters Import File The name of XML file containing import information that was generated by the ExportiSCSI command see ExportiSCSI on page 82 clean Erases entire iSCSI configuration on all iSCSI ports before importing targets Note This command fails if the system is booted from an iSCSI target Example In this example the command imports the iSCSI targets found in the targets xml file to the iSCSI ports found on the host and erases the iSCSI configuration including targets of all iSCSI ports on these host before importing the targets hbacmd importiscsi targets xml clean The example output All existing targets have been removed Added target iqn 2006 01 com openfiler target121 000 0n port 00 00 c9 be 1a 24 Added target iqn 2006 01 com openfiler target121 001 0n port 00 00 c9 be 1a 24 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 85 DE EMULEX iSCSI Commands Added target ign 2006 0l com openfiler targetl22 000 on port 00 00 c9 2f 45 1b Added target ign 2006 0l com openfiler targetl22 001 on port 00 00 c9 2f 45 1b iSCSIPing This command issues ICMP echo reguests to a target Sup
83. igest lt 0 1 gt Auth lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret Parameters MAC Address Target IP Port ImmediateData HeaderDigest DataDigest Auth TgtCHAPNam TgtSecret InitCHAPName InitSecret The MAC address of the UCNA port The IP address of the target portal The port number of the target portal value 1024 65535 0 7 No 1 lt Yes default 0 lt None default 1 CRC32C 0 None default 1 CRC32C 0 None default 1 One Way CHAP 2 Mutual CHAP The Target CHAP name enclosed in quotes string length 1 256 The Target Secret enclosed in quotes string length 12 16 The Initiator CHAP name enclosed in quotes string length 1 256 The Initiator Secret enclosed in quotes string length 12 16 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 92 DE EMULEX iSCSI Commands ShowARPTable This command shows the current ARP table for the specified port Supported By Linux Solaris VMware ESX and Windows Syntax ShowARPTable MAC Address Parameters MAC Address The MAC address of the UCNA port ShowiSNSServer This command shows the currently configured Internet Storage Name Server This command also indicates whether or not iSNS discovery is enabled Supported By Linux Solaris VMware ESX and Windows Syntax ShowiSNSServer MAC Address Parameters MAC Address
84. ill not manage vNIC mode OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 111 Universal Multichannel UMC Commands UmcEnable This command enables or disables UMC at the adapter level A system reboot is required to make the change take effect Supported By Linux Solaris VMware ESX and Windows Syntax hbacmd UmcEnable WWPN MAC Address lt 0 1 gt Parameters WWPN WWPN of the FCoE function on the physical port MAC Address MAC address of any NIC function on the adapter port 0 Disable UMC 1 Enable UMC Example gt hbacmd UmcEnable 00 00 c9 bb cc aa 1 UmcEnableChanLink This command enables or disables each UMC channel s logical link state A system reboot is not required to make the change take effect when UMC is enabled Supported By Linux Solaris VMware ESX and Windows Syntax UmcEnableChanLink WWPN MAC Address C0 C1 C2 C3 Parameters WWPN WWPN of the FCoE function on the physical port MAC Address MAC address of any NIC function on the adapter port co UMC channel 0 logical link state value 1 enable 0 disable C1 UMC channel 1 logical link state value 1 enable 0 disable C2 UMC channel 2 logical link state value 1 enable 0 disable G3 UMC channel 3 logical link state value 1 enable 0 disable Example gt hbacmd UmcEnableChanLink 00 00 c9 bb cc aa 10 1 1 OneCommand Manager Command
85. imCred SetPfcThrottle TargetMapping Persistent Binding Commands AllNodeInfo BindingCapabilities BindingSupport PersistentBinding RemoveAllPersistentBinding RemovePersistentBinding SetBindingSupport SetPersistentBinding Personality Management Commands ShowPersonalities ChangePersonality Universal Multichannel Commands UmcEnable UmcEnableChanLink UmcGetParams UmcSetBw UmcSetLPVID Virtual Port VPort Commands CreateVPort DeleteVPort EnableSRIOV ListVFunctions ListVPorts VPortTargets ListVMs WWN Management Commands ChangeWWN GetWWNCap ReadWWN RestoreWWN Example 2 This help command example shows the details for the SetDCBParam command hbacmd help setdcbparam The example output SetDCBParam WWPN MAC Param Value WWPN World Wide Port Name of FCoE Port MAC MAC address of iSCSI or NIC port Param Parameter Name Value Parameter Value Note 1 For FCoEPriority and iScsiPriority the valid range is 0 to 7 A single priority must be specified 2 For the following parameters the valid values are 0 and 1 DcbxState DcbxMode TxState RxState TxPortDesc TxSysDesc TxSysName TxSysCap PfcEnable PfcPriority PfcPriority comma separated list where multiple PFC priorities supported Specifying defaults for the Param argument sets all DCB parameters including Priority Groups to their default values OneCommand Manager Command Line Interface Version 6 2 Us
86. ing I O activity The dump files created are text files txt extension and binary files The extension for binary files depends on the adapter type e OneConnect UCNAs Enhanced FAT Dump edf extension e OneConnect UCNAs Core Dump core extension e 16 Gb HBAs bin extension e Legacy and LightPulse adapters dmp extension DeleteDumpFiles This command deletes all diagnostic dump files for the adapter Supported By Linux Solaris VMware ESX and Windows Syntax DeleteDumpFiles lt WWPN MAC gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 71 Dump Commands Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port Dump This command creates a diagnostic dump file in the HbaCmd dump file directory Note In some cases a core dump can be performed on an inoperative OneConnect UCNA To view inoperable UCNAs on the local host use the List HBAs down command See ListHBAs on page 102 Note For OneConnect UCNAs if the core optional parameter is not specified an Enhanced FAT Dump is performed by default Supported By Linux Solaris VMware ESX and Windows Syntax Dump WWPN MAC core Options Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port core Perform a core dump on a OneConnect UCNA Options For available Options contact Emulex technical s
87. is the VMware ESX version It is 41 for VMware ESX 4 1 e kit version represents the complete version e arch is x86 64 and is applicable to x64 or x86 architectures 3 Change to the directory where you copied the rpm file OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 2 Installing and Uninstalling the CLI 18 DC EMULEX VMware ESX ESXi 4 Install the rpm file by typing rpm Uvh elxocmcore esxNN kit version gt lt arch gt rpm e Seethe VMware ESX version kit version and arch parameter descriptions in step 2 The rpm contents are installed in usr sbin ocmanager The OneCommand Manager CLI is also located in this directory Installing in a VMware ESX Server with an Existing HBAnyware or OneCommand Manager CLI To install the OneCommand Manager CLI 1 Install the rpm file f rpm Uvh elxocmcore esxNN kit version gt lt arch gt rpm e NN is the VMware ESX version It is 41 for VMware ESX 4 1 e kit version represents the complete version e arch is x86 64 and is applicable to x64 or x86 architectures Uninstalling in a VMware ESX Server To uninstall the OneCommand Manager CLI from a VMware ESX server 1 Log in to the ESX server COS 2 Type rpm e elxocmcore esxNN lt kit version gt e NN is the VMware ESX version It is 41 for a VMware ESX 4 1 Uninstalling an Older HBAnyware or a OneCommand Manager Kit in a VMware ESX Serv
88. led command disables an FC port the adapter must be reset to activate the new setting Supported By Linux Solaris VMware ESX and Windows Syntax SetPortEnabled lt WWPN MAC gt lt PortEnable gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port PortEnabled The port enabled state 0 lt Disabled 1 lt Enabled Authentication Commands Note Authentication commands are supported on FC adapter ports only These command returns the list of WWPNs that have an authentication connection configuration with the specified adapter AuthConfigList Supported By Linux Solaris and Windows Syntax AuthConfigList lt WWPN gt Parameters WWPN The WWPN of the adapter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 51 Authentication Commands DeleteAuthConfig This command deletes the authentication configuration on the adapter Supported By Linux Solaris and Windows Syntax DeleteAuthConfig WWPN1 lt WWPN2 gt PasswordType Password Parameters WWPN1 The WWPN of the adapter WWPN2 Use ff ff ff ff ff ff ff ff for a switch or use the WWPN for a target PasswordType 1 ASCII 2 Hex binary 3 gt Password not yet defined Password The current password value GetAuthConfig This command retrieves the authentication configuration for the adapter Supported By
89. m This command configures the DCB and Link Layer Discovery Protocol LLDP settings on the OneConnect adapter Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 58 DCB Commands Syntax SetDCBParam lt WWPN MAC gt lt Param gt lt Value gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port Param The parameter name See the following DCB Settings for lt Param gt and lt Value gt and LLDP Settings for lt Param gt and lt Value gt sections Value The parameter value See the following DCB Settings for lt Param gt and lt Value gt and LLDP Settings for lt Param gt and lt Value gt sections DCB Settings for lt Param gt and Value lt Param gt DCBXState DCBXMode PFCEnable Description and lt Value gt The Data Center Bridging Exchange protocol DCBX state 0 lt Disabled 1 Enabled The DCBX mode DCB or CIN 0 CIN 1 2 DCB The lt DCBXmode gt also configures the FCoE Initialization Protocol FIP mode If lt DCBXmode gt DCB FIP is enabled If lt DCBXmode gt lt CIN FIP is disabled Flow control in both directions transmit and receive 0 lt Disabled 1 Enabled FCoEPriority This parameter is applicable for FCoE adapters only A single iSCSIPrio PFCPriori defaults priority m
90. m Dump e For VMware ESX The dump directory set using the SetDumpDirectory command Supported By Linux Solaris VMware ESX and Windows Syntax GetDumpFile WWPN MAC filename Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port filename The name of the dump file to be copied from the remote host Example hbacmd h 10 192 193 154 m cim u root p Swamiji001 n root emulex getdumpfile BG HBANYWARE 15 10000000c97d1314 20100120 032820421 dmp OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 2G EMULEX Dump Commands s GetDumpFileNames This command gets the names of the files in the remote host s dump directory Supported By Linux Solaris VMware ESX and Windows Syntax GetDumpFileNames WWPN MAC Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port Example hbacmd h 10 192 193 154 m cim u root p Swamiji001 n root emulex getdumpfilenames GetRetentionCount This command shows the maximum number of diagnostic dump files to keep Supported By Linux Solaris VMware ESX and Windows Syntax GetRetentionCount WWPN MAC Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port SetDumpDirectory Note This command sets the dump directory for the VMware ESX ESXi hosts only For the Dump feature to work on a Vmware ESX host the dump dire
91. mand For VMware ESX ESXi using the CIM interface hbacmd m cim u lt username gt p lt password gt n lt lt namespace gt addhost lt IP Address gt If the username password and namespace are not specified see Default CIM Credentials on page 28 Parameters host address The IP address using the IPv4 or IPv6 format or the host name IP Address The IP address of the host CnaClearEventLog Note Supported for OneConnect adapters only OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 2 EMULEX Miscellaneous Commands ii This command clears the UCNA event log specified by the WWPN or MAC address Supported By Linux VMware ESX and Windows Syntax CnaClearEventLog WWPN MAC Parameters WWPN The WWPN of the UCNA FCoE port MAC The MAC address of the NIC or iSCSI port of the UCNA CnaGetEventLog Note Supported for OneConnect adapters only This command shows the UCNA event log specified by the WWPN or MAC address Supported By Linux VMware ESX and Windows Syntax CnaGetEventLog lt WWPN MAC gt Parameters WWPN The WWPN of the adapter port MAC The MAC address of the NIC or iSCSI port Download Loads the firmware image to the FC or UCNA port specified by the WWPN or MAC address Notes e For 16 Gb HBA firmware downloads OneCommand Manager only accepts grp files e For OneConnect and 16 Gb HBAs while the WWP
92. mbership that is a comma separated list of PGID priorities ranging from 0 7 Each set of priorities for a group must be separated by a space All priorities 0 7 must be assigned to some PGID Example hbacmd h 10 192 203 151 m cim setdcbpriority 10 00 00 00 c9 3c 7 88 3 0 1 2 4 5 6 7 3000000 Diagnostic Commands EchoTest This command runs the echo test on adapters Notes e This command is not supported for OneConnect adapters e Support for remote adapter is TCP IP access only The EchoTest command fails if the target WWPN does not support the ECHO ELS command Supported By Linux Solaris VMware ESX and Windows Syntax EchoTest WWPN Source WWPN Destination Count StopOnError Pattern Parameters WWPN Source The WWPN of the originating adapter WWPN Destination The WWPN of the destination echoing adapter Count The number of times to run the test Use 0 to run the test indefinitely StopOnError Checks if the test must be halted on error 0 No halt 1 Halt on error Pattern Hexadecimal data pattern to transmit up to 8 characters GetBeacon This command shows the current beacon state either on or off Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 62 Diagnostic Commands 2G EMULEX Syntax GetBeacon WWPN MAC Parameters WWPN The WWP
93. meters for this command to make any changes to the target portal s login properties OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 91 iSCSI Commands These properties are used when discovering the targets on the target portal The targets inherit the target portal s properties when they are discovered Targets already discovered do not inherit the updated properties only newly discovered targets inherit the properties When you set the authentication method Auth to a value other than 0 you must set additional parameters Each string should be enclosed in quotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser e If you set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd SetTPLoginProperties 00 11 22 33 44 55 10 192 1 1 5050 Auth 1 TgtChapName TargetSecreti e If you set the authentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd SetTPLoginProperties 00 11 22 33 44 55 10 192 1 1 5050 Auth 2 TgtChapName TargetSecretl InitCHAPName InitialSecretl Supported By Linux Solaris VMware ESX and Windows Syntax SetTPLoginProperties lt MAC Address gt lt Target IP gt lt Port gt ImmediateData lt 0 1 gt HeaderDigest lt lt 0 1 gt DataD
94. mmary Help Commands Help lt Group gt Group AdapterLicense Attributes Authentication Boot CEE DCB Diagnostics DriverParams Dump eAdapterManagement eLunManagement eLunMigration FCoE iSCSI KeyManagerClientManagement LUNMasking Miscellaneous PersistentBinding Personality PolicyManagement OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX ServerKeyManagement 5 CLI Client Command Descriptions Help 43 Adapter Licens Management Commands ShowLicenseAdapterID Attributes Commands HbaAttributes PortAttributes SetPhyPortSpeed SetPortEnabled Authentication Commands AuthConfigList DeleteAuthConfig InitiateAuth SetAuthConfig Boot Commands EnableBootCode GetBootParams CEE C Commands LP21000 series only EDownload GetCE SetCE I EParams DCB Ge Commands cDCBParams SetDCBParam Diagnostic Commands EchoTest GetBeacon PostTest GetXcvrData PciData SetBeacon Driver Parameter Commands DriverConfig GetDriverParams SetDriverParam Dump Commands DeleteDumpFiles Dump GetRetentionCount FCoE Commands GetFIPParams SetFIPParam iSCSI Commands AddARPTableEntry CleariSNSServer ExportiSCSI AddRouteTableEntry DelARPTableEntry GetInitiatorProper ties GetNetworkConfiguration ListSessions T
95. mpbDirectory SetlnitiatorProperties SetiSCSIBoot SetLunMask SetNetworkConfiguration SetPassword SetPersistentBinding SetPfcThrottle SetTargetLoginProperties SetTargetProperties SetTPLoginProperties ShowARPTable ShowiSNSServer ShowRouteTable OneCommand Manager Command Line Interface Version 6 2 User Manual Description P008699 01A Rev A 123 2G EMULEX Table A 1 OneCommand Manaser Error Messages Continued Appendix A OneCommand Manager Error Messages Error Message Not supported for Target Mode Adapters continued Command s ShowTarget ShowTargetPortal TargetLogin TargetLogout TargetMapping TDRTest UmcEnable UmcEnableChanLink UmcGetParams UmcSetBw UmcSetLPVID UpdateiSNSServer Version VPortTargets Wakeup OneCommand Manager Command Line Interface Version 6 2 User Manual Description P008699 01A Rev A 124
96. n To install the OneCommand Manager CLI run the installation exe file for a core Windows driver kit that does not include the OneCommand Manager GUI and follow the installer directions Use the following syntax for the installation executable file elxocmcore windows arch kit version exe e arch is either x64 or x86 e kit version represents the complete kit version For example at the command prompt type elxocmcore windows x64 5 0 2 14 1 exe Note For Itanium 64 systems install the x86 kit Unattended Installation To install the OneCommand Manager CLI in Windows unattended use the following procedure 1 From the Emulex website download the x64 or x86 OneCommand Manager Core Kit installation file to your system 2 Usethe following syntax for the installation executable file elxocmcore windows arch kit version exe option e arch is either x64 or x86 e kit version represents the complete kit version e option is q or q2 The kit is activated with this switch o The q option displays some progress reports o The q2 switch does not display progress reports For example at the command prompt type elxocmcore windows x64 5 01 00 10 4 exe g2 Uninstalling in Windows There are two ways to uninstall the OneCommand Manager CLI in Windows e Through the control panel e Through the command line Uninstalling through the Control Panel To uninstall the OneCommand Mana
97. n Existing OneCommand CLI Kit on page 13 Uninstalling in Linux To uninstall the OneCommand Manager CLI in Linux 1 Loginas root 2 Do one of the following e Run the uninstall ocmanager sh script located in usr sbin hbanyware scripts e Run the uninstall sh script located in the installation tar file Uninstalling Older HBAnyware Kits in Linux Uninstalling an Older HBAnyware Core Kit 1 Runthe following command to remove the core kit rpm e elxlinuxcorekit Uninstalling an Older HBAnyware Enterprise Kit 1 Doone ofthe following e Run the uninstall script located in usr sbin hbanyware scripts to remove the enterprise kit OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2 Installing and Uninstalling the CLI 16 DE EMULEX Solaris Solaris e Runthe uninstall script located in the tar file to remove the enterprise kit If the HBAnyware Security Configurator is installed you must uninstall it before uninstalling the HBAnyware configuration utility You must use the uninstall script that shipped with the version of OneCommand Security Configurator you want to remove and proceed to step 2 If the Security Configurator is not installed proceed to step 3 If the HBAnyware Security Configurator is installed follow these steps a Logonas root Change to the directory containing the tar file Extract the tar file using the tar xvf command Change to the newly c
98. nd CLI Kit 14 Updating Preserving Existing Settings 15 Performing a Clean Install Removing Existing Settinss 15 Uninstalling iri LIAUX sie oerte rrr erg e ean bene vi 15 Uninstalling Older HBAnyware Kits in LINUX eese nnn 15 Solaris ai ee nei ea ka EUR MN red TE ea a ee E CRUS 16 Installing 1n SOLAN Si s ka sln ov ek ka o ska o bil 16 Urimistal ng in Solaris asa a okn dp A nd NE on nn 17 VMware ESX E KXI I 17 Installing in a New VMware ESX Server a nnne nnne 17 Installing in a VMware ESX Server with an Existing HBAnyware or OneCommand Manager CLI esee esee 18 Uninstalling in a VMware ESX Server s s4s04i460oo e ses od sva lo do saves asses co p eo akne 18 Uninstalling an Older HBAnyware or a OneCommand Manager Kit in a VMware ESX Server eese esse ee n a tsetseo s Ereet oTi e vv a 18 Installing the CIM Provider for VMware ESXi Hosts 19 WINDOWS ee 19 Installing in WINGOWS sa sasanka non hon EEEE Gau a lon 19 Attended installation sis eire eee prep ieee e ERR ERR e ER va E e e E e e pne 20 Unattended Installation 2 eere re eee arre novi rane Qe ee aye ee Posee Vasa Vna e rede 20 Uninstalling in WIndOWSs errores e Era ky Era a r
99. neCommand Manager Error Messages Appendix A OneCommand Manager Error Messages Table A 1 OneCommand Manager Error Messages Error Message Not supported Command s ChangeWWN Description If a volatile change is requested on an adapter that does not support volatile WWNs it returns a not supported error See ChangeWWN on page 118 ERROR HBACMD GetDumpFile RM GetDumpFile call failed 2 ERROR 2 Not Supported GetDumpFile Dump files are copied from the Dump directory of the remote host to the Dump directory of the local host Specifying a local port identifier for this command returns an error since the source and destination directory are the same See GetDumpFile on page 72 Error 431 Cable length required for force mode and interface type OneCommand Manager Command Line Interface Version 6 2 User Manual SetPhyPortSpeed This error is displayed when a length value is not included when the mode is set to 2 Example hbacmd setphyportspeed 00 00 c9 a9 41 88 2 100Mb See Examples on page 49 P008699 01A Rev A 2G EMULEX Appendix A OneCommand Manager Error Messages 122 Table A 1 OneCommand Manager Error Messages Continued Error Message Not supported for Target Mode Adapters Command s AddARPTableEntry AddHost AddRouteTableEntry AddTarget AddTargetPortal AllNodelnfo AuthConfigList BindingCapabilities BindingSupport Ch
100. notice Emulex assumes no responsibility for its use nor for any infringements of patents or other rights of third parties that may result Periodic changes are made to information contained herein although these changes will be incorporated into new editions of this manual Emulex disclaims any undertaking to give notice of such changes Emulex 3333 Susan Street Costa Mesa CA 92626 OpenSolaris DHCHAP Notice Contains portions of Covered Software subject to the Common Development and Distribution License CDDL Version 1 0 Such portions of Covered Software in Source Code form may be obtained from the website www opensolaris org or by contacting online support from the website www emulex com Derived from the RSA Data Security Inc MD5 Message Digest Algorithm Copyright C 1991 2 RSA Data Security Inc Created 1991 AII rights reserved OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A Table of Contents 2G EMULEX Table of Contents Ts Introductions rv cT 9 OVE VIEW m E 9 Compatibility Peer D ai 10 AbbreviatioDs csexsoa ker ue oUUEX aaa ob DER oo on 10 2 Installing and Uninstalling the CLI eeeeeeeeeeee eee eee eene 13 El f 13 Gd dE 13 Installing in Linux Without an Existing OneCommand CLI Kit 13 Installing in Linux With an Existing OneComma
101. ntax AddTarget lt MAC Address gt lt Target IP gt lt Port gt lt iscsi target name gt ImmediateData lt 0 1 gt HeaderDigest lt lt 0 1 gt DataDigest lt 0 1 gt Boot 0 1 Login lt 0 1 gt Auth lt 0 1 2 gt TgtCHAPName TgtSecret InitCHAPName InitSecret Parameters MAC Address The MAC address of the UCNA port Target IP IP address of the target portal Port Port number of the target portal value 102 65535 iscsi target name Target s iSCSI name enclosed in quotes string length 11 255 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX ImmediateData HeaderDigest DataDigest Boot Login Auth TgtCHAPNam TgtSecret InitCHAPName InitSecret AddTargetPortal 5 CLI Client Command Descriptions 79 iSCSI Commands 0 lt No 1 Yes default 0 lt None default 1 CRC32C 0 lt None default 1 CRC32C This optional parameter specifies whether the added target is a boot device 0 Added target is not a boot device 1 Added target is a boot device This optional parameter specifies whether to log in to the target after it has been added 0 Do not log in to the target 1 Specify log in to the target If the Login parameter is omitted the default is 1 0 None default 1 One Way CHAP 2 Mutual CHAP Target CHAP name enclosed in quotes string length 1 256 Target Secret enclosed in quotes string length
102. ort the GetLunUnMaskByHBA GetLunUnMaskByTarget and SetLunMask commands e Solaris and VMware ESX do not support the GetLunUnMaskbyHBA GetLunUnMaskbyTarget RescanLuns and SetLunMask commands GetLunList This command queries for the presence of any masked LUNs Supported By Linux Solaris and Windows Syntax GetLunList HBA WWPN Target WWPN Option Parameters HBA WWPN The WWPN of the adapter Target WWPN The WWPN of the target Option 0 lt Get information from the driver 1 lt Get information from the configuration GetLunUnMaskByHBA This command queries for the presence of any unmasked LUNS by adapter Supported By Solaris and Windows Syntax GetLunUnMaskByHBA HBA WWPN Option Parameters HBA WWPN The WWPN of the adapter Option 0 lt Get information from the driver 1 lt Get information from the configuration OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 97 DE EMULEX LUN Masking Commands GetLunUnMaskBy Target This command queries for any unmasked LUNs by target Supported By Solaris and Windows Syntax GetLunUnMaskByTarget lt HBA WWPN gt lt Target WWPN gt lt Option gt Parameters HBA WWPN The WWPN of the adapter Target WWPN The WWPN of the target Option 0 lt Get information from the driver 1 lt Get information from the configuration RescanLuns This command rescans LUNs to
103. orts on the specified physical port Leaving the physical WWPN parameter blank lists all virtual ports on all manageable hosts that support virtual ports OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 118 WWN Management Commands Supported By Linux Solaris VMware ESX and Windows Syntax ListVPorts physical WWPN gt Parameters physical WWPN The WWPN of the adapter VPortTargets This command lists targets visible to the specified virtual port Supported By Linux Solaris VMware ESX and Windows Syntax VPortTargets physical WWPN virtual WWPN gt Parameters physical WWPN The WWPN of the adapter virtual WWPN The WWPN of the virtual port WWN Management Commands Notes e Supported for FC FCoE adapter ports only e 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 ChangeWWN This command changes the 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 Notes e When a volatile change is supported a reboot is required to activa
104. ost machines e mili2d MILI daemon that routes major portions of the local OneCommand Manager client UCNA management requests e elxdiscoveryd Discovery daemon responsible for maintaining all discovery data remote and local for OneCommand Manager clients running on the local machine The elxhbamgrd and mili2d processes start at system boot time The elxdiscoveryd process starts whenever the OneCommand Manager GUI process first runs on the host machine Additionally if the WebLaunch component of OneCommand Manager is installed the daemon process rmiserver starts at system boot time The start weblaunch and stop weblaunch scripts start and stop this daemon VMware ESX Server Starting Daemon Processes To start the OneCommand Manager daemon in VMware ESX 4 1 1 Loginas root 2 Change to the OneCommand Manager directory OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A ma 5 2 Installing and Uninstalling the CLI 22 DC EMULEX Starting and Stopping Daemon Processes cd usr sbin ocmanager 3 Start the OneCommand Manager daemon start ocmanager Stopping Daemon Processes To stop the OneCommand Manager daemon in VMware ESX 4 1 1 Loginas root 2 Goto the OneCommand Manager directory cd usr sbin ocmanager 3 Stop the OneCommand Manager daemon stop ocmanager OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A ys 3 Updating to the One
105. perating system CIM interface and some CIM provider versions Table 5 1 CLI Client Command Reference CIM Provider VMWare Command Linux Solaris ESX Windows CIM 3 0 3 1 3 2 3 4 4 3 5 Page AddARPTableEntry 77 AddHost Y Y Y Y 98 AddRouteTableEntry Y Y Y Y 77 AddTarget Y Y Y Y 78 AddTargetPortal Y Y Y Y 79 AllNodelnfo Y Y Y Y Y 105 AuthConfigList Y Y Y 50 BindingCapabilities Y Y 105 BindingSupport Y Y 106 ChangePersonality Y Y Y Y 109 ChangeWWN Y Y Y Y v v 118 CleariSNSServer Y Y Y Y 80 CnaClearEventLog Y Y Y 98 CnaGetEventLog Y Y Y 99 CreateVPort Y Y Y 115 DelARPTableEntry Y Y Y Y 81 DeleteAuthConfig Y Y Y 51 DelRouteTableEntry Y Y Y 81 DeleteDumpFiles Y Y Y Y 70 DeleteVPort Y Y Y 115 DiscoveriSNSServer Y Y Y Y 81 Download Y Y Y Y Y Y Y Y Y Y 99 DriverConfig Y Y Y 68 Dump Y Y Y Y Y Y Y Y v 171 EchoTest Y Y Y Y 61 EnableBootCode Y Y Y Y Y 54 EnableSRIOV Y Y Y Y 116 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Table 5 1 CLI Client Command Reference Continued 5 CLI Client Command Descriptions 38 CIM Provider VMWare Command Linux Solaris ESX Windows CIM 3 0 3 1 3 2 3 4 4 3 5 Page ExportSANInfo Y Y Y Y 100 ExportiSCSI Y 82 GetBeacon Y Y Y Y
106. ported By Linux Solaris VMware ESX and Windows Syntax iSCSIPing lt MAC Address gt lt IP Address gt Parameters MAC Address The MAC address of the UCNA port IP Address IP address of target to send ICMP echo reguest ListSessions This command lists all the sessions on a specified target The command gathers the information from the iSCSI target indicated by the lt iscsi target name parameter Supported By Linux Solaris VMware ESX and Windows Syntax ListSessions MAC Address iscsi target name Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in quotes The string length is 11 255 Remove Target This command removes the target with the specified iSCSI target name lt iscsi target name Supported By Linux Solaris VMware ESX and Windows Syntax RemoveTarget lt MAC Address gt lt iscsi target name gt OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 86 DE EMULEX iSCSI Commands Parameters MAC Address The MAC address of the UCNA port iscsi target name Target s iSCSI name enclosed in quotes The string length is 11 255 RemoveTargetPortal This command removes the SendTarget Portal containing the target IP Target IP and the port Port from the list of portals for the specified initiator Supported By Linux Solaris VMware ESX and Windows Syntax RemoveTarge
107. provides a description of the network entity in an alpha numeric format 0 lt Disabled 1 Enabled Transmit System Name provides the system s assigned name in an alpha numeric format 0 lt Disabled 1 Enabled Transmit System Capabilities 0 Disabled 1 Enabled 192 203 151 m cim u root p Swamiji001 n root emulex setdcbparam 00 00 09 30 f7 88 fcoepriority 3 SetDCBPriority This command sets the priorities for a priority group The values must be set according to the following rules 1 The priorities range from 0 to 7 2 The PGIDs range from 0 to 7 3 A priority can exist in only one priority group 4 All priorities must appear once in any of the eight priority groups PGO PG7 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions gt lt EMULEX DCB Commands 60 5 Each set of priorities for a group must be separated by a space 6 Specify multiple priorities for the same group by a comma separated list 7 To specify none use for the argument 8 The same priority values cannot be specified to different groups 9 All priorities 0 7 must be assigned to some PGID 10 Not all PGIDs must be assigned a priority 11 Not all adapters support two PFC priorities and eight priority groups For adapters if you exceed the PFC priorities or priority groups an error message appears The following rules are specific to FCoE adapters
108. pter details prerequisites and procedures for installing and uninstalling the OneCommand Manager CLI in the following operating systems Linux Solaris VMware ESX ESXi and Windows It also describes the procedure for starting and stopping daemon processes Linux Citrix Citrix is based on CentOS Linux however for the OneCommand Manager CLI Citrix is more comparable to VMware a hypervisor style server for managing virtual machines Citrix XenServer 5 6 SP2 and Citrix XenServer 6 0 operating systems contain the OneCommand Manager CLI application No additional installation is required Note Updated versions of OneCommand Manager CLI for Citrix XenServer are available as part of the Device Update Driver kit for Citrix XenServer 5 6 SP2 and Citrix XenServer 6 0 For the latest kit see the Emulex website Note The OneCommand Manager application Web Launch Interface is not supported on Citrix XenServer Installing in Linux Without an Existing OneCommand CLI Kit For new systems before installing the OneCommand Manager CLI install the specific Linux driver rpm file Note On RHEL 5 5 and later and RHEL 6 and later the OneCommand Core rpm file requires the Libnl library This library is not installed by default but can be obtained from the operating system distribution media e For i386 RHEL 5 5 RHEL 5 6 and RHEL 6 use the 32bit libnl library e For x86_64 RHEL 5 5 RHEL 5 6 and RHEL 6 use the 64bit libnl library e For ia
109. ram SetDriverParamDefaults SetFIPParam SetPhyPortSpeed SetPortEnabled SetRetentionCount Show AdapterLicenseFeatures ShowLicenseAdapterID ShowPersonalities Not Supported for Target Mode Adapters OneCommand Manager Command Line Interface Version 6 2 User Manual 4 CLI Client Command Usage Commands Supported in Target Mode Ports P008699 01A Rev A 33 5 4 CLI Client Command Usage 34 DE EMULEX Unsupported Commands per Operating System Unsupported Commands per Operating System For a list of all the supported commands see Table 5 1 CLI Client Command Reference on page 37 Linux RHEL SLES and Oracle RHEL SLES and Oracle do not support the following CLI commands e BindingCapabilities e BindingSupport e GetCimCred e GetLunUnMaskByHBA e GetLunUnMaskByTarget e ListVMs e PersistentBinding e RemoveAllPersistentBinding e RemovePersistentBinding e SetBindingSupport e SetCimCred e SetDumpDirectory e SetLunMask e SetPersistentBinding Citrix Citrix acting as a hypervisor style server for OneCommand Manager CLI does not support the following CLI commands e AuthConfigList e BindingCapabilities e BindingSupport e CreateVPort e DeleteVPort e GetAuthConfig e GetAuthStatus e GetCimCred e GetElxSecInfo e GetLunList e GetLunUnMaskByHBA e GetLunUnMaskByTarget e InitiateAuth OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Solaris Persistent
110. rameters omit the BootDev keyword and value otherwise an error is reported e When changing boot device parameters for OpenBoot omit the BootDev keyword and value otherwise an error is reported e For boot device parameters for X86 or UEFI you must provide the BootDev keyword and value Supported By Linux Solaris VMware ESX and Windows Syntax SetBootParam WWPN Type Param lt Valuel gt BootDev lt Value2 gt Parameters WWPN The WWPN of the adapter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions gt lt EMULEX CEE Commands 36 Type Possible values are X86 OpenBoot or UEFI Param The parameter name Valuel The parameter value BootDev The boot device Value2 The boot device entry number 0 7 CEE Commands Three CEE commands are listed when you run the help command however the commands are only applicable for a discontinued product and should be ignored DCB Commands Note Data Center Bridging DCB commands are for DCB management of OneConnect adapters only This command shows the internal host PFC flag value and DCBX mode DCB version as well as the LLDP state for iSCSI FCoE and NIC UCNAs GetDCBParams This command shows the internal host PFC flag value and DCBX mode DCB version as well as the LLDP state for iSCSI FCoE and NIC UCNAs Supported By Linux Solaris VMware ESX and Windows Syntax Ge
111. reated directory 0 po s Run the uninstall script with the ssc parameter specified Type uninstall ssc Uninstall the HBAnyware utility and the Application Helper module a Logonas root Change to the directory containing the tar file Extract the tar file using the tar xvf command Change to the newly created directory Pan og Uninstall any previously installed versions Type uninstall Installing in Solaris Before installing the OneCommand Manager CLI install the appropriate driver e For FC FCoE management use the Solaris FC FCoE driver version 2 60 or later e For UCNA management use the Solaris OCE NIC driver version 1 0 or later Note If Emulex OneConnect UNCAs are installed on the system the NIC driver must be installed and reporting all NIC ports Otherwise the OneCommand Manager cannot manage the UNCAs To install the OneCommand Manager CLI in Solaris 1 2 Copy the OneCommand Manager core kit to a temporary directory on the system Untar the core kit by typing tar xvf elxocmcore solaris lt kit version gt tar Change to the newly created elxocmcore solaris lt kit version gt directory cd elxocmcore solaris lt kit version gt Run the install script and follow the instructions install OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 2 Installing and Uninstalling the CLI 17 2G EMULEX VMware ESX ESXi If any of the following are already
112. s ni s o r na o 105 Bindine Capabilitie8 RTT k ln on 105 BINGINGSUPPONE va kavni eh V oka klon Kn kk da VRAT TE UAR korok n 106 PersistentBInding zis ssn das zu ious yh vn david koni ikon va dovi VN rak sk l n 106 RemoveAllPersistentBinding 4 1 eee reet rr enr ryan nha Era a rr ana 106 RemovePersistentBinding ccccccceecccceeeeeeeeeeecceeeeeeeeeeeeeeeeessgaaneeeees 107 SetBindingSuppOTt sre 222 eene a a b zu kko kak Paga Saw vaa enka Pact 107 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A Table of Contents 8 2G EMULEX SetPersistentBinding ccccc cece cece cseeeeeeeeeeeeeeeeeeesssseeeeeeeeeeeeeeeesgeaaes 108 Personality Change COMMANGS ccececcccccccccccccccccccccccccccccccceceecccesssccees 109 EhahgsPersonallby use ove obe oo o don 109 ShowPersonalities a sn e eren 110 Universal Multichannel UMC Commands ceeeee eee eene 110 UmcEbnable iin ie pro novo vina e aT lv ERO P Ee vvn 111 UmcEnableChanLink esee e hehehe nnne 111 UmcGetbParams ies e ks Rh RR E E ERA NEN K v NER e SES Nas 112 Ume5etBW D deci 113 WMCSECLPVID M 114 Virtual Port VPort Commands 2 5 ee uana rRauRRRRRRRESERRERRARREEARERSRRERAXAERSENCAEE 115 CreateVPOFt iius osada eee du exe t Teis tec ERE Cu FERE RUE VR hl URS TRE ETE Se TUS 115 Del teVPOFLU i eere y e e
113. sage Overview The CLI Client component of the OneCommand Manager application provides access to the capabilities of the Remote Management RM library or the CIM interface from a console command prompt to get the management information The CLI Client is intended for use in scripted operations from within shell scripts or batch files The CLI Client is a console application named HbaCmd A single operation is performed by entering hbacmd followed by a CLI client command and its possible parameters at the command line For example hbacmd command parameters When the specified operation is completed the command prompt is displayed For a majority of commands the first parameter following the command is the WWPN or MAC address of the port that the command is to act upon CLI in Read Only Mode May Cause Error Message Note The CLI does not allow the execution of certain commands when it is configured for read only mode The following error message is returned if such a command is attempted Error Read only management mode is currently set on this host The requested command is not permitted in this mode HbaCmd Syntax Usage The following syntax rules and usage are applicable for the HbaCmd application e Parameters denoted within angle brackets lt gt are required e Parameters denoted within square brackets are optional e For Linux Solaris and VMware ESX which are case sensitive program names must be in lower
114. script of the OneCommand Manager application enterprise kit The install script executes an rpm update rpm U rpm to update the installed core kit to an enterprise kit Solaris To update from the OneCommand Manager CLI to the full featured OneCommand Manager application enterprise kit in Solaris 1 Download the OneCommand Manager application enterprise kit to a temporary directory on your system 2 Untar the OneCommand Manager application enterprise kit tar file tar xvf elxocm solaris kit version tar 3 Change to the newly created elxocm kit version directory cd elxocm solaris lt kit version gt 4 Run the install script and follow the instructions install OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 3 Updating to the OneCommand Manager Application Enterprise Kit 24 2G EMULEX Windows Windows To update from the OneCommand Manager CLI to the full featured OneCommand Manager application enterprise kit in Windows 1 From the desktop run the elxocm windows lt kit version gt exe file that contains the full application kit Running this executable file removes the OneCommand Manager CLI and installs a full featured version of the OneCommand Manager application that includes the CLI and the GUI OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2C EMULEX 4 CLI Client Command Usage 25 Overview 4 CLI Client Command U
115. sonalities lt WWPN MAC gt Parameters WWPN The WWPN of the UCNA MAC The MAC address of the NIC or iSCSI port Example For non ESXi hosts hbacmd ShowPersonalities 00 12 34 56 78 9A For ESXi hosts hbacmd h IP Address m cim u root p password n lt lt namespace gt showpersonalities 00 12 34 56 78 9A Universal Multichannel UMC Commands The adapter s physical ports provide a converged conduit for network and storage traffic Each channel has its own unique MAC address Each channel provides traffic management capabilities such as enabling and disabling sending and receiving traffic minium and maximum transmit rates and VLAN ID for untagged packets For additional information on UMC refer to the Emulex Universal Multichannel Reference Guide The CLI s UMC commands allow viewing of the UMC configuration enabling and disabling of the UMC at the adapter level and the modification of some of the channel properties Notes e Properties for all channels on a port can be viewed and modified with the UMC commands even when UMC is disabled This allows enabling and configuration of UMC on all channels and rebooting and running UMC without further configuration e Anolder channel management scheme known as vNIC or switch dependent mode may also be referred to as UMC UMC as described and managed by the CLI commands in this document for now only applies to UMC switch agnostic mode also known as vNIC2 The CLI w
116. ss gt of the UCNA port must be passed to each command as the first argument Some commands reguire values to be set in a format similar to option namezvalue Type the full option name or the abbreviated option name shown in Table 5 2 Option Names and enter the value The abbreviations are not case sensitive Table 5 2 Option Names Option Name Abbreviation Example Auth au au 1 DataDigest dd dd 1 DHCP dh dh 1 HeaderDigest hd hd 1 ImmediateData id id 1 Initiator_Alias ia ia initiator alias Initiator_Name in in initiator name Priority pr pr lt l VLAN ENABLED ve ve 1 VLAN ID vi vi 1 AddARPTableEntry This command adds an Address Resolution Protocol ARP table entry Supported By Linux Solaris VMware ESX and Windows Syntax AddARPTableEntry MAC Address Dest MAC Address Dest IP Address Parameters MAC Address The MAC address of the UCNA port Dest MAC Address The destination MAC address to add to the ARP table Dest IP Address The destination IP address to add to the ARP table AddRouteTableEntry This command adds a new route table entry to the route table of the specified port Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 78 DE EMULEX iSCSI Commands Syntax AddRouteTableEntry lt MAC Address gt lt Dest IP Address
117. stentBinding WWPN Scope lt BindType gt TargetId lt SCSIBus gt lt SCSITarget gt Parameters WWPN Scope BindType Targetid SCSIBus SCSITarget The WWPN of the adapter P Permanent binding survives reboot I Immediate binding B Binding is both permanent and immediate P Enable binding by WWPN N Enable binding by WWNN D Enable binding by D_ID If BindType P Target WWPN If BindType N Target WWNN If BindType D Target D ID The bus number of the SCSI device The target number of the SCSI device OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 109 Personality Change Commands Personality Change Commands The OneCommand Manager application enables you to change the personality or protocol running on OneConnect adapters When you change the personality of the adapter and reboot the host the adapter starts running the new personality or protocol The personalities that the OneConnect adapters currently run are NIC only NIC FCoE and NIC iSCSI In some cases the adapters are pre configured to support multiple personalities In other cases you must install a license key before the adapter can support multiple personalities See Adapter License Management Commands on page 45 for more information Note The three different personalities may not always be available on an adapter For example a NIC
118. tDCBParams lt WWPN MAC gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port Example hbacmd h 10 192 203 154 getdcbparams 00 00 c9 93 2f d8 GetPGInfo This command shows the bandwidth percentages for all the priority groups for the port Additionally this command displays the number of priority groups supported by an adapter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 57 DE EMULEX DCB Commands Supported By Linux Solaris VMware ESX and Windows Syntax GetPGInfo WWPN MAC Parameters WWPN The WWPN address of the FCoE port MAC The MAC address of the NIC or iSCSI port Example hbacmd h 10 192 203 154 getpginfo 00 00 c9 93 2f d8 SetCnaPGBW This command sets the bandwidth percentage of a priority group according to the following rules 1 Bandwidths BW0 BW 7 for priority groups 0 7 PGO PG7 must total 100 for 100 2 Bandwidth can be assigned to a priority group that has priorities Supported By Linux Solaris VMware ESX and Windows Syntax SetCnaPGBW WWPN MAC lt BWO BW7 gt Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port BWO BW7 The bandwidths allocated for the priority groups 0 7 Example This command sets the bandwidth of PGO to 50 PG1 to 50 and PG2 PG7 to 0 hbacmd SetCnaPGBW 10 00 00 00 c9 3c 7 88 5050000000 SetDCBPara
119. tPortal MAC Address Target IP Port Parameters MAC Address The MAC address of the UCNA port Target IP The target s IP address Port The port number of the target portal The possible values are 1024 65535 SetBootTargetSession This command enables and disables a iSCSI target s session as a boot session If a session is enabled as a boot session and when the system reboots it will attempt to boot from that target Depending on whether the target is logged in there are two different ways to specify the session If the target is logged in use the lt TSIH gt parameter If the target is not logged in use the lt ISID Qual Target IP parameter Supported By Linux Solaris VMware ESX and Windows Syntax SetBootTargetSession MAC Address Target TSIH ISID Qual Target IP gt gt lt 0 1 gt Parameters MAC Address The MAC address of the desired iSCSI port Target Specifies the iSCSI name of the desired iSCSI target TSIH TSIH value of the session The possible values are 1 65535 ISID Qual ISID qualifier of the session The possible values are 0 65535 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 CLI Client Command Descriptions 87 2 EMULEX iSCSI Commands 011 Specifies the state of the BootProperty for the target 0 lt Disabled 1 lt Enabled SetlnitiatorProperties This command sets the initiator properties for the specified port It allows you
120. tax ServerAttributes WWPN MAC Parameters WWPN The WWPN of the adapter MAC The MAC address of the NIC or iSCSI port SetPfcThrottle This command returns the PFC Throttle state as enabled or disabled Note The PFC Throttle state returns when using the PortAttributes command for OneConnect OCe10102 adapters However for OneConnect adapters with older firmware that does not support PfcThrottle and for non OneConnect adapters the PFC Throttle state does not return when using the PortAttributes command Supported By Linux Solaris VMware ESX and Windows Syntax SetPfcThrottle WWPN 0 1 Parameters WWPN The WWPN of the adapter 011 The PEC throttle state 0 lt Disabled 1 lt Enabled OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A gt lt EMULEX Attributes Commands 5 CLI Client Command Descriptions SetPhyPortSpeed This command sets the port speed on OneConnect OCe11100 series adapters only Supported By Linux Solaris VMware ESX and Windows Syntax Set PhyPortSpeed lt WWPN MAC gt lt Mode gt Speed Length Parameters WWP MAC N The WWPN of the FCoE port The MAC address of the CNA port Mode The Mode number Spe Len 0 lt Default 1 Auto negotiate requires the Speed argument 2 Force requires the Speed and Length arguments ed The Speed string When Mode is 1 or 2 the Speed argument is required
121. te the new setting Volatile names are active until system power down or adapter power cycle e For VMware ESX OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 119 DE EMULEX WWN Management Commands o After changing the WWN of an adapter update your zoning settings before you reboot your ESX server If the zoning is not updated before your reboot the subsequent boot may take a long time o After changing the WWN of an adapter you must reboot the ESX system before trying to access the adapter on that system For information on rebooting the ESX system refer to the VMware documentation e For ESX COS If you are using the CIM interface to access adapters after changing the WWN of an adapter you must restart the CIMOM that is SFCB on the ESX COS system before trying to access the adapter on that system For information on restarting the CIMOM refer to the VMware documentation Supported By Linux Solaris VMware ESX and Windows Syntax ChangeWWN WWPN New WWPN New WWNN Type Parameters WWPN The WWPN of the adapter New WWPN The WWPN of the new adapter New WWNN The WWNN of the new adapter Type 0 lt Volatile 1 gt Non Volatile GetWWNCap This command shows if volatile change is supported for the WWPN Supported By Linux Solaris VMware ESX and Windows Syntax GetWWNCap lt WWPN gt Parameters WWPN The WWPN of the adap
122. ter OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions 120 WWN Management Commands ReadWWN This command reads different types of WWNs Supported By Linux Solaris VMware ESX and Windows Syntax ReadWWN WWPN Type Parameters WWPN The WWPN of the adapter Type 0 lt Volatile 1 gt Non Volatile 2 lt Factory Default 3 Current 4 lt Configured RestoreWWN This command changes the WWNs to the factory default or non volatile values The change is non volatile Notes e Areboot is required to activate the new setting e For VMware ESX After changing the WWN of an adapter you must reboot the ESX system before trying to access the adapter on that system For information on rebooting the ESX system see the VMware documentation e For ESX COS If you are using the CIM interface to access adapters after changing the WWN of an adapter you must restart the CIMOM that is SFCB on the ESX COS system before trying to access the adapter on that system For information on restarting the CIMOM see the VMware documentation Supported By Linux Solaris VMware ESX and Windows Syntax RestoreWWN WWPN Type Parameters WWPN The WWPN of the adapter Type 0 Restore Default WWNs 1 Restore NVRAM WWNs OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX Appendix A O
123. ter that specifies the format of the adapter information e CSV e xml Note Leaving the format blank shows the data in xml format default GetCimCred This command shows the default credentials set for the CIM client Note The password is encrypted Supported By Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 101 Miscellaneous Commands Syntax GetCimCred Parameters None GetElxSeclnfo This command shows the version of the ElxSec system Supported By Windows and Linux Syntax GetElxSeclnfo Parameters None GetQoSInfo This command shows the QoS information for a specified NIC port Supported By Linux Solaris VMware ESX and Windows Syntax GetQoSInfo MAC Address Parameters h The IP address of name of the host WWPN The WWPN of the adapter port MAC The MAC address of the NIC or iSCSI port Example C Program Files emulex Util OCManager gt hbacmd h 10 192 203 154 m cim u root p Swamiji001 n root emulex getqosinfo 00 00 c9 93 2f d6 GetVPD This command shows the port s Vital Product Data VPD Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 102 Miscellaneous Commands Syntax GetVPD lt WWPN MAC gt Parameters WWPN The WWPN of the
124. their respective groups Using the optional parameter GroupName it lists the commands in a group Using the optional parameter Cmd Name it shows the details for a specific command Supported By Linux Solaris VMware ESX and Windows Syntax Help GroupName CmdName Parameters GroupName This optional parameter lists the commands in a particular group CmdName This optional parameter shows the details for a particular CLI command Example 1 This help command example lists all the commands in their respective groups hbacmd help The example output Usage hbacmd version or hbacmd h lt IPv4 Address port Hostname port Command or hbacmd h IPv6 Address port Command Note When specifying IPv6 address with port option it must be enclosed in Example fe80 6445 80e9 9878 a527 9876 Use the following syntax for issuing CIM based commands IPv4 only A hbacmd lt h IPv4 port gt lt m CIM gt u userid p password n namespace cmd B gt hbacmd lt h IPv4 port gt lt m CIM gt lt cmd gt Before specifying syntax B the user should do one of the following 1 Add the host IP with CIM credentials using the AddHost command e g hbacmd lt m CIM gt u userid p password n namespace AddHost lt ip gt 2 Set the default CIM credentials using the SetCimCred command e g hbacmd SetCimCred lt u userid gt lt p password gt lt n namespace gt lt o port gt Command Su
125. to specify an initiator name lt lnitiator Name and an initiator alias Initiator Alias If you opt not to specify these fields a default iSCSI name is assigned Except for the Initiator Name and lt lnitiator Alias properties these properties are set as the target portal s login properties to be used when discovering the targets on the target portal The targets inherit the target portal s properties when they are discovered The discovered target s login properties can be changed using the SetTargetProperties command When you set the authentication method Auth to a value other than 0 you must set additional parameters Each string should be enclosed in quotations to avoid mishandling by the Windows Linux Solaris or VMware shell s parser Additionally these properties are used for iSNS target discovery to set the discovered target s login properties e If you set the authentication method to One Way CHAP lt Auth gt 1 you must also specify the Target CHAP Name and Target Secret For example hbacmd SetInitiatorProperties 00 11 22 33 44 55 Auth 1 TgtChapName TargetSecretl e If you set the authentication method to Mutual CHAP lt Auth gt 2 you must specify all four values For example hbacmd SetInitiatorProperties 00 11 22 33 44 55 Auth 2 TgtChapName TargetSecretl InitCHAPName InitialSecretl Supported By Linux Solaris VMware ESX and Windows Syntax SetInitiatorProperties
126. trol Message Protocol Internet Protocol internet Small Computer System Interface internet Storage Name Server Link Aggregation Control Protocol link layer discovery protocol LightPulse Fibre Channel logical unit number media access control message signaled interrupts maximum transmission unit network file system network interface card or controller normal velocity of propagation priority based flow control priority group ID priority group bandwidth physical layer power on self test P008699 01A Rev A 2G EMULEX PXE RHEL RM RPM SAN SCSI SFCB SFP SLES SR IOV SSH TCP TDR UCNA UEFI VPD VPort WWN WWNN WWPN VM XML 1 Introduction 12 Abbreviations Pre boot Execution Environment Red Hat Enterprise Linux remote management resource package manager storage area network Small Computer System Interface Small Footprint CIM Broker small form factor pluggable SUSE Linux Enterprise Server single root I O virtualization Secure Shell Transmission Control Protocol time domain reflectometer universal converged network adapter Unified Extensible Firmware Interface vital product data virtual port world wide name world wide node name world wide port name virtual machine extensible markup language OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 2 Installing and Uninstalling the CLI 13 Linux 2 Installing and Uninstalling the CLI This cha
127. upport GetDumpbDirectory This command shows the dump file directory for the adapters in the host Note The dump directory can be set on VMware ESX hosts only Note The dump directory applies to all adapters in the server There is not a separate dump directory for each adapter Supported By Linux Solaris VMware ESX and Windows Syntax GetDumpDirectory WWPN MAC OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 72 Dump Commands Parameters WWPN The WWPN of the adapter MAC The MAC address of the UCNA port GetDumpFile This command gets the dump file For dump file retrieval over FC FCoE the WWPN of a remote FC FCoE port is required to access the remote host This command gets the user specified dump file to the local client s dump directory The dump directory local and remote is named Dump and is placed under the OneCommand Manager installation directory The dump files are copied from the Dump directory of the remote host to the Dump directory of the local host Therefore specifying a local port identifier for this command returns the following error since the source and destination directory is the same ERROR HBACMD GetDumpFile RM GetDumpFile call failed 2 ERROR 2 Not Supported Dump directory e For Windows C Program Files Emulex Util Dump e For Linux usr sbin ocmanager Dump e For Solaris opt ELXoc
128. ust be specified The range of valid values is 0 7 rity This parameter is applicable for iSCSI adapters only A single priority must be specified The range of valid values is 0 7 ty A list of comma separated values where multiple PFC priorities supported The comma separated list can contain up to seven values ranging from 0 7 Use to set the UCNA DCB parameters including priority groups to their default values For example hbacmd SetDCBParam lt WWPN MAC gt defaults OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 2G EMULEX 5 CLI Client Command Descriptions B9 DCB Commands LLDP Settings for lt Param gt and lt Value gt lt Param gt TxState RxState TxPortDesc TxSysDesc TxSysName TxSysCap Example hbacmd h 10 Description and Value Transmit State DCBX uses LLDP to exchange parameters between two link peers For the DCBX protocol to operate correctly both LLDP Rx and Tx must be enabled If either Rx or Tx is disabled DCBX is disabled 0 lt Disabled 1 lt Enabled Receive State DCBX uses LLDP to exchange parameters between two link peers For the DCBX protocol to operate correctly both LLDP Rx and Tx must be enabled If either Rx or Tx is disabled DCBX is disabled 0 lt Disabled 1 Enabled Transmit Port Description provides a description of the port in an alpha numeric format 0 lt Disabled 1 Enabled Transmit System Description
129. with an indication of whether or not the feature has been licensed Supported By Linux Solaris VMware ESX and Windows OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A 5 5 CLI Client Command Descriptions 46 DE EMULEX Adapter License Management Commands Syntax ShowAdapterLicenseFeatures WWPN MAC Parameters WWPN The FCoE port WWPN of the adapter MAC The NIC or iSCSI port address of the adapter Examples For non VMware ESX ESXi hosts hbacmd ShowAdapterLicenseFeatures 00 12 34 56 78 9A For VMware ESX ESXi hosts hbacmd h IP Address m lt cim u root p password n lt lt namespace gt ShowAdapterLicenseFeatures 00 12 34 56 78 9A ShowAdapterLicenselD This command returns the adapter ID used for enabling licensed features The adapter ID and the entitlement code are used to obtain license keys which enable various features on the adapter Supported By Linux Solaris VMware ESX and Windows Syntax ShowLicenseAdapterID lt WWPN MAC gt Parameters WWPN The FCoE port WWPN of the adapter MAC The NIC or iSCSI port address of the adapter Examples For non VMware ESX ESXi hosts hbacmd ShowLicenseAdapterID 00 12 34 56 78 9A For VMware ESX ESXi hosts hbacmd h IP Address m cim u root p password n lt lt namespace gt ShowLicenseAdapterID 00 12 34 56 78 9A OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A
130. ype Count StopOnError Pattern Parameters WWPN The WWPN of the FC or FCoE port MAC The MAC address of the NIC or iSCSI port Type The type of loopback test to run e 0 PCI loopback test Not supported for OneConnect UCNAs e 1 Internal loopback test Not supported for OneConnect UCNAs e 2 External loopback test requires loopback plug e 3 DMA loopback test Only supported for OneConnect UCNAs This DMA loopback test is not supported via the CIM interface e 4 PHY loopback test Only supported for OneConnect UCNAs e 5 MAC loopback test Only supported for OneConnect UCNAs Count Number of times to run the test Possible values are 1 99 9999 To run the test infinitely use 0 StopOnError Checks if the test must be halted on error 0 No halt 1 Halt Pattern An optional parameter that specifies 1 8 hexadecimal bytes to use for loopback data for example 1a2b3c4d Example hbacmd h 10 192 193 154 m cim u root p Swamiji001 n root emulex loopbacktest 00 00 c9 93 2f 9f 4 120 0 OneCommand Manager Command Line Interface Version 6 2 User Manual P008699 01A Rev A DE EMULEX 5 CLI Client Command Descriptions 64 Diagnostic Commands LoopMap Note Supported for FC ports only This command shows the arbitrated loop map data Supported By Linux Solaris and Windows Syntax LoopMap lt WWPN gt Parameters WWPN The WWPN of the adapter PciData This command shows the PCI configuration data Th

Download Pdf Manuals

image

Related Search

Related Contents

Braun Series 5 5030S    Lenovo Miix 2 10 64GB Black, Silver  Asuden SOLAR 換気扇 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file