User Manual

InfiniBand Fabric UtilitiesRev 2.2-1.0.1
Mellanox Technologies
258
Examples
Run ibdump.
> ibdump
------------------------------------------------
IB device : "mlx4_0"
IB port : 1
Dump file : sniffer.pcap
Sniffer WQEs (max burst size) : 4096
------------------------------------------------
Initiating resources ...
searching for IB devices in host
Port active_mtu=2048
MR was registered with addr=0x60d850, lkey=0x28042601, rkey=0x28042601, flags=0x1
QP was created, QP number=0x4004a
Ready to capture (Press ^c to stop):
9.4.21 ibnodes
Uses the current InfiniBand subnet topology or an already saved topology file and extracts the
InfiniBand nodes (CAs and switches).
Synopsis
ibnodes [<topology-file>]
-w, --write=<file> dump file name (default "sniffer.pcap")
'-' stands for stdout - enables piping to tcpdump or
tshark.
-o, --output=<file> alias for the '-w' option. Do not use - for backward
compatibility
-b, --max-burst=<log2 burst>
l
og2 of the maximal burst size that can be captured with
no packets loss.
Each entry takes ~ MTU bytes of memory (default 12 -
4096 entries)
-s, --silent do not print progress indication.
--mem-mode <size> when specified, packets are written to file only after
the capture is stopped. It is faster than default mode
(less chance for packet loss), but takes more memory. In
this mode, ibdump stops after <size> bytes are captured
--decap Decapsulate port mirroring headers. Should be used when
capturing RSPAN traffic.
-h, --help Display this help screen.
-v, --version Print version information.