User Manual

Rev 2.1-1.0.6
Mellanox Technologies
209
9.12 smpquery
Provides a basic subset of standard SMP queries to query Subnet management attributes such as
node info, node description, switch info, and port info.
Synopsis
Output Files
Table 33 lists the various flags of the command.
smpquery [-h] [-d] [-e] [-v] [-D] [-G] [-s <smlid>] [-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 33 - smpquery Flags and Options
Flag
Optional /
Mandatory
Default
(If Not
Specified)
Description
-h(help) Optional Print the help menu
-d(ebug) Optional Raise the IB debug level. May be used several
times for higher debug levels (-ddd or -d -d -d)
-e(rr_show) Optional Show send and receive errors (timeouts and
others)
-v(erbose) Optional Increase verbosity level. May be used several
times for additional verbosity (-vvv or -v -v -
v)
-D(irect) Optional Use directed path address arguments. The path
is a comma separated list of out ports.
Examples:
‘0’ – self port
‘0,1,2,1,4’ – out via port 1, then 2, ...
-G(uid) Optional Use GUID address argument. In most cases, it
is the Port GUID. Example:
‘0x08f1040023’
-s <smlid> Optional Use <smlid> as the target LID for SM/SA
queries
-V(ersion) Optional Show version info
-C
<ca_name>
Optional Use the specified channel adapter or router
-P <ca_port> Optional Use the specified port