User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
72
8.3.6.2 smpquery Synopsys
8.3.6.3 smpquery Options
The table below lists the various flags of the command.
smpquery [-h] [-d] [-e] [-c] [-v] [-D] [-G] [-s <smlid>] [-L] [-u] [-V] [-C
<ca_name>] [-P <ca_port>] [-t <timeout_ms>] [--node-name-map <node-name-map>]
<op> <dest dr_path|lid|guid> [op params]
Table 15 - smpquery Flags and Options
Flag Description
-h/--help Print the help menu
-d/--debug Raise the IB debug level. May be used several times for higher
debug levels (-ddd or -d -d -d)
-e/--errors Show send and receive errors (timeouts and others)
-v/--verbose Increase verbosity level. May be used several times for additional
verbosity (-vvv or -v -v -v)
-D/--Direct Use directed path address arguments. The path is a comma sepa-
rated list of out ports.
Examples:
‘0’ – self port
‘0,1,2,1,4’ – out via port 1, then 2, ...
-G/--Guid Use GUID address argument. In most cases, it is the Port GUID.
Example:
‘0x08f1040023’
-s/--sm_port <smlid> Use <smlid> as the target LID for SM/SA queries
-V/--version Show version info
-L/--Lid Use Lid address argument
-c/--combined Use combined route address argument
-u/--usage Usage message
-C/--Ca <ca_name> Use the specified channel adapter or router
-P/--Port <ca_port> Use the specified port
-t/--timeout <timeout_ms> Override the default timeout for the solicited MADs [msec]
<op> Supported operations:
NodeInfo (NI) <addr>
NodeDesc (ND) <addr>
PortInfo (PI) <addr> [<portnum>]
SwitchInfo (SI) <addr>
PKeyTable (PKeys) <addr> [<portnum>]
SL2VLTable (SL2VL) <addr> [<portnum>]
VLArbitration (VLArb) <addr> [<portnum>]
GUIDInfo (GI) <addr>