Setportenabled, Setretentioncount – Dell Emulex Family of Adapters User Manual
Page 1383

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
1383
Example:
The following example configures the port to a forced speed of 1 Gb/sec with a cable
length of 4 meters.
elxvcpcmd.exe v=11.190.705.200 u=username p=password h=11.190.206.300
setphyportspeed 2 1Gb 4
setportenabled
Syntax
elxvcpcmd.exe v=
h=
Description
This command is used to toggle the enable or disable status for an FC, FCoE, NIC or
iSCSI port on a host.
Notes:
Ensure that all I/O traffic on the port is stopped before disabling the port.
When the setportenabled command disables an FC port, the adapter must
be reset to activate the new setting. Only UCNAs do not require a reset
when the adapter port is enabled or disabled.
Parameters
setretentioncount
Syntax
elxvcpcmd.exe v=
h=
Description
This command specifies the maximum number of diagnostic dump files for the
adapter. When the count reaches the limit, the next dump operation deletes the oldest
file.
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 port.
Flag
0 = Disabled
1 = Enabled