1 .TH IBADDR 8 "June 18, 2007" "OpenIB" "OpenIB Diagnostics"
4 ibaddr \- query InfiniBand address(es)
8 [\-d(ebug)] [\-D(irect)] [\-G(uid)] [\-l(id_show)] [\-g(id_show)] [\-C ca_name] [\-P ca_port] [\-t(imeout) timeout_ms] [\-V(ersion)] [\-h(elp)] [<lid | dr_path | guid>]
12 Display the lid (and range) as well as the GID address of the
13 port specified (by DR path, lid, or GUID) or the local port by default.
15 Note: this utility can be used as simple address resolver.
21 \fB\-G\fR, \fB\-\-Guid\fR
22 show lid range and gid for GUID address
24 \fB\-l\fR, \fB\-\-lid_show\fR
27 \fB\-L\fR, \fB\-\-Lid_show\fR
28 show lid range (in decimal) only
30 \fB\-g\fR, \fB\-\-gid_show\fR
35 Most OpenIB diagnostics take the following common flags. The exact list of
36 supported flags per utility can be found in the usage message and can be shown
37 using the util_name -h syntax.
41 \-d raise the IB debugging level.
42 May be used several times (-ddd or -d -d -d).
44 \-e show send and receive errors (timeouts and others)
46 \-h show the usage message
48 \-v increase the application verbosity level.
49 May be used several times (-vv or -v -v -v)
51 \-V show the version info.
55 \-D use directed path address arguments. The path
56 is a comma separated list of out ports.
59 "0,1,2,1,4" # out via port 1, then 2, ...
61 \-G use GUID address argument. In most cases, it is the Port GUID.
65 \-s <smlid> use 'smlid' as the target lid for SM/SA queries.
69 \-C <ca_name> use the specified ca_name.
71 \-P <ca_port> use the specified ca_port.
73 \-t <timeout_ms> override the default timeout for the solicited mads.
75 Multiple CA/Multiple Port Support
77 When no IB device or port is specified, the port to use is selected
78 by the following criteria:
80 1. the first port that is ACTIVE.
82 2. if not found, the first port that is UP (physical link up).
84 If a port and/or CA name is specified, the user request is
85 attempted to be fulfilled, and will fail if it is not possible.
90 ibaddr # local port\'s address
92 ibaddr 32 # show lid range and gid of lid 32
94 ibaddr -G 0x8f1040023 # same but using guid address
96 ibaddr -l 32 # show lid range only
98 ibaddr -L 32 # show decimal lid range only
100 ibaddr -g 32 # show gid address only
109 .RI < halr@voltaire.com >