1IBADDR(8)                     OpenIB Diagnostics                     IBADDR(8)
2
3
4

NAME

6       IBADDR - query InfiniBand address(es)
7

SYNOPSIS

9       ibaddr [options]
10

DESCRIPTION

12       Display  the  lid  (and  range)  as well as the GID address of the port
13       specified (by DR path, lid, or GUID) or the local port by default.
14
15       Note: this utility can be used as simple address resolver.
16

OPTIONS

18       --gid_show, -g show gid address only
19
20       --lid_show, -l show lid range only
21
22       --Lid_show, -L show lid range (in decimal) only
23
24   Addressing Flags
25       -D, --Direct     The address specified is a directed route
26
27          Examples:
28             [options] -D [options] "0"          # self port
29             [options] -D [options] "0,1,2,1,4"  # out via port 1, then 2, ...
30
31             (Note the second number in the path specified must match the port being
32             used.  This can be specified using the port selection flag '-P' or the
33             port found through the automatic selection process.)
34
35       -G, --Guid     The address specified is a Port GUID
36
37       -s, --sm_port <smlid>     use 'smlid' as the target lid for SA queries.
38
39   Debugging flags
40       -d     raise the IB debugging level.  May be used several  times  (-ddd
41              or -d -d -d).
42
43       -e     show send and receive errors (timeouts and others)
44
45       -h, --help      show the usage message
46
47       -v, --verbose
48              increase  the  application verbosity level.  May be used several
49              times (-vv or -v -v -v)
50
51       -V, --version     show the version info.
52
53   Port Selection flags
54       -C, --Ca <ca_name>    use the specified ca_name.
55
56       -P, --Port <ca_port>    use the specified ca_port.
57
58   Local port Selection
59       Multiple port/Multiple CA support: when no IB device or port is  speciā€
60       fied  (see  the  "local  umad parameters" below), the libibumad library
61       selects the port to use by the following criteria:
62
63          1. the first port that is ACTIVE.
64
65          2. if not found, the first port that is UP (physical link up).
66
67          If a port  and/or  CA  name  is  specified,  the  libibumad  library
68          attempts  to  fulfill  the  user request, and will fail if it is not
69          possible.
70
71          For example:
72
73              ibaddr                 # use the first port (criteria #1 above)
74              ibaddr -C mthca1       # pick the best port from "mthca1" only.
75              ibaddr -P 2            # use the second (active/up) port from the first available IB device.
76              ibaddr -C mthca0 -P 2  # use the specified port only.
77
78   Configuration flags
79       -y, --m_key <key>
80              use the specified M_key for requests. If non-numeric value (like
81              'x') is specified then a value will be prompted for.
82
83       -t,  --timeout  <timeout_ms>  override  the  default  timeout  for  the
84       solicited mads.
85
86       --config, -z  <config_file> Specify alternate config file.
87          Default: /etc/infiniband-diags/ibdiag.conf
88

FILES

90   CONFIG FILE
91       /etc/infiniband-diags/ibdiag.conf
92
93       A global config file is provided to set some of the common options  for
94       all tools.  See supplied config file for details.
95

EXAMPLES

97          ibaddr                  # local port\'s address
98          ibaddr 32               # show lid range and gid of lid 32
99          ibaddr -G 0x8f1040023   # same but using guid address
100          ibaddr -l 32            # show lid range only
101          ibaddr -L 32            # show decimal lid range only
102          ibaddr -g 32            # show gid address only
103

SEE ALSO

105       ibroute (8), ibtracert (8)
106

AUTHOR

108       Hal Rosenstock
109              < halr@voltaire.com >
110
111
112
113
114                                                                     IBADDR(8)
Impressum