Setportenabled – Dell Emulex Family of Adapters User Manual
Page 335
OneCommand Manager Command Line Interface Version 10.2 User Manual
P010067-01A Rev. A
5. CLI Client Command Descriptions
Attributes Commands
335
Examples
The following example configures the PHY port to a forced speed of 1 Gb/sec with a
cable length of ten meters:
hbacmd setphyportspeed 00-00-c9-ad-ad-ac 2 1Gb 10
The following example tries to configure the PHY port to a forced speed of 100 Mb/sec:
hbacmd setphyportspeed 00-00-c9-a9-41-88 2 100Mb
If the command is successful the following is displayed:
Successfully changed speed settings on port.
This command results in an error because you must include a value for the Length
parameter when the Mode parameter is 2:
ERROR: <431>: Cable length required for force mode and interface
type
SetPortEnabled
This command enables or disables a port.
Notes
Ensure that all I/Os on the port are stopped before disabling the port.
Only OneConnect adapters do not require a reset when the adapter port is
enabled or disabled. For FC adapters, when the SetPortEnabled command
disables an FC port, the adapter must be reset to activate the new setting.
Supported By
Linux, Solaris, VMware ESXi, and Windows
Syntax
SetPortEnabled
Length
The length of the direct attach copper (DAC) cable in meters. Valid values are
0–10. A length value of 0 indicates an optical cable. A Length value is required
when using a 10Gb SFP and QSFP transceiver interface type.
When the Mode parameter is 0, Speed and Length parameters are ignored,
and when the Mode parameter is 1, the Length parameter is ignored
Note: For an embedded mezzanine adapter linked to an embedded switch on the internal
port, the Length value is ignored.