Mellanox / InfiniBand Keyboard Shortcuts

Complete Mellanox / InfiniBand keyboard shortcuts and commands reference — 19 shortcuts across 3 categories. Quick reference cheat sheet for Windows & Mac.

InfiniBand fabrics from NVIDIA (formerly Mellanox) are diagnosed with a set of small tools that ship with the OFED drivers, and this page groups them by question: is the port up, is the link at the right speed, can this node reach that one at full bandwidth, and what firmware is the card running. The notes follow that order, which is also the order to run them in when a GPU cluster's collective operations are slow.

IB Status Check (8)

ShortcutActionDescription
ibstatPort statusCheck detailed IB HCA port status.
ibstatusStatus summarySummarize all IB port status.
ibv_devinfoDevice infoShow detailed IB device information.
iblinkinfoLink infoShow all link status in the subnet.
ibhostsList hostsList all IB hosts in the subnet.
ibswitchesList switchesList all IB switches in the subnet.
perfqueryPerf countersQuery port performance counters.
smpquery portinfo [LID] [port]Port detailQuery SMP info for specific port.

RDMA & Performance (6)

ShortcutActionDescription
ib_write_bwWrite bandwidth testMeasure RDMA Write bandwidth.
ib_read_bwRead bandwidth testMeasure RDMA Read bandwidth.
ib_send_latSend latency testMeasure RDMA Send latency.
ibping [LID]IB pingPing test InfiniBand connection.
opensmSubnet managerStart OpenSM subnet manager.
mlnx_tunePerformance tuningAuto-tune Mellanox NIC performance.

Firmware & Config (5)

ShortcutActionDescription
mst startStart MSTStart Mellanox Software Tools driver.
mst statusMST statusCheck MST device status.
mlxconfig -d [dev] queryQuery NIC configQuery NIC configuration.
flint -d [dev] queryCheck firmwareCheck NIC firmware version.
mlxfwmanagerFirmware managerManage and update Mellanox firmware.
📜 Source: NVIDIA Networking documentation — InfiniBand tools (OFED / MFT). Tools from the NVIDIA (Mellanox) OFED and MFT documentation for the current release. Checked 2026-09-06. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful Mellanox / InfiniBand keyboard shortcuts?

The most essential Mellanox / InfiniBand shortcuts are: ibstat (Port status), ibstatus (Status summary), ibv_devinfo (Device info).

How do I use Mellanox / InfiniBand commands?

These are command-line commands — type them in your terminal or console. Combine them with shell history search (Ctrl + R) and aliases to work even faster.

What is the Mellanox / InfiniBand shortcut for port status?

The Mellanox / InfiniBand shortcut for port status is ibstat. Check detailed IB HCA port status.

Can I combine Mellanox / InfiniBand shortcuts with other tools?

Yes — use My Stack to combine Mellanox / InfiniBand shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Related Shortcut Pages

NCCL Tests HPL (Linpack) WEKA DDN EXAScaler (Lustre) nvidia-smi (GPU) Cisco IOS systemctl / systemd IBM Spectrum Scale / ESS Juniper JunOS ipmitool OpenMPI (mpirun)

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Is the fabric up

ibstat prints each HCA port with its state (Active, Down, Initializing), rate and LID; a port stuck in Initializing means no subnet manager has configured it. ibstatus is the one-line-per-port summary and ibv_devinfo the verbose device view, including firmware version and link layer (InfiniBand or Ethernet for RoCE). iblinkinfo walks the fabric and prints every link with its speed and width, which is how a cable negotiated down to a lower rate is found. ibhosts and ibswitches list what the subnet manager sees, and opensm is the subnet manager itself, which must run somewhere on the fabric for ports to become Active.

Is it fast

ib_write_bw and ib_read_bw measure RDMA bandwidth between two nodes — run the server side with no argument and the client with the server's hostname — and ib_send_lat measures latency; results well below the link rate point to a slow link, a wrong PCIe slot or a CPU affinity problem. ibping [LID] checks reachability by LID and perfquery reads a port's error counters (symbol errors, link downed, receive errors), the first place to look when bandwidth tests are inconsistent. smpquery portinfo [LID] [port] queries a specific switch port. mlnx_tune applies the recommended OS and NIC tuning profile.

Firmware and configuration

mst start loads the tools driver and mst status lists device paths, which the other commands take as -d. mlxconfig -d [dev] query shows NIC configuration such as link type (IB or Ethernet), SR-IOV and the number of VFs — the command for switching a ConnectX card between InfiniBand and Ethernet modes. flint -d [dev] query reports the firmware version and PSID, and mlxfwmanager updates firmware for every card in the machine, which cluster operators do fleet-wide before a driver upgrade.

🤖 Ask AI about Mellanox / InfiniBand shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok