opafmcmd(8)
πΈ NAME πΈ
opafmcmd β from IFSFFCLIRG (Man Page), hi bestie π
This one runs a command against a specific instance of the Fabric Manager (FM). Itβs lowkey iconic for stuff like querying the configuration attributes of one particular FM instance, or firing off subnet management commands. No cap. β¨
β¨ Syntax β¨
opafmcmd [-i fm_instance] cmd [ args]
π Options π
--helpβ drops the full help text, periodt.-ifm_instance β picks the number of the FM instance to act on. Range is0to7. Default is0. πcmd [args]β the command and arguments (if applicable) to run. Values include:smForceSweepβ makes the Subnet Manager (SM) sweep right now. π¨smRestorePriorityβ restores the normal priority of the SM, if itβs currently elevated.smShowCountersβ gets statistics and performance counters from the SM.smResetCountersβ resets SM statistics and performance counters.smStateDumpβ dumps internal SM state into the specified directory.smLogLevelβ sets the SM logging level. Values include:0=NONE+1=WARN+2=NOTICE+3=INFO+4=VERBOSE+5=DEBUG2+6=DEBUG4+7=TRACE+
smLogModeβ sets the SM log mode flags. Values include:0/1 1=downgrade non-actionable0/2 2=logfile only
smLogMaskβ sets the SM log mask for a specific subsystem to the value given. For a list of subsystems and mask bit meanings, see the files/etc/opa-fm/opafm.xmlor/usr/share/opa-fm/opafm.xml.smPerfDebugβ toggles performance debug output for SM.saPerfDebugβ toggles performance debug output for Subnet Administration (SA).saRmppDebugβ toggles Reliable Message Passing Protocol (RMPP) debug output for SA.pmShowCountersβ gets statistics and performance counters for the Performance Manager (PM).pmResetCountersβ resets statistics and performance counters for the PM.pmDebugβ toggles debug output for PM.pmRmppDebugβ toggles RMPP debug output for PM.feLogLevelβ sets the Fabric Executive (FE) logging level. Values include:0=NONE+1=WARN+2=NOTICE+3=INFO+4=VERBOSE+5=DEBUG2+6=DEBUG4+7=TRACE+
feLogModeβ sets the FE log mode flags.0/1 1=downgrade non-actionable0/2 2=logfile only
feLogMaskβ sets the FE log mask for a specific subsystem to the value given. For a list of subsystems and mask bit meanings, see the files/etc/opa-fm/opafm.xmlor/usr/share/opa-fm/opafm.xml.feDebugβ toggles debug output for FE.feRmppDebugβ toggles RMPP debug output for FE.smLooptestStartβ starts loop test in normal mode. Specify the number of 256 byte packets. Default is0.smLooptestFastModeStartβ starts loop test in fast mode. Specify the number of 256 byte packets. Default is5.smLooptestStopβ stops loop test. Returns switch LFTs back to normal.smLooptestInjectPacketsβ enternumPktsto send to all switch loops. Default is1.smLooptestInjectAtNodeβ enter the switch node index to inject loop packets. Default is0.smLooptestInjectEachSweepβ sets whether to inject or stop injecting packets each sweep.- Enter
1to inject packets each sweep. - Enter
0to stop injecting each sweep.
- Enter
smLooptestPathLengthβ sets the loop path length. Range is2-4. Default is3.smLooptestMinISLRedundancyβ sets the minimum number of loops in which to include each ISL. Default is4.smLooptestShowLoopPathsβ displays the loop paths given node index or all loop paths. Default is all.smLooptestShowSwitchLftβ displays a switch LFT given node index or all switches LFTs. Default is all.smLooptestShowTopologyβ displays the topology for the SM Loop Test.smLooptestShowConfigβ displays the current active loop configuration.smForceRebalanceβ toggles Force Rebalance setting for SM.smAdaptiveRoutingβ displays or modifies Adaptive Routing setting for SM.- If no arguments are entered, displays current setting.
- Enter
0to Disable. - Enter
1to Enable. - Additional arguments after the first argument can be used to update frequency and threshold while enabling Adaptive Routing:
- Enter
-fvalue to update frequency. Valid values are0-7. - Enter
-tvalue to update threshold. Valid values are0-7. - If frequency or threshold are not provided, they will be reset to default.
- Enter
smForceAttributeRewriteβ sets rewriting of all attributes upon resweeping.- Enter
0to Disable. - Enter
1to Enable.
- Enter
smSkipAttrWriteβ specifies the bitmask of attributes to be skipped (not written) during sweeps. Enter-helpfor list of options.smPauseSweepsβ pauses SM sweeps. βΈοΈsmResumeSweepsβ resumes SM sweeps. βΆοΈ
π Example π
opafmcmd smForceSweep
opafmcmd -i 2 smLogLevel 3
π mwah! thatβs the whole opafmcmd(8) page from the IFSFFCLIRG (Man Page) era, with Copyright(C) 2015-2019 Intel Corporation β go slay your FM, bestie! πβ¨
π¦ where this page comes from
- centos-stream 9: opa-fm 1:10.12.1.0.6-1.el9 Β· GPLv2 or BSD
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms