Lines Matching +full:port +full:- +full:config
5 IBPORTSTATE \- handle port (physical) state and link speed of an InfiniBand port
7 .nr rst2man-indent-level 0
10 \\$1 \\n[an-margin]
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
13 -
14 \\n[rst2man-indent0]
15 \\n[rst2man-indent1]
16 \\n[rst2man-indent2]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
38 ibportstate allows the port state and port physical state of an IB port
40 relative to the peer port when the port queried is a switch port),
41 or a switch port to be disabled, enabled, or reset. It
42 also allows the link speed/width enabled on any IB port to be adjusted.
58 \fBoff\fP change the port state to disable.
60 \fBon\fP change the port state to enable(only when the current state is disable).
62 \fBspeed and width\fP are allowed on any port
68 \fBespeed\fP is allowed on any port supporting extended link speeds
70 \fBfdr10\fP is allowed on any port supporting fdr10 (An error is
71 indicated if port\(aqs capability mask indicates extended link speeds are
77 setting) (NOTE: Speed and width changes are not effected until the port
80 \fBquery\fP also validates port characteristics (link width, speed,
81 espeed, and fdr10) based on the peer port. This checking is done when
82 the port queried is a switch port as it relies on combined routing (an
84 done on a switch. This peer port validation feature of query op
88 switch port 0 (An error is generated if attempted on external switch
90 key with \(aq0x\(aq or \(aq0\(aq, respectively. If a non\-numeric value (like \(aqx\(aq)
94 .\" Define the common option -L
97 \fB\-L, \-\-Lid\fP The address specified is a LID
98 .\" Define the common option -G
101 \fB\-G, \-\-Guid\fP The address specified is a Port GUID
102 .\" Define the common option -D for Directed routes
105 \fB\-D, \-\-Direct\fP The address specified is a directed route
112 [options] \-D [options] "0" # self port
113 [options] \-D [options] "0,1,2,1,4" # out via port 1, then 2, ...
115 (Note the second number in the path specified must match the port being
116 used. This can be specified using the port selection flag \(aq\-P\(aq or the
117 port found through the automatic selection process.)
122 .\" Define the common option -s
125 \fB\-s, \-\-sm_port <smlid>\fP use \(aqsmlid\(aq as the target lid for SA queries.
126 .SS Port Selection flags
127 .\" Define the common option -C
130 \fB\-C, \-\-Ca <ca_name>\fP use the specified ca_name.
131 .\" Define the common option -P
134 \fB\-P, \-\-Port <ca_port>\fP use the specified ca_port.
135 .\" Explanation of local port selection
137 .SS Local port Selection
139 Multiple port/Multiple CA support: when no IB device or port is specified
141 selects the port to use by the following criteria:
146 the first port that is ACTIVE.
148 if not found, the first port that is UP (physical link up).
151 If a port and/or CA name is specified, the libibumad library attempts
160 ibaddr # use the first port (criteria #1 above)
161 ibaddr \-C mthca1 # pick the best port from "mthca1" only.
162 ibaddr \-P 2 # use the second (active/up) port from the first available IB device.
163 ibaddr \-C mthca0 \-P 2 # use the specified port only.
171 .\" Define the common option -z
174 \fB\-\-config, \-z <config_file>\fP Specify alternate config file.
177 Default: /etc/infiniband-diags/ibdiag.conf
180 .\" Define the common option -t
183 \fB\-t, \-\-timeout <timeout_ms>\fP override the default timeout for the solicited mads.
184 .\" Define the common option -y
188 .B \fB\-y, \-\-m_key <key>\fP
189 use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq)
193 .\" Define the common option -h
196 \fB\-h, \-\-help\fP show the usage message
197 .\" Define the common option -d
201 .B \-d
203 May be used several times (\-ddd or \-d \-d \-d).
205 .\" Define the common option -e
209 .B \-e
212 .\" Define the common option -K
216 .B \fB\-K, \-\-show_keys\fP
219 .\" Define the common option -v
223 .B \fB\-v, \-\-verbose\fP
225 May be used several times (\-vv or \-v \-v \-v)
227 .\" Define the common option -V
230 \fB\-V, \-\-version\fP show the version info.
232 .\" Common text for the config file
234 .SS CONFIG FILE
236 /etc/infiniband-diags/ibdiag.conf
238 A global config file is provided to set some of the common options for all
239 tools. See supplied config file for details.
245 ibportstate \-G 0x2C9000100D051 1 enable # by guid
246 ibportstate \-D 0 1 # (query) by direct route
250 ibportstate \-D 0 1 lid 0x1234 arm # by direct route