Skip to content

The CLI — Reading the Fabric · Part 8 of 10

Act 6 — Command reference by scenario

Building the model…

Unilateral fiber break scenario: Host Tx stays healthy (-1.4 dBm) while Switch Rx drops to -40 dBm (LOS). Checking both ends isolates the broken strand immediately.

Different symptoms lead you to different commands. Here is the map.

Loading diagram…

Scenario: Training throughput dropped to 87.5% (one of eight contributing nothing)

1. rdma link show / ibstat          -> any rail not ACTIVE?
2. rail map (NetQ, UFM or LLDP)     -> which switch port is that rail?
3. nv show interface swpN link      -> protodown? reason? carrier transitions?
-> Most likely: link-flap protodown. Fix the optic or cable, then clear protodown.

Scenario: Training throughput degraded across all GPUs (not one)

1. nv show interface swpN counters qos pfc-stats -> pauses, and how long
2. nv show interface swpN counters               -> queue drops?
3. nv show qos roce / qos pfc                    -> PFC on the right priority?
-> Most likely: PFC missing, on the wrong priority, or a pause storm.

Scenario: Training throughput degraded, no drops in

1. ethtool -S eth0                -> rx_prio3_pause_duration growing fast?
2. nv show qos pfc-watchdog       -> watchdog enabled on every lossless port?
-> Most likely: heavy pausing or a pause storm. PFC prevents drops but holds
   the NIC paused for much of the time.

Scenario: latency high, pauses present, no marks

1. nv show qos congestion-control default-global -> ECN on traffic class 3?
2. rdma statistic show link mlx5_0/1             -> np_ecn_marked_roce_packets at 0?
3. cat /sys/class/net/eth0/ecn/roce_rp/enable/3  -> DCQCN enabled on the NIC?
-> Most likely: ECN not configured. Congestion builds until PFC pauses.
   Enable ECN so DCQCN can slow senders before the buffer fills.

Scenario: Node not appearing in the after boot (IB fabrics)

1. ibstat on that node            -> State Initializing or Down? Base lid 0?
2. show ib sm / UFM               -> is the subnet manager running, and does it see this port?
3. Cable and optic                -> Physical state LinkUp at the expected rate?
-> Most likely: the subnet manager has not configured the port yet (state Initializing),
   or there is no physical link. Fabric Manager is unrelated: it manages NVLink, not InfiniBand.

Read aloudPage 8