1219820SjeffDiagnostic Tools
2219820Sjeffshaharf@voltaire.com, halr@voltaire.com
3219820Sjeff
4219820SjeffGeneral:
5219820Sjeff
6219820SjeffModel of operation: All utilities use direct MAD access to perform their
7219820Sjeffoperations. Operations that require QP 0 mads only, may use direct routed
8219820Sjeffmads, and therefore may work even in unconfigured subnets. Almost all
9219820Sjeffutilities can operate without accessing the SM, unless GUID to lid translation
10219820Sjeffis required.
11219820Sjeff
12219820SjeffDependencies: Most utilities depend on libibmad and libibumad.
13219820Sjeff	All utilities depend on the ib_umad kernel module.
14219820Sjeff
15219820SjeffMultiple port/Multiple CA support: when no IB device or port is specified
16219820Sjeff	(see the "local umad parameters" below), the libibumad library
17219820Sjeff	selects the port to use by the following criteria:
18219820Sjeff	1. the first port that is ACTIVE.
19219820Sjeff	2. if not found, the first port that is UP (physical link up).
20219820Sjeff
21219820Sjeff	If a port and/or CA name is specified, the libibumad library
22219820Sjeff	attempts to fulfill the user request, and will fail if it is not
23219820Sjeff	possible.
24219820Sjeff	For example:
25219820Sjeff	ibaddr 			# use the 'best port'
26219820Sjeff	ibaddr -C mthca1	# pick the best port from mthca1 only.
27219820Sjeff	ibaddr -P 2		# use the second (active/up) port from the
28219820Sjeff				  first available IB device.
29219820Sjeff	ibaddr -C mthca0 -P 2	# use the specified port only.
30219820Sjeff
31219820SjeffCommon options & flags:
32219820Sjeff	Most diagnostics take the following flags. The exact list of supported
33219820Sjeff	flags per utility can be found in the usage message and can be shown
34219820Sjeff	using util_name -h syntax.
35219820Sjeff
36219820Sjeff	# Debugging flags
37219820Sjeff	-d	raise the IB debugging level. May be used
38219820Sjeff		several times (-ddd or -d -d -d).
39219820Sjeff	-e	show umad send receive errors (timeouts and others)
40219820Sjeff	-h	show the usage message
41219820Sjeff	-v	increase the application verbosity level.
42219820Sjeff		May be used several times (-vv or -v -v -v)
43219820Sjeff	-V	show the internal version info.
44219820Sjeff
45219820Sjeff	# Addressing flags
46219820Sjeff	-D	use directed path address arguments. The path
47219820Sjeff		is a comma separated list of out ports.
48219820Sjeff		Examples:
49219820Sjeff		"0" 		# self port
50219820Sjeff		"0,1,2,1,4"	# out via port 1, then 2, ...
51219820Sjeff	-G	use GUID address arguments. In most cases, it is the Port GUID.
52219820Sjeff		Examples:
53219820Sjeff		"0x08f1040023"
54219820Sjeff	-s <smlid>	use 'smlid' as the target lid for SA queries.
55219820Sjeff
56219820Sjeff	# Local umad parameters:
57219820Sjeff	-C <ca_name>	use the specified ca_name.
58219820Sjeff	-P <ca_port>	use the specified ca_port.
59219820Sjeff	-t <timeout_ms>	override the default timeout for the solicited mads.
60219820Sjeff
61219820SjeffCLI notation: all utilities use the POSIX style notation,
62219820Sjeff	meaning that all options (flags) must precede all arguments
63219820Sjeff	(parameters).
64219820Sjeff
65219820Sjeff
66219820SjeffUtilities descriptions:
67219820Sjeff
68219820Sjeff1. ibstatus
69219820Sjeff
70219820SjeffDescription:
71219820Sjeffibstatus is a script which displays basic information obtained from the local
72219820SjeffIB driver. Output includes LID, SMLID, port state, link width active, and port
73219820Sjeffphysical state.
74219820Sjeff
75219820SjeffSyntax:
76219820Sjeffibstatus [-h] [devname[:port]]...
77219820Sjeff
78219820SjeffExamples:
79219820Sjeff	ibstatus		# display status of all IB ports
80219820Sjeff	ibstatus mthca1 	# status of mthca1 ports
81219820Sjeff	ibstatus mthca1:1 mthca0:2	# show status of specified ports
82219820Sjeff
83219820SjeffSee also:
84219820Sjeff	ibstat
85219820Sjeff
86219820Sjeff2. ibstat
87219820Sjeff
88219820SjeffDescription:
89219820SjeffSimilar to the ibstatus utility but implemented as a binary and not a script.
90219820SjeffIt has options to list CAs and/or ports.
91219820Sjeff
92219820SjeffSyntax:
93219820Sjeffibstat [-d(ebug) -l(ist_of_cas) -p(ort_list) -s(hort)] <ca_name> [portnum]
94219820Sjeff
95219820SjeffExamples:
96219820Sjeff	ibstat			# display status of all IB ports
97219820Sjeff	ibstat mthca1 		# status of mthca1 ports
98219820Sjeff	ibstat mthca1 2		# show status of specified ports
99219820Sjeff	ibstat -p mthca0	# list the port guids of mthca0
100219820Sjeff	ibstat -l		# list all CA names
101219820Sjeff
102219820SjeffSee also:
103219820Sjeff	ibstatus
104219820Sjeff
105219820Sjeff3. ibroute
106219820Sjeff
107219820SjeffDescription:
108219820Sjeffibroute uses SMPs to display the forwarding tables (unicast
109219820Sjeff(LinearForwardingTable or LFT) or multicast (MulticastForwardingTable or MFT))
110219820Sjefffor the specified switch LID and the optional lid (mlid) range.
111219820SjeffThe default range is all valid entries in the range 1...FDBTop.
112219820Sjeff
113219820SjeffSyntax:
114219820Sjeffibroute [options] <switch_addr> [<startlid> [<endlid>]]]
115219820Sjeff
116219820SjeffNon standard flags:
117219820Sjeff	-a	show all lids in range, even invalid entries.
118219820Sjeff	-n	do not try to resolve destinations.
119219820Sjeff	-M 	show multicast forwarding tables. In this case the range
120219820Sjeff		parameters are specifying mlid range.
121219820Sjeff
122219820SjeffExamples:
123219820Sjeff	ibroute 2		# dump all valid entries of switch lid 2
124219820Sjeff	ibroute 2 15		# dump entries in the range 15...FDBTop.
125219820Sjeff	ibroute -a 2 10 20	# dump all entries in the range 10..20
126219820Sjeff	ibroute -n 2		# simple format
127219820Sjeff	ibroute -M 2		# show multicast tables
128219820Sjeff
129219820SjeffSee also:
130219820Sjeff	ibtracert
131219820Sjeff
132219820Sjeff4. ibtracert
133219820Sjeff
134219820SjeffDescription:
135219820Sjeffibtracert uses SMPs to trace the path from a source GID/LID to a
136219820Sjeffdestination GID/LID. Each hop along the path is displayed until the destination
137219820Sjeffis reached or a hop does not respond. By using the -m option, multicast path
138219820Sjefftracing can be performed between source and destination nodes.
139219820Sjeff
140219820SjeffSyntax:
141219820Sjeffibtracert [options] <src-addr> <dest-addr>
142219820Sjeff
143219820SjeffNon standard flags:
144219820Sjeff	-n		simple format; don't show additional information.
145219820Sjeff	-m <mlid>	show the multicast trace of the specified mlid.
146219820Sjeff
147219820SjeffExamples:
148219820Sjeff	ibtracert 2 23		# show trace between lid 2 and 23
149219820Sjeff	ibtracert -m 0xc000 3 5 # show multicast trace between lid 3 and 5
150219820Sjeff				   for mcast lid 0xc000.
151219820Sjeff
152219820Sjeff5. smpquery
153219820Sjeff
154219820SjeffDescription:
155219820Sjeffsmpquery allows a basic subset of standard SMP queries including the following:
156219820Sjeffnode info, node description, switch info, port info. Fields are displayed in
157219820Sjeffhuman readable format.
158219820Sjeff
159219820SjeffSyntax:
160219820Sjeffsmpquery [options] <op> <dest_addr> [op_params]
161219820Sjeff
162219820SjeffCurrent supported operations and their parameters:
163219820Sjeff	nodeinfo <addr>
164219820Sjeff	nodedesc <addr>
165219820Sjeff	portinfo <addr> [<portnum>]	# default port is zero
166219820Sjeff	switchinfo <addr>
167219820Sjeff        pkeys <addr> [<portnum>]
168219820Sjeff        sl2vl <addr> [<portnum>]
169219820Sjeff        vlarb <addr> [<portnum>]
170219820Sjeff
171219820SjeffExamples:
172219820Sjeff	smpquery nodeinfo 2		# show nodeinfo for lid 2
173219820Sjeff	smpquery portinfo 2 5		# show portinfo for lid 2 port 5
174219820Sjeff
175219820Sjeff6. smpdump
176219820Sjeff
177219820SjeffDescription:
178219820Sjeffsmpdump is a general purpose SMP utility which gets SM attributes from a
179219820Sjeffspecified SMA. The result is dumped in hex by default.
180219820Sjeff
181219820SjeffSyntax:
182219820Sjeffsmpdump [options] <dest_addr> <attr> [mod]
183219820Sjeff
184219820SjeffNon standard flags:
185219820Sjeff	-s	show output as string
186219820Sjeff
187219820SjeffExamples:
188219820Sjeff	smpdump -D 0,1,2 0x15 2		# port info, port 2
189219820Sjeff	smpdump 3 0x15 2		# port info, lid 3 port 2
190219820Sjeff
191219820Sjeff7. ibaddr
192219820Sjeff
193219820SjeffDescription:
194219820Sjeffibaddr can be used to show the lid and GID addresses of the specified port,
195219820Sjeffor the local port by default.
196219820SjeffNote: this utility can be used as simple address resolver.
197219820Sjeff
198219820SjeffSyntax:
199219820Sjeffibaddr [options] [<dest_addr>]
200219820Sjeff
201219820SjeffExamples:
202219820Sjeff	ibaddr			# show local address
203219820Sjeff	ibaddr 2		# show address of the specified port lid
204219820Sjeff	ibaddr -G 0x8f1040023	# show address of the specified port guid
205219820Sjeff
206219820Sjeff8. sminfo
207219820Sjeff
208219820SjeffDescription:
209219820Sjeffsminfo issue and dumps the output of a sminfo query in human readable format.
210219820SjeffThe target SM is the one listed in the local port info, or the SM specified
211219820Sjeffby the optional SM lid or by the SM direct routed path.
212219820SjeffNote: using sminfo for any purposes other then simple query may be very
213219820Sjeffdangerous, and may result in a malfunction of the target SM.
214219820Sjeff
215219820SjeffSyntax:
216219820Sjeffsminfo [options] <sm_lid|sm_dr_path> [sminfo_modifier]
217219820Sjeff
218219820SjeffNon standard flags:
219219820Sjeff	-s <state>	# use the specified state in sminfo mad
220219820Sjeff	-p <priority>	# use the specified priority in sminfo mad
221219820Sjeff	-a <activity>	# use the specified activity in sminfo mad
222219820Sjeff
223219820SjeffExamples:
224219820Sjeff	sminfo			# show sminfo of SM listed in local portinfo
225219820Sjeff	sminfo 2		# query SM on port lid 2
226219820Sjeff
227219820Sjeff9. perfquery
228219820Sjeff
229219820SjeffDescription:
230219820Sjeffperfquery uses PerfMgt GMPs to obtain the PortCounters (basic performance
231219820Sjeffand error counters) from the PMA at the node specified. Optionally reset all
232219820Sjeffor
233219820Sjeff
234219820SjeffSyntax:
235219820Sjeffperfquery [options]  [<lid|guid> [[port] [reset_mask]]]
236219820Sjeff
237219820SjeffNon standard flags:
238219820Sjeff	-a	show aggregated counters for all ports of the destination lid.
239219820Sjeff	-r	reset counters after read.
240219820Sjeff	-R	only reset counters.
241219820Sjeff
242219820SjeffExamples:
243219820Sjeff	perfquery               # read local port's performance counters
244219820Sjeff	perfquery 32 1          # read performance counters from lid 32, port 1
245219820Sjeff	perfquery -a 32         # read node aggregated performance counters
246219820Sjeff	perfquery -r 32 1	# read performance counters and reset
247219820Sjeff	perfquery -R 32 1	# reset performance counters of port 1 only
248219820Sjeff	perfquery -R -a 32	# reset performance counters of all ports
249219820Sjeff	perfquery -R 32 2 0xf000  # reset only non-error counters of port 2
250219820Sjeff
251219820Sjeff10. ibping
252219820Sjeff
253219820SjeffDescription:
254219820Sjeffibping uses vendor mads to validate connectivity between IB nodes.
255219820SjeffOn exit, (IP) ping like output is show. ibping is run as client/server.
256219820SjeffDefault is to run as client. Note also that a default ping server is
257219820Sjeffimplemented within the kernel.
258219820Sjeff
259219820SjeffSyntax:
260219820Sjeffibping [options] <dest lid|guid>
261219820Sjeff
262219820SjeffNon standard flags:
263219820Sjeff	-c <count>	stop after count packets
264219820Sjeff	-f		flood destination: send packets back to back w/o delay
265219820Sjeff	-o <oui>	use specified OUI number to multiplex vendor mads
266219820Sjeff	-S		start in server mode (do not return)
267219820Sjeff
268219820Sjeff11. ibnetdiscover
269219820Sjeff
270219820SjeffDescription:
271219820Sjeffibnetdiscover performs IB subnet discovery and outputs a human readable
272219820Sjefftopology file. GUIDs, node types, and port numbers are displayed
273219820Sjeffas well as port LIDs and NodeDescriptions. All nodes (and links) are displayed
274219820Sjeff(full topology). Optionally this utility can be used to list the current
275219820Sjeffconnected nodes. The output is printed to the standard output unless a
276219820Sjefftopology file is specified.
277219820Sjeff
278219820SjeffSyntax:
279219820Sjeffibnetdiscover [options] [<topology-filename>]
280219820Sjeff
281219820SjeffNon standard flags:
282219820Sjeff	-l	List of connected nodes
283219820Sjeff	-H	List of connected HCAs
284219820Sjeff	-S	List of connected switches
285219820Sjeff	-g	Grouping
286219820Sjeff
287219820Sjeff12. ibhosts
288219820Sjeff
289219820SjeffDescription:
290219820Sjeffibhosts either walks the IB subnet topology or uses an already saved topology
291219820Sjefffile and extracts the CA nodes.
292219820Sjeff
293219820SjeffSyntax:
294219820Sjeffibhosts [-h] [<topology-file>]
295219820Sjeff
296219820SjeffDependencies:
297219820Sjeffibnetdiscover, ibnetdiscover format
298219820Sjeff
299219820Sjeff13. ibswitches
300219820Sjeff
301219820SjeffDescription:
302219820Sjeffibswitches either walks the IB subnet topology or uses an already saved
303219820Sjefftopology file and extracts the IB switches.
304219820Sjeff
305219820SjeffSyntax:
306219820Sjeffibswitches [-h] [<topology-file>]
307219820Sjeff
308219820SjeffDependencies:
309219820Sjeffibnetdiscover, ibnetdiscover format
310219820Sjeff
311219820Sjeff14. ibchecknet
312219820Sjeff
313219820SjeffDescription:
314219820Sjeffibchecknet uses a full topology file that was created by ibnetdiscover,
315219820Sjeffscans the network to validate the connectivity and reports errors
316219820Sjeff(from port counters).
317219820Sjeff
318219820SjeffSyntax:
319219820Sjeffibchecknet [-h] [<topology-file>]
320219820Sjeff
321219820SjeffDependencies:
322219820Sjeffibnetdiscover, ibnetdiscover format, ibchecknode, ibcheckport, ibcheckerrs
323219820Sjeff
324219820Sjeff15. ibcheckport
325219820Sjeff
326219820SjeffDescription:
327219820SjeffCheck connectivity and do some simple sanity checks for the specified port.
328219820SjeffPort address is lid unless -G option is used to specify a GUID address.
329219820Sjeff
330219820SjeffSyntax:
331219820Sjeffibcheckport [-h] [-G] <lid|guid> <port_number>
332219820Sjeff
333219820SjeffExample:
334219820Sjeff	ibcheckport 2 3		# check lid 2 port 3
335219820Sjeff
336219820SjeffDependencies:
337219820Sjeffsmpquery, smpquery output format, ibaddr
338219820Sjeff
339219820Sjeff16. ibchecknode
340219820Sjeff
341219820SjeffDescription:
342219820SjeffCheck connectivity and do some simple sanity checks for the specified node.
343219820SjeffPort address is lid unless -G option is used to specify a GUID address.
344219820Sjeff
345219820SjeffSyntax:
346219820Sjeffibchecknode [-h] [-G] <lid|guid>
347219820Sjeff
348219820SjeffExample:
349219820Sjeff	ibchecknode 2		# check node via lid 2
350219820Sjeff
351219820SjeffDependencies:
352219820Sjeffsmpquery, smpquery output format, ibaddr
353219820Sjeff
354219820SjeffUsage:
355219820Sjeff
356219820Sjeff17. ibcheckerrs
357219820Sjeff
358219820SjeffDescription:
359219820SjeffCheck specified port (or node) and report errors that surpassed their predefined
360219820Sjeffthreshold. Port address is lid unless -G option is used to specify a GUID
361219820Sjeffaddress. The predefined thresholds can be dumped using the -s option, and a
362219820Sjeffuser defined threshold_file (using the same format as the dump) can be
363219820Sjeffspecified using the -t <file> option.
364219820Sjeff
365219820SjeffSyntax:
366219820Sjeffibcheckerrs [-h] [-G] [-t <threshold_file>] [-s(how_thresholds)] <lid|guid> [<port>]
367219820Sjeff
368219820SjeffExamples:
369219820Sjeff	ibcheckerrs 2		# check aggregated node counter for lid 2
370219820Sjeff	ibcheckerrs 2	4	# check port counters for lid 2 port 4
371219820Sjeff	ibcheckerrs -t xxx 2	# check node using xxx threshold file
372219820Sjeff
373219820SjeffDependencies:
374219820Sjeffperfquery, perfquery output format, ibaddr
375219820Sjeff
376219820Sjeff18. ibportstate
377219820Sjeff
378219820SjeffDescription:
379219820Sjeffibportstate allows the port state and port physical state of an IB port
380219820Sjeffto be queried or a switch port to be disabled or enabled.
381219820Sjeff
382219820SjeffSyntax:
383219820Sjeffibportstate [-d(ebug) -e(rr_show) -v(erbose) -D(irect) -G(uid) -s smlid
384219820Sjeff-V(ersion) -C ca_name -P ca_port -t timeout_ms] <dest dr_path|lid|guid>
385219820Sjeff<portnum> [<op>]
386219820Sjeff	supported ops: enable, disable, query
387219820Sjeff
388219820SjeffExamples:
389219820Sjeff	ibportstate 3 1 disable                 # by lid
390219820Sjeff	ibportstate -G 0x2C9000100D051 1 enable # by guid
391219820Sjeff	ibportstate -D 0 1                      # by direct route
392219820Sjeff
393219820Sjeff19. ibcheckwidth
394219820Sjeff
395219820SjeffDescription:
396219820Sjeffibcheckwidth uses a full topology file that was created by ibnetdiscover,
397219820Sjeffscans the network to validate the active link widths and reports any 1x
398219820Sjefflinks.
399219820Sjeff
400219820SjeffSyntax:
401219820Sjeffibcheckwidth [-h] [<topology-file>]
402219820Sjeff
403219820SjeffDependencies:
404219820Sjeffibnetdiscover, ibnetdiscover format, ibchecknode, ibcheckportwidth
405219820Sjeff
406219820Sjeff20. ibcheckportwidth
407219820Sjeff
408219820SjeffDescription:
409219820SjeffCheck connectivity and check the specified port for 1x link width.
410219820SjeffPort address is lid unless -G option is used to specify a GUID address.
411219820Sjeff
412219820SjeffSyntax:
413219820Sjeffibcheckportwidth [-h] [-G] <lid|guid> <port>
414219820Sjeff
415219820SjeffExample:
416219820Sjeff        ibcheckportwidth 2 3         # check lid 2 port 3
417219820Sjeff
418219820SjeffDependencies:
419219820Sjeffsmpquery, smpquery output format, ibaddr
420219820Sjeff
421219820Sjeff21. ibcheckstate
422219820Sjeff
423219820SjeffDescription:
424219820Sjeffibcheckstate uses a full topology file that was created by ibnetdiscover,
425219820Sjeffscans the network to validate the port state and port physical state,
426219820Sjeffand reports any ports which have a port state other than Active or
427219820Sjeffa port physical state other than LinkUp.
428219820Sjeff
429219820SjeffSyntax:
430219820Sjeffibcheckstate [-h] [<topology-file>]
431219820Sjeff
432219820SjeffDependencies:
433219820Sjeffibnetdiscover, ibnetdiscover format, ibchecknode, ibcheckportstate
434219820Sjeff
435219820Sjeff22. ibcheckportstate
436219820Sjeff
437219820SjeffDescription:
438219820SjeffCheck connectivity and check the specified port for proper port state
439219820Sjeff(Active) and port physical state (LinkUp).
440219820SjeffPort address is lid unless -G option is used to specify a GUID address.
441219820Sjeff
442219820Sjeffyntax:
443219820Sjeffibcheckportstate [-h] [-G] <lid|guid> <port_number>
444219820Sjeff
445219820SjeffExample:
446219820Sjeff        ibcheckportstate 2 3         # check lid 2 port 3
447219820Sjeff
448219820SjeffDependencies:
449219820Sjeffsmpquery, smpquery output format, ibaddr
450219820Sjeff
451219820Sjeff23. ibcheckerrors
452219820Sjeff
453219820Sjeffibcheckerrors uses a full topology file that was created by ibnetdiscover,
454219820Sjeffscans the network to validate the connectivity and reports errors
455219820Sjeff(from port counters).
456219820Sjeff
457219820SjeffSyntax:
458219820Sjeffibnetcheckerrors [-h] [<topology-file>]
459219820Sjeff
460219820SjeffDependencies:
461219820Sjeffibnetdiscover, ibnetdiscover format, ibchecknode, ibcheckport, ibcheckerrs
462219820Sjeff
463219820Sjeff24. ibdiscover.pl
464219820Sjeff
465219820Sjeffibdiscover.pl uses a topology file create by ibnetdiscover and a discover.map
466219820Sjefffile which the network administrator creates which indicates the nodes
467219820Sjeffto be expected and a ibdiscover.topo file which is the expected connectivity
468219820Sjeffand produces a new connectivity file (discover.topo.new) and outputs
469219820Sjeffthe changes to stdout. The network administrator can choose to replace
470219820Sjeffthe "old" topo file with the new one or certain changes in.
471219820Sjeff
472219820SjeffThe syntax of the ibdiscover.map file is:
473219820Sjeff<nodeGUID>|port|"Text for node"|<NodeDescription from ibnetdiscover format>
474219820Sjeffe.g.
475219820Sjeff8f10400410015|8|"ISR 6000"|# SW-6IB4 Voltaire port 0 lid 5
476219820Sjeff8f10403960558|2|"HCA 1"|# MT23108 InfiniHost Mellanox Technologies
477219820Sjeff
478219820SjeffThe syntax of the old and new topo files (ibdiscover.topo and
479219820Sjeffibdiscover.topo.new) are:
480219820Sjeff<LocalPort>|<LocalNodeGUID>|<RemotePort>|<RemoteNodeGUID>
481219820Sjeffe.g.
482219820Sjeff10|5442ba00003080|1|8f10400410015
483219820Sjeff
484219820SjeffThese topo files are produced by the ibdiscover.pl tool.
485219820Sjeff
486219820SjeffSyntax:
487219820Sjeffibnetdiscover | ibdiscover.pl
488219820Sjeff
489219820SjeffDependencies:
490219820Sjeffibnetdiscover, ibnetdiscover format
491219820Sjeff
492219820Sjeff25. ibnodes
493219820Sjeff
494219820SjeffDescription:
495219820Sjeffibnodes either walks the IB subnet topology or uses an already saved topology
496219820Sjefffile and extracts the IB nodes (CAs and switches).
497219820Sjeff
498219820SjeffSyntax:
499219820Sjeffibnodes [<topology-file>]
500219820Sjeff
501219820SjeffDependencies:
502219820Sjeffibnetdiscover, ibnetdiscover format
503219820Sjeff
504219820Sjeff26. ibclearerrors
505219820Sjeff
506219820SjeffDescription:
507219820Sjeffibclearerrors clears the PMA error counters in PortCounters by either walking
508219820Sjeffthe IB subnet topology or using an already saved topology file.
509219820Sjeff
510219820SjeffSyntax:
511219820Sjeffibclearerrors [-h] [<topology-file>]
512219820Sjeff
513219820SjeffDependencies:
514219820Sjeffibnetdiscover, ibnetdiscover format, perfquery
515219820Sjeff
516219820Sjeff27. ibclearcounters
517219820Sjeff
518219820SjeffDescription:
519219820Sjeffibclearcounters clears the PMA port counters by either walking
520219820Sjeffthe IB subnet topology or using an already saved topology file.
521219820Sjeff
522219820SjeffSyntax:
523219820Sjeffibclearcounters [-h] [<topology-file>]
524219820Sjeff
525219820SjeffDependencies:
526219820Sjeffibnetdiscover, ibnetdiscover format, perfquery
527219820Sjeff
528219820Sjeff28. saquery
529219820Sjeff
530219820SjeffDescription:
531219820SjeffIssue some SA queries.
532219820Sjeff
533219820SjeffSyntax:
534219820SjeffUsage: saquery [-h -d -P -N -L -G -s -g][<name>]
535219820Sjeff   Queries node records by default
536219820Sjeff   -d enable debugging
537219820Sjeff   -P get PathRecord info
538219820Sjeff   -N get NodeRecord info
539219820Sjeff   -L Return just the Lid of the name specified
540219820Sjeff   -G Return just the Guid of the name specified
541219820Sjeff   -s Return the PortInfoRecords with isSM capability mask bit on
542219820Sjeff   -g get multicast group info
543219820Sjeff
544219820SjeffDependencies:
545219820SjeffOpenSM libvendor, OpenSM libopensm, libibumad
546219820Sjeff
547219820Sjeff29. ibsysstat
548219820Sjeff
549219820SjeffDescription:
550219820Sjeffibsysstat  uses  vendor  mads to validate connectivity between IB nodes
551219820Sjeffand obtain other information about the IB node.  ibsysstat  is  run  as
552219820Sjeffclient/server. Default is to run as client.
553219820Sjeff
554219820SjeffSyntax:
555219820Sjeffibsysstat [options] <dest lid|guid> [<op>]
556219820Sjeff
557219820SjeffNon standard flags:
558219820Sjeff       Current supported operations:
559219820Sjeff               ping - verify connectivity to server (default)
560219820Sjeff               host - obtain host information from server
561219820Sjeff               cpu  - obtain cpu information from server
562219820Sjeff        -o <oui>        use specified OUI number to multiplex vendor mads
563219820Sjeff        -S              start in server mode (do not return)
564219820Sjeff
565