1SMPDUMP(8) Open IB Diagnostics SMPDUMP(8)
2
3
4
6 SMPDUMP -
7
9 SYNOPSIS
10 smpdump [options] <dlid|dr_path> <attribute> [attribute_modifier]
11
12 DESCRIPTION
13 smpdump is a general purpose SMP utility which gets SM attributes from
14 a specified SMA. The result is dumped in hex by default.
15
16 OPTIONS
17 dlid|drpath
18 LID or DR path to SMA
19
20 attribute
21 IBA attribute ID for SM attribute
22
23 attribute_modifier
24 IBA modifier for SM attribute
25
26 -s, --string
27 Print strings in packet if possible
28
29 Addressing Flags
30 -D, --Direct The address specified is a directed route
31
32 Examples:
33 [options] -D [options] "0" # self port
34 [options] -D [options] "0,1,2,1,4" # out via port 1, then 2, ...
35
36 (Note the second number in the path specified must match the port being
37 used. This can be specified using the port selection flag '-P' or the
38 port found through the automatic selection process.)
39
40 -L, --Lid The address specified is a LID
41
42 Port Selection flags
43 -C, --Ca <ca_name> use the specified ca_name.
44
45 -P, --Port <ca_port> use the specified ca_port.
46
47 Local port Selection
48 Multiple port/Multiple CA support: when no IB device or port is speciā
49 fied (see the "local umad parameters" below), the libibumad library
50 selects the port to use by the following criteria:
51
52 1. the first port that is ACTIVE.
53
54 2. if not found, the first port that is UP (physical link up).
55
56 If a port and/or CA name is specified, the libibumad library
57 attempts to fulfill the user request, and will fail if it is not
58 possible.
59
60 For example:
61
62 ibaddr # use the first port (criteria #1 above)
63 ibaddr -C mthca1 # pick the best port from "mthca1" only.
64 ibaddr -P 2 # use the second (active/up) port from the first available IB device.
65 ibaddr -C mthca0 -P 2 # use the specified port only.
66
67 Debugging flags
68 -d raise the IB debugging level. May be used several times (-ddd
69 or -d -d -d).
70
71 -e show send and receive errors (timeouts and others)
72
73 -h, --help show the usage message
74
75 -v, --verbose
76 increase the application verbosity level. May be used several
77 times (-vv or -v -v -v)
78
79 -V, --version show the version info.
80
81 Configuration flags
82 -t, --timeout <timeout_ms> override the default timeout for the
83 solicited mads.
84
85 --config, -z <config_file> Specify alternate config file.
86 Default: /etc/infiniband-diags/ibdiag.conf
87
88 FILES
89 CONFIG FILE
90 /etc/infiniband-diags/ibdiag.conf
91
92 A global config file is provided to set some of the common options for
93 all tools. See supplied config file for details.
94
95 EXAMPLES
96 Direct Routed Examples
97
98 :: smpdump -D 0,1,2,3,5 16 # NODE DESC smpdump -D 0,1,2 0x15 2 #
99 PORT INFO, port 2
100
101 LID Routed Examples
102
103 :: smpdump 3 0x15 2 # PORT INFO, lid 3 port 2 smpdump 0xa0
104 0x11 # NODE INFO, lid 0xa0
105
106 SEE ALSO
107 smpquery (8)
108
109 AUTHOR
110 Hal Rosenstock
111 < halr@voltaire.com >
112
113
114
115
116 SMPDUMP(8)