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