(All) Performs Intel® Omni-Path Architecture-defined SMA queries and displays the resulting response. Each query is issued directly to the SMA and does not involve SM interaction.
opasmaquery [-v] [-d detail][-g] [-l lid] [-h hfi] [-p port] [-K mkey] [-o otype] [-m port|port1,port2] [-f flid] [-b block[,count]] [hop hop ...]
Produces full help text.
Returns verbose output. Can be specified more than once for additional openib and libibumad debugging.
Specifies the output detail level for cableinfo only. Range = 0 - n. Default = 2. An upper limit for detail level is not enforced. After a maximum amount of output is reached, a larger detail value has no effect.
Displays line-by-line format. Default is summary format.
Specifies the destination LID. Default is local port.
Specifies the HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. (Default is 0.)
Specifies the port, numbered 1..n. Using 0 specifies the first active port. (Default is 0.)
Specifies the SM management key to access remote ports.
Specifies the output type. Default is nodeinfo. Refer to otype Options Vary by Report for supported options.
Specifies buffer control tables.
[-m dest_port] [-m port1,port2]
Specifies cable information.
[-d detail] [-m dest_port] [-b block[,count]]
Specifies congestion information.
Specifies node descriptions/names.
Specifies HFI congestion control settings.
[-b block[,count]] [-f flid]
Specifies HFI congestion logs.
[-b block[,count]]
Specifies HFI congestion settings.
Specifies switch linear forwarding database (FDB) tables.
[-b block[,count]] [-f flid]
Specifies switch multicast FDB tables.
[-m dest_port] [-b block[,count]] [-f flid]
Specifies Adaptive Routing port groups.
[-b block[,count]]
Specifies Adaptive Routing port group FWD tables.
[-b block[,count]] [-f flid]
Specifies node information and node descriptions.
Specifies node information.
[-m dest_port]
Specifies port information.
[-m dest_port]
Specifies switch port state information.
[-m dest_port] [-m port1,port2]
Specifies P-Key tables.
[-m dest_port] [-b block[,count]]
Specifies SL to SC mapping tables.
Specifies SC to SL mapping tables.
Specifies SC to SC mapping tables.
[-m dest_port] [-m port1,port2]
Specifies SC to VLt tables.
[-m dest_port] [-m port1,port2]
Specifies SC to VLnt tables.
[-m dest_port] [-m port1,port2]
Specifies SM information.
Specifies node information and switch information.
Specifies switch congestion logs.
[-b block[,count]]
Specifies switch congestion settings.
Specifies switch information.
Specifies switch congestion settings.
[-b block[,count]]
Specifies VL arbitration tables.
[-m dest_port]
Specifies IB node information.
Specifies LED information.
[-m dest_port]
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.
Specifies the port in destination device to query.
For some reports, specifies a range of ports between port1 and port2. For others, this describes an inport/outport pair.
Specifies the LID to look up in forwarding table to select which LFT or MFT block to display. Default is to show entire table.
Specifies the block number of either GUIDs or pkey, and the number of blocks to display. Default is to show entire table.
For example:
opasmaquery -o desc -l 6 # get nodedesc via lid routed opasmaquery -o nodedesc 1 3 # get nodedesc via directed route (2 dr hops) opasmaquery -o nodeinfo -l 2 3 # get nodeinfo via a combination of lid routed and # directed route (1 dr hop) opasmaquery -o portinfo # get local port info opasmaquery -o portinfo -l 6 -m 1 # get port info of port 1 of lid 6 opasmaquery -o pkey -l 2 3 # get pkey table entries starting (lid routed to lid 2, # then 1 dr hop to port 3) opasmaquery -o vlarb -l 6 # get vlarb table entries from lid 6 opasmaquery -o swinfo -l 2 # get switch info opasmaquery -o sminfo -l 1 # get SM info opasmaquery -o slsc -l 3 # get sl2sc table entries from lid 3 opasmaquery -o scsl -l 3 # get sc2sl table entries from lid 3