Every physical link has two ends. This sounds obvious but it is the single most important thing to internalise before you run your first diagnostic command, because most Layer 1 problems only show symptoms on one end — and if you only check one end, you will not find them.
On a deployment (): Each in the B300 node operates in mode. The link between the NIC and the is an Ethernet link. It has a node end and a switch end. Both ends need to report the link as up for traffic to flow.
On an deployment (, or Quantum-2 on older builds): The ConnectX-8 operates in InfiniBand mode. The link between the NIC and the leaf switch is an InfiniBand link. Same principle — node end and switch end.
In both cases, a complete Layer 1 check means checking both ends of the cable. Not just the node. Not just the switch. Both.
Why both ends matter:
The most misleading Layer 1 fault is one where each end knows only half the story. A link flaps repeatedly, so the switch's link-flap protection forces the port down. The NIC sees what any NIC sees when its partner stops transmitting: no carrier, port down, physical state Polling. From the node, a port held down by policy is indistinguishable from a dead cable or . The reason, and the fact that the switch will keep the port down even after the cable is replaced, exists only on the switch. This is the fault in Lab 0 and Lab 9, and you cannot diagnose it from the node side alone.
Checking the node end
Open the host terminal (green prompt in ProDeploy — click the DGX node in the ).
nvsm show health — asking the node whether it is well
Before ibstat, there is a question one level lower: does the node believe
its own hardware is intact?
On DGX B300 this is NVSM; on an OEM HGX B300 server the same question goes to
the vendor's health view over . NVSM (NVIDIA System Manager) runs
continuously on DGX systems and keeps a
standing health verdict across roughly 180 checks — among them "verify
installed InfiniBand controllers" and "verify Ethernet controllers". It
answers the question ibstat cannot: is the HCA even enumerated on PCIe?
sudo nvsm show health
Verifying installed InfiniBand controllers [ OK ]
Verifying Ethernet controllers [ OK ]
Verifying installed GPUs [ FAIL ]
Unhealthy: Checking output of 'lspci' for expected GPUs
Missing GPU at PCI address "07:00.0"
Health Summary
182 out of 184 checks are healthy
2 out of 184 checks are unhealthy
Overall system status is unhealthy
The GPU case above is the shape of the failure; a ConnectX-8 that has dropped
off the PCIe bus presents identically. And it is genuinely different from a
link problem: ibstat on a missing device does not report a down link, it
reports nothing at all, and "nothing at all" is easy to misread as a
command that failed.
nvsm show alerts — the host's own view of a down port
NVSM raises structured alerts, and there is a network one:
/chassis/localhost/NetworkAdapters/IB0/NetworkPorts/alerts/alert0
alert_id = NV-NET-05
message_details = NetworkAdapter IB0 Network port is disabled.
description = An expected Network port is missing.
recommended_action = 1. Please check the physical link connection
This is the host telling you a rail is down, naming the port, before you have
opened a switch session — and NV-NET-05 is a stable identifier you can key
a monitoring rule on rather than pattern-matching a log line.
mst status -v — which port am I actually looking at?
Eight rails means eight of everything, under four different naming schemes. This is the command that reconciles them:
sudo mst start
sudo mst status -v
DEVICE_TYPE MST PCI RDMA NET NUMA
ConnectX8(rev:0) /dev/mst/mt4131_pciconf0 17:00.0 mlx5_0 net-eth0 0
ConnectX8(rev:0) /dev/mst/mt4131_pciconf1 4b:00.0 mlx5_1 net-eth1 0
PCI address, RDMA device, kernel netdev, NUMA node — one row each. Every
investigation that starts "ethtool -S eth3 looks bad, which rail is that?"
ends here. The NUMA column matters too: a rail NIC on the wrong socket from
the GPU it serves is a real and quiet performance problem, and this is where
you see it.
ibstat — the NIC's view of every link
ibstat shows you all eight ConnectX-8 SuperNICs (and the BlueField-3 ports) from the host's perspective. Run it first — it gives you the complete picture of all eight rails in one output.
The output looks different depending on whether your ConnectX-8 is in RoCEv2 mode or InfiniBand mode. The key diagnostic fields are Link layer, Base lid, and SM lid.
RoCEv2 / Ethernet mode — this is what ProDeploy models:
b300-node-a:~$ ibstat
CA 'mlx5_0'
CA type: MT4131 <- ConnectX-8 (ConnectX-7 reports MT4129)
Firmware version: 40.xx.xxxx
Node GUID: 0x506b4b0300a1b200
Port 1:
State: Active
Physical state: LinkUp
Rate: 800
Base lid: 0 <- zero: no IB SM, no LID assignment
SM lid: 0 <- zero: no Subnet Manager on this fabric
Link layer: Ethernet <- RoCEv2 mode confirmed
InfiniBand mode — what you would see on a pure IB deployment:
b300-node-a:~$ ibstat
CA 'mlx5_0'
CA type: MT4131
Firmware version: 40.xx.xxxx
Node GUID: 0x506b4b0300a1b200
Port 1:
State: Active
Physical state: LinkUp
Rate: 800
Base lid: 12 <- non-zero: SM assigned LID 12 to this port
SM lid: 1 <- non-zero: Subnet Manager is at LID 1
Link layer: InfiniBand <- IB mode confirmed
The Base lid and SM lid fields tell you immediately which mode you are on. Non-zero = InfiniBand mode with an active Subnet Manager. Zero = Ethernet/RoCEv2 mode with no SM. You should never see Link layer: Ethernet with a non-zero Base lid — if you do, something is misconfigured.
Reading the key fields:
State: Active — The port's logical state: fully operational. Other values: Down (no link), Initializing (InfiniBand only: the link is physically up but the Subnet Manager has not configured the port yet), Armed (InfiniBand only: configured, about to go Active). On Ethernet the logical state goes straight from Down to Active when the link comes up.
Physical state: LinkUp — The physical link has trained with the partner at the other end. Polling means the port is trying to train and nobody is answering: the cable is unplugged or broken, the optic is dead, or the far port is down, whether by fault, by an administrator, or by protection such as protodown. Disabled means this port has been turned off locally. LinkUp with Initializing is the classic InfiniBand "Subnet Manager is not reaching this port" picture.
A link that is up but losing packets does not change any of these fields. The RC transport retransmits lost packets in the NIC (Chapter 0 covers PSNs and retries), and only if retries run out does the QP move to an error state and NCCL report a failure. Loss shows up first as counters, not as state.
Rate: 800 — The negotiated link speed in Gb/s. On an HGX B300 rail you expect 800 (XDR on InfiniBand, 800 GbE on Ethernet), or 400 if the port is deliberately split into two 400G links. A lower value than the design means the link negotiated down — usually an optic or cable that does not support the intended rate, or a dirty connector.
Link layer: Ethernet — This NIC is in RoCEv2 mode, set via mlxconfig LINK_TYPE_P1=ETH. This is what you expect on a Spectrum-X deployment.
rdma link show — faster overview of all rails
Where ibstat gives verbose detail per NIC, rdma link show gives one line per RDMA port. Use it for a quick check:
b300-node-a:~$ rdma link show
link mlx5_0/1 state ACTIVE physical_state LINK_UP netdev eth0
link mlx5_1/1 state ACTIVE physical_state LINK_UP netdev eth1
link mlx5_2/1 state ACTIVE physical_state LINK_UP netdev eth2
link mlx5_3/1 state ACTIVE physical_state LINK_UP netdev eth3
[... mlx5_4 through mlx5_7 all ACTIVE ...]
Notice netdev eth0, netdev eth3. Each ConnectX-8 has two names — mlx5_N at the RDMA layer and a netdev name at the Ethernet layer (ethN in the simulator; predictable names such as enp…np0 on most real systems). Same physical port, two software identities. mlx5_0 and eth0 are the same hardware.
rdma link show says nothing about PFC, ECN or the switch. It answers one question — is the RDMA port up? — and it answers it only from the node's side of the cable.
What the node end tells you — and what it does not:
If all eight ports show State: Active and Physical state: LinkUp, the node end is satisfied. That confirms each link trained. It says nothing about errors the switch is seeing on its receive side, which can differ from what the NIC sees on its own. And when a port is down, the node cannot tell you why: a broken cable, a dead optic and a switch port held down by link-flap protection all look the same from here, Down / Polling.
That is why you must also check the switch end.
Checking the switch end
Open the leaf switch terminal (blue prompt in ProDeploy — click the leaf switch in the topology).
On a Spectrum-X deployment you read the switch's port state through NVUE on Cumulus Linux. On a Quantum-X800 InfiniBand switch you use NVUE on NVOS (nv show interface). Both show you the switch's perspective on the same physical cables that ibstat showed you from the node side.
For RoCEv2 / Spectrum-X — nv show interface swp5 link:
cumulus@leaf-rail3:~$ nv show interface swp5 link
operational applied
----------------------- ----------------------- -------
admin-status up up
oper-status down up
protodown enabled disabled
protodown-reason linkflap
speed 800G 800G
carrier-transitions 6
state down up
Note the naming convention: Cumulus Linux uses swp (switch port) names — swp1, swp2 and so on for front-panel ports, with suffixes such as swp1s0 when a port is split. The node side uses mlx5_N and its netdev name. When reading diagnostics, the switch port and the node's mlx5_N are two names for the two ends of the same cable, and the cabling plan (or LLDP, below) is what tells you which goes with which.
The fields that matter:
admin-status up — nobody shut this port on purpose.
oper-status down with protodown enabled and protodown-reason linkflap — the switch saw the link bounce more times than its flap-protection threshold allows within the detection window and forced the port down to protect the fabric. Cumulus Linux calls this protodown; other vendors call the same idea err-disabled.
carrier-transitions 6 — how many times the link has gone up or down. A clean link sits at a low, constant number. A climbing number is a physical problem: optic, fibre or connector.
To see which node is on the other end, ask LLDP: nv show interface lists the LLDP neighbour of every port, and nv show interface swp5 lldp shows the neighbour's host name and port.
For InfiniBand — nv show interface (NVOS on a Quantum-X800 leaf):
admin@leaf-rail3:~$ nv show interface
Interface State Speed MTU Type IB Speed IB Subnet Logical State Physical State
--------- ----- ----- ---- ---- -------- ------------------ ------------- --------------
sw1p1 up 800G 4096 ib xdr infiniband-default Active LinkUp <- node A
sw2p1 up 800G 4096 ib xdr infiniband-default Active LinkUp
sw3p1 up 800G 4096 ib xdr infiniband-default Active LinkUp
sw4p1 down 4096 ib infiniband-default Down Polling <- rail 3 fault
sw5p1 up 800G 4096 ib xdr infiniband-default Active LinkUp
NVOS names InfiniBand ports sw<cage>p<port>; UFM shows the same port as 1/<cage>/<port>. Port sw4p1 is Down / Polling: it is trying to train and nothing answers. The node end shows the same thing for its NIC. To learn why, ask the switch port for its link diagnostics:
admin@leaf-rail3:~$ nv show interface sw4p1 link diagnostics
which reports a status code and reason, such as an unplugged cable or a negotiation failure. Older Quantum-2 switches running MLNX-OS show the same information with show interfaces ib status.
Each end knows half the story
Node end (rdma link show): state DOWN physical_state POLLING <- no link partner
Switch end (nv show interface swp5 link): oper-status down
protodown enabled, reason linkflap <- why
carrier-transitions 6 <- history
When the switch puts a port in protodown, it takes the port down in hardware, so the NIC loses its link partner. The node sees a dead link and nothing more: from there, a protodown port, a broken cable and a failed optic look the same. Only the switch records that the link flapped six times and that link-flap protection is now holding it down.
That has a practical consequence. Replace the cable without looking at the switch and the link stays down, because the switch is still holding the port in protodown. Read both ends, fix the physical cause, then clear protodown on the switch.
The reverse case matters too. A link can be up at both ends while only one end is receiving errors, because each direction of a cable has its own transmitter, receiver and fibre or copper pair. The NIC's counters describe what it receives; the switch's counters describe what the switch receives. Act 2 reads both.