Dell Emulex Family of Adapters User Manual

Page 316

Advertising
background image

OneCommand Manager Command Line Interface Version 10.2 User Manual

P010067-01A Rev. A

4. CLI Client Command Usage

CIM Interface

316

Add the host IP address with CIM credentials using the AddHost

command. For example:

hbacmd <m=cim> [u=userid] [p=password] [n=namespace]

AddHost <IP_Address>

Default CIM Credentials

If you specify the command with the CIM method “m=cim” without specifying the

CIM credentials (userid, password, or namespace), the default value for the missing

CIM credential is obtained in the following order:

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

namespace=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>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 HBA List

Port WWN: 10:00:00:00:c9:6b:62:2b

Node WWN: 20:00:00:00:c9:6b:62:2b

Fabric Name: 00:00:00:00:00:00:00:00

Flags: 00000000

Host Name: eng.ma.emulex.com

Mfg: Emulex Corporation

Serial No.: BG73539764

Port Number: n/a

Mode: Initiator

Discovery: cim

Port WWN: 10:00:00:00:c9:6b:62:59

Node WWN: 20:00:00:00:c9:6b:62:59

Fabric Name: 00:00:00:00:00:00:00:00

Flags: 00000000

Host Name: eng.ma.emulex.com

Advertising