You now have all the commands. The next step is knowing which order to run them in. The workflow is not random — it follows the layers from physical upward.
Phase 1 — Physical layer (links)
ibstat -> Is every port State: Active at the expected rate?
rdma link show -> Are all rails ACTIVE?
nv show interface swpN link -> Switch end: up? If down, protodown and why?
If any link is down at this layer, everything else is irrelevant until you fix the physical problem. Never skip this phase.
Phase 2 — Traffic layer ()
nv show interface swpN counters qos pfc-stats -> Pauses per priority, and for how long?
nv show interface swpN counters -> Drop counters: queue, buffer, ACL
ethtool -S eth0 -> rx_prio3_pause, rx_prio3_pause_duration, rx_discards_phy
rdma statistic show link mlx5_0/1 -> np_ecn_marked_roce_packets, rp_cnp_handled, out_of_sequence
Read counters before reading configuration. Counters tell you the symptom. Configuration tells you the cause. You need the symptom first to know what cause you are looking for.
Phase 3 — Configuration layer
nv show qos roce -> Is the RoCE profile applied, lossless, on priority 3?
nv show interface swpN qos pfc -> Is PFC on the right priority on this port?
nv show qos congestion-control default-global -> Is ECN enabled on traffic class 3?
mlnx_qos -i eth0 -> Does the NIC agree: trust dscp, PFC on priority 3?
Only read configuration after you know what symptom you are diagnosing. If counters show drops with no pauses, is the suspect — go straight to nv show interface swpN qos pfc. If counters show long pause durations and no marks, PFC is working but nothing is slowing the senders — check ECN.
Phase 4 — Fabric-wide view
netq check interfaces -> Link state and mismatches across every switch (Spectrum-X)
netq show wjh-drop -> Every drop the switches recorded, with a reason
ibdiagnet -> Full sweep of an InfiniBand fabric: ports, routing, errors
Use these when one port does not explain the problem, or when the same symptom appears on many at once. ibdiagnet applies only to ; it takes minutes on a large fabric and produces a large report.
When to escalate to NVIDIA support:
ibdiagnetor reports routing inconsistencies- Multiple on multiple nodes show the same error at the same time
- The restarts repeatedly (InfiniBand)
- The problem reappears immediately after you fix it