User Manual

InfiniBand Fabric UtilitiesRev 2.2-1.0.1
Mellanox Technologies
246
9.4.16 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
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]
Output Files
Table 40 lists the various flags of the command.
Table 40 - 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 oth-
ers)
-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 que-
ries
-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
-t
<timeout_ms
>
Optional Override the default timeout for the solicited
MADs [msec]