User guide
G–Commands and Files
Summary and Descriptions of Commands
IB0054606-02 A G-21
Example
iba_manage_switch -t 0x00066a00e3001234 -f
QLogic_12000_V1_firmware.7.0.0.0.27.emfw fwUpdate
iba_manage_switch -t 0x00066a00e3001234 reboot
iba_manage_switch -t 0x00066a00e3001234 showFwVersion
iba_manage_switch -t 0x00066a00e3001234 -s i12k1234
setIBNodeDesc
iba_manage_switch -t 0x00066a00e3001234 -C mtucap -i 4
setConfigValue
iba_manage_switch -H
The results are recorded in iba_manage_switch.res file in the current
directory. Use the -x option to clobber and create a new file.
iba_packet_capture
This tool operates in cooperation with IB snoop device in the QIB driver. It
enables packet capture and subsequent dump to file, the format of which is
compatible with the Wireshark tool. Wireshark provides IB packet analysis.
The snoop_enable variable must be set to 1 (enabled) in the modprobe.conf
/ib_qib.conf file to create snoop devices and capture devices. If
snoop_enable is set to 0 (disable) then no snoop and capture devices are
created.
This tool captures packets in memory in a large ring buffer and dumps the packet
information to a file when it is instructed by a set option. The tool supports filtering
of several IB fields. The tool is primarily intended for internal Intel use.
Edit the file /etc/modprobe.d/ib_qib.conf to add snoop_enable=1 to the
options line. If the file does not exist, it can be created with the following text:
options ib_qib snoop_enable=1
Usage
iba_packet_capture [-o outfile] [-d devfile] [-f filterfile] [-a
alarm] [-s maxblocks] [-v]
Options
-o
outfile – output file for captured packets - default is packetDump.pcap
-d
devfile – snoop device file for capturing packets - default is
/dev/ipath_capture_00_01
-f
filterfile – filter file used for filtering - if absent, no filtering