(Host or Switch) Controls the configuration and state of a specified Intel® Omni-Path Host Fabric Interface (HFI) port on the local host or a remote switch.
opaportconfig [-l lid [-m dest_port]] [-h hfi] [-p port] [-r secs] [-z] [-S state] [-P physstate] [-s speed] [-w width] [-c LTPCRC] [-K mkey] [-v] [-x] [-L lid] [<sub command>]
Produces full help text.
Specifies the destination LID. Default is local port.
Specifies the destination port. Default is port with given LID. Used to access switch ports.
Specifies the HFI to send through/to. Default is first HFI.
Specifies the port to send through/to. Default is first port.
Specifies the SM management key to access remote ports.
Specifies the one of the following choices:
Enables port.
Disables port.
Bounces port.
Turns port LED on.
Turns port LED off.
Repeats to keep the port down for the specified amount of seconds.
Specifies the new state. Default is 0.
No-op.
Down.
Initiate.
Armed.
Active.
Specifies the new physical state. Default is 0.
No-op.
Polling.
Disabled.
Phy-Test. Current physstate must be disabled.
Specifies the new link speeds enabled. Default is 0. To enable multiple speeds, use the sum of the desired speeds.
No-op.
0x0002 - 25 Gb/s.
Specifies the new link widths enabled. Default is 0. To enable multiple widths, use sum of desired widths.
No-op.
0x01 - 1x.
0x02 - 2x.
0x04 - 3x.
0x08 - 4x.
Specifies the new LTP CRCs enabled. Default is 0. To enable multiple LTP CRCs, use sum of desired LTP CRCs.
No-op.
0x1 - 14-bit LTP CRC mode.
0x2 - 16-bit LTP CRC mode.
0x8 - 12/16 bits per lane LTP CRC mode.
First active port in system (default).
First active port in system.
First active port on HFI x.
First active port on HFI x.
Port y within system (no matter which ports are active).
HFI x, port y.
Verbose output. Additional invocations turn on debugging, openib debugging, and libibumad debugging.
Does not get port information first; clears most port attributes.
Sets PortInfo.LID = lid.
Port configuration is transient in nature. If the given host is rebooted or its Intel® Omni-Path Fabric Stack is restarted, the port reverts to its default configuration and state. Typically, the default state is to have the port enabled with all speeds and widths supported by the given HFI port.
To access switch ports using this command, the -l and -m options must be given. The -l option specifies the lid of switch port 0 (the logical management port for the switch) and -m specifies the actual switch port to access. If SMA mkeys are used, the -K option is also needed. However, the Intel® Omni-Path Fabric Suite Fabric Manager does not use SMA mkeys by default, therefore this option may not be required.
The /etc/init.d/opaportconfig script is provided as an example of changing port speed every time the server boots. This script can be edited, then scheduled, using chkconfig to control link settings on any set of HFI ports.
When using this command to disable or reconfigure switch ports, if the final port in the path between the Fabric Management Node and the switch is disabled or fails to come online, then opaenableports is not able to reenable it. In this case, the switch CLI and/or a switch reboot may be needed to correct the situation.