Setadapterportconfig (oce14000–series only), Setadapterportconfig, Oce14000–series only) – Dell Emulex Family of Adapters User Manual

Page 1370

Advertising
background image

OCM for VMware vCenter Version 10.2 User Manual

P009805-01A Rev. A

11. Using OneCommand Manager for VMware vCenter Command Line Interface

The Command Reference

1370

Parameters

setadapterportconfig (OCe14000–Series Only)

Syntax

elxvcpcmd.exe v=10.192.000.000 u=root p=vmware h=10.192.203.195

SetAdapterPortConfig <MAC|WWPN> defaults

or

hbacmd SetAdapterPortConfig <MAC|WWPN> p0=P0Config [p1=P1Config]

[p2=P2Config][p3=P3Config] [pid=ProfileID] [mctype=Type] [NParEpMode=state]

Description

The SetAdapterPortConfig command configures the function protocol assignments for

all ports on an adapter. Additionally use this command to restore the adapter to its

factory default profile and settings. The number of ports and function protocol

assignments specified in this command depends upon the available ports, storage

mode (mixed or concurrent) and multichannel/NPar state. Depending upon the

presence of NParEP on a host, this command may allow the configuration of more

functions per port than is available on the PCI bus. This means a lesser number of

functions per port than are configured by this command may be noticed after rebooting

the host.

Enabling/Disabling Multichannel

Use the Type parameter to enable and disable multichannel. When enabling

multichannel, the additional function protocols must be specified for the extra channels

that are not available when multichannel is disabled.

Examples for Enabling and Disabling Multichannel

To enable multichannel:

elxvcpcmd.exe v=10.192.000.000 u=root p=vmware h=10.192.000.000

setadapterportconfig 00-00-c9-12-34-56 p0=nic,iscsi,nic,nic

p1=nic,fcoe,nic,nic p2=nic,fcoe,nic,nic p3=nic,iscsi,nic,nic mctype=umc

To disable multichannel:

elxvcpcmd.exe v=10.192.000.000 u=root p=vmware h=10.192.000.000

setadapterportconfig 00-00-c9-12-34-56 p0=nic,iscsi p1= nic,fcoe p2=nic,fcoe

p3=nic,iscsi mctype=none

Syntax Rules

No spaces are allowed between around the = or commas in when specifying a

port (e.g. p0 = nic, iscsi would cause an error).

v

The vCenter server IP address.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

h

The IP address of the ESXi host with Emulex adapters.

Advertising