1SMINFO(8) Open IB Diagnostics SMINFO(8)
2
3
4
6 sminfo - query InfiniBand SMInfo attribute
7
9 sminfo [options] sm_lid | sm_dr_path [modifier]
10
12 Optionally set and display the output of a sminfo query in human read‐
13 able format. The target SM is the one listed in the local port info, or
14 the SM specified by the optional SM lid or by the SM direct routed
15 path.
16
17 Note: using sminfo for any purposes other then simple query may be very
18 dangerous, and may result in a malfunction of the target SM.
19
21 -s, --state <state> set SM state
22 0 not active
23
24 1 discovering
25
26 2 standby
27
28 3 master
29
30 -p, --priority <priority> set priority (0-15)
31
32 -a, --activity <val> set activity count
33
34 Addressing Flags
35 -D, --Direct The address specified is a directed route
36
37 Examples:
38 [options] -D [options] "0" # self port
39 [options] -D [options] "0,1,2,1,4" # out via port 1, then 2, ...
40
41 (Note the second number in the path specified must match the port being
42 used. This can be specified using the port selection flag '-P' or the
43 port found through the automatic selection process.)
44
45 -G, --Guid The address specified is a Port GUID
46
47 -L, --Lid The address specified is a LID
48
49 Port Selection flags
50 -C, --Ca <ca_name> use the specified ca_name.
51
52 -P, --Port <ca_port> use the specified ca_port.
53
54 Local port Selection
55 Multiple port/Multiple CA support: when no IB device or port is speci‐
56 fied (see the "local umad parameters" below), the libibumad library
57 selects the port to use by the following criteria:
58
59 1. the first port that is ACTIVE.
60
61 2. if not found, the first port that is UP (physical link up).
62
63 If a port and/or CA name is specified, the libibumad library
64 attempts to fulfill the user request, and will fail if it is not
65 possible.
66
67 For example:
68
69 ibaddr # use the first port (criteria #1 above)
70 ibaddr -C mthca1 # pick the best port from "mthca1" only.
71 ibaddr -P 2 # use the second (active/up) port from the first available IB device.
72 ibaddr -C mthca0 -P 2 # use the specified port only.
73
74 Debugging flags
75 -d raise the IB debugging level. May be used several times (-ddd
76 or -d -d -d).
77
78 -e show send and receive errors (timeouts and others)
79
80 -h, --help show the usage message
81
82 -v, --verbose
83 increase the application verbosity level. May be used several
84 times (-vv or -v -v -v)
85
86 -V, --version show the version info.
87
88 Configuration flags
89 -t, --timeout <timeout_ms> override the default timeout for the
90 solicited mads.
91
92 -y, --m_key <key>
93 use the specified M_key for requests. If non-numeric value (like
94 'x') is specified then a value will be prompted for.
95
96 --config, -z <config_file> Specify alternate config file.
97 Default: /etc/infiniband-diags/ibdiag.conf
98
100 CONFIG FILE
101 /etc/infiniband-diags/ibdiag.conf
102
103 A global config file is provided to set some of the common options for
104 all tools. See supplied config file for details.
105
107 :: sminfo # local port's sminfo sminfo 32
108 # show sminfo of lid 32 sminfo -G 0x8f1040023 # same but using
109 guid address
110
112 smpdump (8)
113
115 Hal Rosenstock
116 < halr@voltaire.com >
117
118
119
120
121 2017-08-21 SMINFO(8)