Networking NVIDIA NVOS User Manual for InfiniBand Switches

HCA Peer Port Telemetry

NVOS lets you monitor telemetry for Host Channel Adapter (HCA) ports that connect directly to the switch, without access to the HCA itself.

Telemetry is streamed only for HCA ports with an active link. It covers the port and the remote hardware behind it:

  • Peer-port. Traffic statistics, link status, InfiniBand data, and PHY diagnostics for each HCA port. These match the counters exposed for InfiniBand interfaces.

  • Peer transceiver. Identity and module state for the cable attached to that port: vendor, part number, serial number, form factor, cable type and length, temperature, supply voltage, and per-channel diagnostics.

  • Peer ASIC. The remote HCA integrated circuit: hostname, firmware version, and clock frequency.

How It Works

You enable or disable HCA peer-port telemetry with NVUE commands. The same setting controls the peer-port counters and the peer transceiver and ASIC data.

Show command:

admin@nvos:~$ nv show system peer-port
          operational  applied
--------  -----------  -------
state     disabled     disabled
interval  5            5

Set command:

admin@nvos:~$ nv set system peer-port state <enabled | disabled>

Unset command:

admin@nvos:~$ nv unset system peer-port state

The state is disabled by default, and the unset command restores it to disabled. By default, the switch collects the data every 5 seconds.

Each discovered HCA port with an active link appears as a peer-port (hcaA2p1, hcaA2p2, and the pl1 through pl4 plane ports). When an HCA link goes down, that peer-port is removed. A transceiver or ASIC entry remains only while at least one active peer-port still refers to it.

The same discovery builds two component names:

  • A transceiver is named xcvr-<serial>-<sys-image-guid>. Ports that share one cable module share this name.

  • An ASIC is named asic-<node-guid>. Every port on that HCA shares this name.

nv show peer-port <peer-port-id> reports the transceiver and ASIC names for that port. nv show peer-platform transceiver <id> and nv show peer-platform asic <id> report one associated peer-port in the Peer Port field. That field is a single port name, not the full list of ports that share the component.

Telemetry data can be accessed using:

  • The nv show peer-port and nv show peer-platform CLI command hierarchies

  • gNMI, under peer-port/interfaces for port counters and peer-port/components/component for transceiver and ASIC state

Viewing HCA Peer-Ports

To view all active HCA peer-ports and their topology information, run the following command:

admin@nvos:~$ nv show peer-port
Peer Port   Hostname            Port GUID           Node GUID           Switch Port
----------  ------------------  ------------------  ------------------  -----------
hcaA2p1     host01.example.com  0x0000000000001001  0x0000000000001001  swA2p1
hcaA2p1pl1  host01.example.com  0x0000000000001001  0x0000000000001001  swA2p1pl1
hcaA2p1pl2  host01.example.com  0x0000000000001001  0x0000000000001001  swA2p1pl2
hcaA2p1pl3  host01.example.com  0x0000000000001001  0x0000000000001001  swA2p1pl3
hcaA2p1pl4  host01.example.com  0x0000000000001001  0x0000000000001001  swA2p1pl4
hcaA2p2     host02.example.com  0x0000000000001002  0x0000000000001002  swA2p2
hcaA2p2pl1  host02.example.com  0x0000000000001002  0x0000000000001002  swA2p2pl1
hcaA2p2pl2  host02.example.com  0x0000000000001002  0x0000000000001002  swA2p2pl2
hcaA2p2pl3  host02.example.com  0x0000000000001002  0x0000000000001002  swA2p2pl3
hcaA2p2pl4  host02.example.com  0x0000000000001002  0x0000000000001002  swA2p2pl4

Viewing a Specific HCA Port

To inspect a specific HCA port, run the following command:

admin@nvos:~$ nv show peer-port hcaA2p1

To view counters, run the following command:

admin@nvos:~$ nv show peer-port hcaA2p1 counters

To view link information, run the following command:

admin@nvos:~$ nv show peer-port hcaA2p1 link

Viewing HCA Transceivers

To list every remote HCA transceiver, run the following command:

admin@nvos:~$ nv show peer-platform transceiver
Peer Transceiver                     Hostname            Peer Port  Identifier  Vendor  Vendor Part       Serial Number  Vendor Revision  Firmware Version
-----------------------------------  ------------------  ---------  ----------  ------  ----------------  -------------  ---------------  ----------------
xcvr-MT0000FT00001-0000000000002001  host01.example.com  hca61p1    OSFP        Nvidia  980-9IAT1-00XM0M  MT0000FT00001  A4               70.10.11016
xcvr-MT0000FT00002-0000000000002002  host02.example.com  hca67p1    OSFP        Nvidia  980-9IAT1-00XM0M  MT0000FT00002  A4               70.10.11016

To inspect a specific transceiver, run the following command:

admin@nvos:~$ nv show peer-platform transceiver xcvr-MT0000FT00001-0000000000002001

To view channel information, run the following command:

admin@nvos:~$ nv show peer-platform transceiver xcvr-MT0000FT00001-0000000000002001 channel

Viewing HCA ASICs

To list every remote HCA ASIC, run the following command:

admin@nvos:~$ nv show peer-platform asic
Peer ASIC              Hostname            Peer Port  Firmware Version
---------------------  ------------------  ---------  ----------------
asic-0000000000002002  host02.example.com  hca67p1    40.48.1000
asic-0000000000002001  host01.example.com  hca61p1    40.48.1000

To inspect one ASIC, run the following command:

admin@nvos:~$ nv show peer-platform asic asic-0000000000002002

To inspect the clock frequency of the ASIC, run the following command:

admin@nvos:~$ nv show peer-platform asic asic-0000000000002002 frequency

For all the commands and output examples, see HCA Peer Port Telemetry Commands.

Limitations

  • When an HCA link transitions up or down, it may take up to 1 minute for the change to appear in nv show peer-port and nv show peer-platform.

  • PHY lane statistics are reported in nv show peer-port <peer-port-id> link phy health.

  • The Peer Port field on a transceiver or ASIC is one associated peer-port. Use nv show peer-port to see every port that shares that component.

  • Peer transceiver and ASIC data is reported for InfiniBand HCA peers only.

Last updated: