Setup Guide
Broadcom OCM-CLI-LPE-UG124-100
24
Emulex OneCommand Manager Command Line Interface User Guide
For FC functions, 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 ( ). If space separators are used, the entire WWPN must be
enclosed in quotation marks (“”).
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
For NIC functions, 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 displays the server attributes for the server where the NIC function is running the
NIC port with the specified MAC address:
hbacmd ServerAttributes 00-11-22-33-44-55
For NIC functions, only the permanent MAC address is supported for the port address parameter on an HbaCmd
command line.
Normally, for a NIC function, the function’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 NIC functions with the same current MAC addresses, but
with unique permanent MAC addresses. Therefore, to be sure that OneCommand Manager can access the correct
function, only the permanent MAC address is supported.
NOTE: Both the permanent MAC address and the current MAC address are displayed by using the ListHBAs command.
See Section 5.12.7, ListHBAs.
4.3 Secure Management CLI Interface
The Secure Management CLI interface is supported by the Linux, Solaris, and Windows operating systems.
NOTE: Users with root or administrator privileges on the local machine retain full configuration capability in the
OneCommand Manager CLI without the use of credentials (local machine only).
4.3.1 Device Management Using the Secure Management Interface
To run the HbaCmd CLI client application when the Secure Management feature is enabled, each invocation must include a
user name and password. The user name and password options are added to the existing HbaCmd command in the same
way as they are for CIM commands, except the <m=cim> option is replaced by the <m=sec> option (to distinguish it from a
CIM command). For example:
Without Secure Management (or if running as root or administrator):
hbacmd <cmd>
With Secure Management (as a non-root or non-administrator user):
hbacmd <m=sec> <u=userid> <p=password> <cmd>
4.3.2 Syntax Rules for the Secure Management Interface
For the Secure Management interface, all of the syntax rules in Section 4.2, HbaCmd Syntax Usage, apply.
In Windows, to download firmware on a PPC CNA managed on a remote host at IP address 192.168.1.122 using the Secure
Management interface, run the following command:
hbacmd h=192.168.1.122 m=sec u=jsmith p=password download 00-12-34-56-78-9A
lancer_a11.2.123.45.grp