opafmcmdall(8)
πΈ NAME πΈ
Okay so hi bestie! This is opafmcmdall, and it lives in the IFSFFCLIRG manual (yes, that manual name is a whole vibe π). It executes a command to all instances of the Fabric Manager (FM) listed in the options. The behavior is similar to opafmcmd, so if you already know that one, you're lowkey ahead. π«Ά
π Syntax π
opafmcmdall [-i fm_instance] cmd [ args]
π OPTIONS π
--helpβ Produces full help text. Like, the whole lore drop. β¨-ifm_instance β Specifies the FM instance number (0-7) to act on. Specify multiple-ioptions as needed. Default is all instances. So if you want every FM, just don't pass-i; if you want specific ones, stack 'em up. πcmd [args]β Specifies the commands and arguments (if applicable) to be run. Values include:smForceSweepβ Makes the Subnet Manager (SM) sweep now. Iconic little push. π§ΉsmRestorePriorityβ Restores the normal priority of the SM, if it is currently elevated. Put it back, periodt. πsmShowCountersβ Gets statistics and performance counters from the SM. Numbers? Obsessed. πsmResetCountersβ Resets SM statistics and performance counters. Fresh start energy. β¨smStateDumpβ Dumps internal SM state into specified directory. Spill the internal tea. π«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. Clean slate slay. π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. Values include: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
-f valueto update frequency. Valid values are0 - 7. - Enter
-t valueto update threshold. Valid values are0 - 7.
- Enter
- If frequency or threshold are not provided, they will be reset to default.
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 π
opafmcmdall smForceSweep
# sends command to all FMs
opafmcmdall -i 2 -i 4 smLogLevel 3
# sends command to only FM2 and FM4
π And that's the page, bestie! Cute little sign-off time: Copyright(C) 2015-2019 Intel Corporation, source/version vibe is opafmcmdall(8), and the date range is that iconic 2015-2019 moment. Periodt. πβ¨
π¦ 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