opaportconfig(1)
β¨ opaportconfig β¨
okay so bestie, welcome to opaportconfig from the IFSFFCLIRG manual π this one's a Host or Switch tool and it controls the configuration and state of a specified Intel(R) Omni-Path Host Fabric Interface (HFI) port β either on the local host or on a remote switch πΈ
NOTE: bestie this tool is designed for expert users only π non-expert users should use other tools such asopaenableports,opadisableportsandopaportinfofor basic functionality. no gatekeeping, just saying iykyk π«Ά
π Syntax π
opaportconfig [-l lid [-m dest_port]] [-h hfi] [-p port] [-r secs]
[-z]
[-S state] [-P physstate] [-s speed] [-w width] [-c LTPCRC] [-v]
[-x]
[-L lid] [< sub command>]
π Options π
--helpβ produces full help text. literally the whole thing, go off π-l lidβ specifies the destination LID. default is local port π¦-m dest_portβ specifies the destination port. default is port with given LID. used to access switch ports π₯-h hfiβ specifies the HFI to send through/to. default is first HFI β¨-p portβ specifies the port to send through/to. default is first port πΈsub commandβ specifies one of the following choices πenableβ enables port π«Άdisableβ disables port πbounceβ bounces port π
NOTE: bouncing remote ports may cause timeouts. not a vibe, be careful π
ledonβ turns port LED on βledoffβ turns port LED off π
βοΈ Configuration Options βοΈ
-r secsβ repeats to keep the port down for the specified amount of seconds β³-S stateβ specifies the new state. default is0π0β No-op.1β Down.2β Initiate.3β Armed.4β Active.
-P physstateβ specifies the new physical state. default is0π¦
NOTE: all transitions are valid. periodt β¨
0β No-op.2β Polling.3β Disabled.11β Phy-Test. Current physstate must be disabled.
-s speedβ specifies the new link speeds enabled. default is0. to enable multiple speeds, use the sum of the desired speeds π₯0β No-op.2β0x0002- 25 Gb/s.
-w widthβ specifies the new link widths enabled. default is0. to enable multiple widths, use sum of desired widths πΈ0β No-op.1β0x01- 1x.2β0x02- 2x.4β0x04- 3x.8β0x08- 4x.
-c LTPCRCβ specifies the new LTP CRCs enabled. default is0. to enable multiple LTP CRCs, use sum of desired LTP CRCs π0β No-op.1β0x1- 14-bit LTP CRC mode.2β0x2- 16-bit LTP CRC mode.4β0x4- 48-bit LTP CRC mode.8β0x8- 12/16 bits per lane LTP CRC mode.
π«Ά -h and -p options permit a variety of selections π«Ά
-h 0β first active port in system (Default). π-h 0 -p 0β first active port in system. β¨-h xβ first active port on HFI x. π¦-h x -p 0β first active port on HFI x. πΈ-h 0 -p yβ port y within system (no matter which ports are active). π-h x -p yβ HFI x, port y. π
π Debug Options π
-vβ verbose output. additional invocations turn on debugging, openib debugging, and libibumad debugging π-zβ does not get port information first; clears most port attributes π-L lidβ setsPortInfo.LID = lid. π
π Examples π
opaportconfig -w 1
opaportconfig -p 1 -h 2 -w 3
π Description π
Port configuration is transient in nature bestie π if the given host is rebooted or its Intel(R) 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 π₯
NOTE: the/etc/init.d/opaportconfigscript is provided as an example of changing port speed every time the server boots. this script can be edited, then scheduled, usingchkconfigto control link settings on any set of HFI ports π
CAUTION: 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. be so careful fr fr π
and that's the whole page bestie π«Ά this gem is copyright Copyright(C) 2015-2019 Intel Corporation, and it lives in the IFSFFCLIRG (Man Page) manual π slay, go configure some ports responsibly β¨ππ
π¦ where this page comes from
- centos-stream 9: opa-basic-tools 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-basic-tools 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-basic-tools 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-basic-tools 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-basic-tools 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-basic-tools 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-basic-tools 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-basic-tools 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-basic-tools 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms