Setvccred – Dell Emulex Family of Adapters User Manual

Page 1384

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

1384

Note: The retention count applies to all adapters in the server.

Parameters

setvccred

Syntax

elxvcpcmd.exe setvccred v=<vCenter IP/Name> u=<username> p=<password>

Description

While executing a set of CLI commands, you need to enter vCenter credentials

repeatedly. By executing the “setvccred” command first, you can save these credentials

including vCenter server name/IP, username and password to a file in an encrypted

format and execute subsequent commands without use of vCenter credentials.
Using this command is optional. You can continue to execute the commands providing

all credentials.

Note: This command does not apply to ports or adapters.

Parameters

Example

Execute setvccred first:

elxvcpcmd.exe setvccred v=12.345.678.901 u=username p=password

Subsequent commands can be:
New format:

elxvcpcmd.exe h=12.345.678.123 listhbas

-or-
Old Format:

elxvcpcmd.exe v=12.345.678.901 u=username p=password h=12.345.678.123

listhbas

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.

WWPN

The WWPN of a port on the ESXi host with Emulex adapters.

MAC

The MAC address of the NIC or iSCSI port.

RetentionCount

The number of dump files to retain.

v

The vCenter server IP address.

u

The user name for the vCenter server.

p

The user password for the vCenter server.

Advertising