Miscellaneous commands, Addhost – Dell Emulex Family of Adapters User Manual

Page 398

Advertising
background image

OneCommand Manager Command Line Interface Version 10.2 User Manual

P010067-01A Rev. A

5. CLI Client Command Descriptions

Miscellaneous Commands

398

Parameters

Example

>hbacmd h=10.192.87.198 SetExpressLaneLUNState 10:00:00:00:00:87:01:98

20:22:d4:ae:52:6e:6f:08 2 1 2

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, and Windows

Syntax

To add non-VMware ESXi hosts:

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 command.

To add VMware ESXi hosts to Windows OCM:

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

<IP_Address>

If the username, password, and namespace are not specified, see “Default CIM

Credentials” on page 316.

WWPN

The WWPN of the FC/FCoE function connected to the target or

physical WWPN if virtual ports are selected.

vPORT WWPN

The WWPN of an optional vPort allowing you to set the state of a

vPort LUN.

Target WWPN

The WWPN of the target LUNs.

LUN

The LUN number on which to set the ExpressLane status.

Note: Obtain the LUN number from the output of the GetExpressLaneLunList

command under the “OS LUN” column.

State

0=Disable ExpressLane, 1=Enable ExpressLane

Option

0=Set ExpressLane LUN state in driver temporary - until reboot
1=Set ExpressLane LUN state in the configuration to persist across

reboots
2=Set ExpressLane LUN state in both driver and in the configuration

to persist across reboots

Advertising