1 .TH SMPDUMP 8 "July 25, 2006" "OpenIB" "OpenIB Diagnostics"
4 smpdump \- dump InfiniBand subnet management attributes
8 [\-s(ring)] [\-D(irect)] [\-C ca_name] [\-P ca_port] [\-t(imeout) timeout_ms] [\-V(ersion)] [\-h(elp)] <dlid|dr_path> <attr> [mod]
12 smpdump is a general purpose SMP utility which gets SM attributes from a
13 specified SMA. The result is dumped in hex by default.
19 IBA attribute ID for SM attribute
22 IBA modifier for SM attribute
26 Most OpenIB diagnostics take the following common flags. The exact list of
27 supported flags per utility can be found in the usage message and can be shown
28 using the util_name -h syntax.
32 \-d raise the IB debugging level.
33 May be used several times (-ddd or -d -d -d).
35 \-e show send and receive errors (timeouts and others)
37 \-h show the usage message
39 \-v increase the application verbosity level.
40 May be used several times (-vv or -v -v -v)
42 \-V show the version info.
46 \-D use directed path address arguments. The path
47 is a comma separated list of out ports.
50 "0,1,2,1,4" # out via port 1, then 2, ...
52 \-G use GUID address argument. In most cases, it is the Port GUID.
56 \-s <smlid> use 'smlid' as the target lid for SM/SA queries.
60 \-C <ca_name> use the specified ca_name.
62 \-P <ca_port> use the specified ca_port.
64 \-t <timeout_ms> override the default timeout for the solicited mads.
66 Multiple CA/Multiple Port Support
68 When no IB device or port is specified, the port to use is selected
69 by the following criteria:
71 1. the first port that is ACTIVE.
73 2. if not found, the first port that is UP (physical link up).
75 If a port and/or CA name is specified, the user request is
76 attempted to be fulfilled, and will fail if it is not possible.
80 Direct Routed Examples
82 smpdump -D 0,1,2,3,5 16 # NODE DESC
84 smpdump -D 0,1,2 0x15 2 # PORT INFO, port 2
88 smpdump 3 0x15 2 # PORT INFO, lid 3 port 2
90 smpdump 0xa0 0x11 # NODE INFO, lid 0xa0
98 .RI < halr@voltaire.com >