1SMPDUMP(8)                    Open IB Diagnostics                   SMPDUMP(8)
2
3
4

NAME

6       smpdump - dump InfiniBand subnet management attributes
7

SYNOPSIS

9       smpdump [options] <dlid|dr_path> <attribute> [attribute_modifier]
10

DESCRIPTION

12       smpdump  is a general purpose SMP utility which gets SM attributes from
13       a specified SMA. The result is dumped in hex by default.
14

OPTIONS

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

FILES

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

EXAMPLES

95       Direct Routed Examples
96
97       ::     smpdump -D 0,1,2,3,5 16 # NODE DESC smpdump -D 0,1,2  0x15  2  #
98              PORT INFO, port 2
99
100       LID Routed Examples
101
102       ::     smpdump  3  0x15 2        # PORT INFO, lid 3 port 2 smpdump 0xa0
103              0x11       # NODE INFO, lid 0xa0
104

SEE ALSO

106       smpquery (8)
107

AUTHOR

109       Hal Rosenstock
110              < halr@voltaire.com >
111
112
113
114
115                                  2017-08-21                        SMPDUMP(8)
Impressum