Networking NVIDIA NVOS User Manual for InfiniBand Switches

OpenTelemetry Commands

Top-Level Telemetry Commands

nv show system telemetry

 

nv show system telemetry

Shows the telemetry configuration: export, metric, label, and log settings.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry
                        operational  applied
----------------------  -----------  --------
logs
  export
    state               disabled     disabled
export
  vrf                   default      default
  otlp
    state               enabled      enabled
    grpc
      insecure          enabled      enabled
      port              4317         4317
      [destination]     10.1.1.1     10.1.1.1
    http
      insecure          disabled     disabled
      encoding          proto        proto
      port              4318         4318
interface-stats
  sample-interval       1            1
  export
    state               enabled      enabled
  class
    phy
      state             disabled     disabled
peer-port-stats
  sample-interval       1            1
  export
    state               disabled     disabled
  class
    phy
      state             disabled     disabled
ib-router-stats
  sample-interval       1            1
  export
    state               disabled     disabled
platform-stats
  class
    cpu
      state             enabled      enabled
    disk
      state             enabled      enabled
    memory
      state             enabled      enabled
    environment-sensor
      state             enabled      enabled
    health-info
      state             enabled      enabled
    asic-power
      state             enabled      enabled
    platform-info
      state             enabled      enabled
    transceiver-info
      state             enabled      enabled
  export
    state               disabled     disabled
    sample-interval     60           60

REST API

GET https://<ip>/nvue_v1/system/telemetry

Related Commands

nv unset system telemetry

nv unset system telemetry

 

nv unset system telemetry

Removes all system telemetry configuration.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv unset system telemetry

REST API

DELETE https://<ip>/nvue_v1/system/telemetry

Related Commands

nv show system telemetry

OTLP Export

nv show system telemetry export

 

nv show system telemetry export

Shows the export VRF, the global OTLP state, the gRPC and HTTP settings, and the destinations.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export
              operational  applied
------------  -----------  --------
vrf           default      default
otlp
  state       enabled      enabled
  grpc
    insecure  enabled      enabled
    port      4317         4317
  http
    insecure  disabled     disabled
    encoding  proto        proto
    port      4318         4318

otlp.grpc.destination
========================
              certificate  Certificate ID  port  stats-group
    --------  -----------  --------------  ----  -----------
    10.1.1.1                               4317

otlp.http.destination
========================
No Data

REST API

GET https://<ip>/nvue_v1/system/telemetry/export

Related Commands

nv set/unset system telemetry export otlp state

nv set/unset system telemetry export vrf

 

nv set system telemetry export vrf <vrf-name>
nv unset system telemetry export vrf

Sets the VRF that the switch uses to reach the OTLP destinations. The unset command sets the VRF back to the default.

Syntax Description

vrf-name

The name of an existing VRF.

Default

default

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export vrf mgmt

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export

Related Commands

nv show system telemetry export

nv show system telemetry export otlp

 

nv show system telemetry export otlp

Shows the global OTLP state and the gRPC and HTTP settings.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp
            operational  applied
----------  -----------  --------
state       enabled      enabled
grpc
  insecure  enabled      enabled
  port      4317         4317
http
  insecure  disabled     disabled
  encoding  proto        proto
  port      4318         4318

grpc.destination
===================
              certificate  Certificate ID  port  stats-group
    --------  -----------  --------------  ----  -----------
    10.1.1.1                               4317

http.destination
===================
No Data

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp

Related Commands

nv set/unset system telemetry export otlp state

nv set/unset system telemetry export otlp state

 

nv set system telemetry export otlp state <enabled | disabled>
nv unset system telemetry export otlp state

Enables or disables OTLP export. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables OTLP export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp state enabled
admin@nvos:~$ nv unset system telemetry export otlp state

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp

Related Commands

nv show system telemetry export otlp

OTLP Over gRPC

nv show system telemetry export otlp grpc

 

nv show system telemetry export otlp grpc

Shows the gRPC security settings, the default port, and the gRPC destinations.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp grpc
          operational  applied
--------  -----------  -------
insecure  enabled      enabled
port      4317         4317

destination
==============
              certificate  Certificate ID  port  stats-group
    --------  -----------  --------------  ----  -----------
    10.1.1.1                               4317

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc

Related Commands

nv set/unset system telemetry export otlp grpc destination

nv set/unset system telemetry export otlp grpc insecure

 

nv set system telemetry export otlp grpc insecure <enabled | disabled>
nv unset system telemetry export otlp grpc insecure

Enables or disables insecure mode for all gRPC destinations. In insecure mode, the switch does not use TLS: it does not authenticate the collector and does not encrypt the telemetry. The unset command sets insecure mode back to the default (disabled).

Syntax Description

enabled | disabled

enabled: The switch sends telemetry without TLS.
disabled: The switch uses TLS (secure mode).

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc insecure enabled
admin@nvos:~$ nv unset system telemetry export otlp grpc insecure

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/insecure

Related Commands

nv show system telemetry export otlp grpc

nv set/unset system telemetry export otlp grpc certificate

 

nv set system telemetry export otlp grpc certificate <ca-certificate-id>
nv unset system telemetry export otlp grpc certificate

Sets the CA certificate that the switch uses to validate the certificates of all gRPC destinations. The unset command removes the CA certificate.

Syntax Description

ca-certificate-id

The ID of a CA certificate in the NVOS certificate store.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc certificate ca_cert
admin@nvos:~$ nv unset system telemetry export otlp grpc certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc

Related Commands

nv set/unset system telemetry export otlp grpc client-certificate

nv set/unset system telemetry export otlp grpc client-certificate

 

nv set system telemetry export otlp grpc client-certificate <certificate-id>
nv unset system telemetry export otlp grpc client-certificate

Sets the certificate and private key that the switch uses to authenticate itself to all gRPC destinations with mTLS. The unset command removes the client certificate.

Syntax Description

certificate-id

The ID of a certificate (with its private key) in the NVOS certificate store.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc client-certificate cert_client
admin@nvos:~$ nv unset system telemetry export otlp grpc client-certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc

Related Commands

nv set/unset system telemetry export otlp grpc certificate

nv set/unset system telemetry export otlp grpc port

 

nv set system telemetry export otlp grpc port <port>
nv unset system telemetry export otlp grpc port

Sets the default TCP port for gRPC destinations. The unset command sets the port back to the default (4317).

Syntax Description

port

The TCP port: 1–65535.

Default

4317

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc port 4567
admin@nvos:~$ nv unset system telemetry export otlp grpc port

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc

Related Commands

nv show system telemetry export otlp grpc

nv show system telemetry export otlp grpc destination

 

nv show system telemetry export otlp grpc destination

Shows the gRPC destinations. If a destination has no port configured, the output shows the port that it inherits from the gRPC configuration.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp grpc destination
          certificate  Certificate ID  port  stats-group
--------  -----------  --------------  ----  -----------
10.1.1.1                               4317

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination

Related Commands

nv show system telemetry export otlp grpc destination <destination-id>

nv show system telemetry export otlp grpc destination <destination-id>

 

nv show system telemetry export otlp grpc destination <destination-id>

Shows the configuration of a gRPC destination.

Syntax Description

destination-id

The IP address or hostname of the external collector.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp grpc destination 10.1.1.1
      operational  applied
----  -----------  -------
port  4317

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv show system telemetry export otlp grpc destination

nv set/unset system telemetry export otlp grpc destination

 

nv set system telemetry export otlp grpc destination <destination-id>
nv unset system telemetry export otlp grpc destination <destination-id>

Adds or removes a gRPC destination.

Syntax Description

destination-id

The IP address or hostname of the external collector.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc destination 10.1.1.1
admin@nvos:~$ nv unset system telemetry export otlp grpc destination 10.1.1.1

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>
DELETE https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv show system telemetry export otlp grpc destination

nv set/unset system telemetry export otlp grpc destination <destination-id> port

 

nv set system telemetry export otlp grpc destination <destination-id> port <port>
nv unset system telemetry export otlp grpc destination <destination-id> port

Sets the TCP port for a gRPC destination, which overrides the gRPC port. The unset command removes the destination port; the destination then uses the gRPC port.

Syntax Description

destination-id

The IP address or hostname of the external collector.

port

The TCP port: 1–65535.

Default

None (uses the gRPC port, which is 4317 by default)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc destination 10.1.1.1 port 4400
admin@nvos:~$ nv unset system telemetry export otlp grpc destination 10.1.1.1 port

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv show system telemetry export otlp grpc destination <destination-id>

nv set/unset system telemetry export otlp grpc destination <destination-id> certificate

 

nv set system telemetry export otlp grpc destination <destination-id> certificate <ca-certificate-id>
nv unset system telemetry export otlp grpc destination <destination-id> certificate

Sets the CA certificate that the switch uses to validate the certificate of a gRPC destination, which overrides the gRPC CA certificate. The unset command removes the destination CA certificate.

Syntax Description

destination-id

The IP address or hostname of the external collector.

ca-certificate-id

The ID of a CA certificate in the NVOS certificate store.

Default

None (uses the gRPC CA certificate)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc destination 10.1.1.1 certificate ca_cert
admin@nvos:~$ nv unset system telemetry export otlp grpc destination 10.1.1.1 certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv set/unset system telemetry export otlp grpc destination <destination-id> client-certificate

nv set/unset system telemetry export otlp grpc destination <destination-id> client-certificate

 

nv set system telemetry export otlp grpc destination <destination-id> client-certificate <certificate-id>
nv unset system telemetry export otlp grpc destination <destination-id> client-certificate

Sets the certificate and private key that the switch uses to authenticate itself to a gRPC destination with mTLS, which overrides the gRPC client certificate. The unset command removes the destination client certificate.

Syntax Description

destination-id

The IP address or hostname of the external collector.

certificate-id

The ID of a certificate (with its private key) in the NVOS certificate store.

Default

None (uses the gRPC client certificate)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc destination 10.1.1.1 client-certificate cert_client
admin@nvos:~$ nv unset system telemetry export otlp grpc destination 10.1.1.1 client-certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv set/unset system telemetry export otlp grpc destination <destination-id> certificate

nv set/unset system telemetry export otlp grpc destination <destination-id> stats-group

 

nv set system telemetry export otlp grpc destination <destination-id> stats-group <stats-group-id>
nv unset system telemetry export otlp grpc destination <destination-id> stats-group

Sets the statistics group that defines the metrics the switch sends to a gRPC destination. The unset command removes the setting; the destination then receives the metrics in the global configuration.

Syntax Description

destination-id

The IP address or hostname of the external collector.

stats-group-id

The name of an existing statistics group.

Default

None (uses the global metric configuration)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp grpc destination 10.1.1.1 stats-group GROUP_1
admin@nvos:~$ nv unset system telemetry export otlp grpc destination 10.1.1.1 stats-group

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/grpc/destination/<destination-id>

Related Commands

nv show system telemetry export otlp grpc destination

OTLP Over HTTP

nv show system telemetry export otlp http

 

nv show system telemetry export otlp http

Shows the HTTP security settings, the encoding, the default port, and the HTTP destinations.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp http
          operational  applied
--------  -----------  -------
insecure  enabled      enabled
encoding  json         json
port      4318         4318

destination
==============
              certificate  Certificate ID  port  stats-group
    --------  -----------  --------------  ----  -----------
    11.2.3.4                               4400

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/http

Related Commands

nv set/unset system telemetry export otlp http destination

nv set/unset system telemetry export otlp http insecure

 

nv set system telemetry export otlp http insecure <enabled | disabled>
nv unset system telemetry export otlp http insecure

Enables or disables insecure mode for all HTTP destinations. In insecure mode, the switch does not use TLS: it does not authenticate the collector and does not encrypt the telemetry. The unset command sets insecure mode back to the default (disabled).

Syntax Description

enabled | disabled

enabled: The switch sends telemetry without TLS.
disabled: The switch uses TLS (secure mode).

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http insecure enabled
admin@nvos:~$ nv unset system telemetry export otlp http insecure

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/insecure

Related Commands

nv show system telemetry export otlp http

nv set/unset system telemetry export otlp http certificate

 

nv set system telemetry export otlp http certificate <ca-certificate-id>
nv unset system telemetry export otlp http certificate

Sets the CA certificate that the switch uses to validate the certificates of all HTTP destinations. The unset command removes the CA certificate.

Syntax Description

ca-certificate-id

The ID of a CA certificate in the NVOS certificate store.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http certificate ca_cert
admin@nvos:~$ nv unset system telemetry export otlp http certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http

Related Commands

nv set/unset system telemetry export otlp http client-certificate

nv set/unset system telemetry export otlp http client-certificate

 

nv set system telemetry export otlp http client-certificate <certificate-id>
nv unset system telemetry export otlp http client-certificate

Sets the certificate and private key that the switch uses to authenticate itself to all HTTP destinations with mTLS. The unset command removes the client certificate.

Syntax Description

certificate-id

The ID of a certificate (with its private key) in the NVOS certificate store.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http client-certificate cert_client
admin@nvos:~$ nv unset system telemetry export otlp http client-certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http

Related Commands

nv set/unset system telemetry export otlp http certificate

nv set/unset system telemetry export otlp http port

 

nv set system telemetry export otlp http port <port>
nv unset system telemetry export otlp http port

Sets the default TCP port for HTTP destinations. The unset command sets the port back to the default (4318).

Syntax Description

port

The TCP port: 1–65535.

Default

4318

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http port 4567
admin@nvos:~$ nv unset system telemetry export otlp http port

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http

Related Commands

nv show system telemetry export otlp http

nv set/unset system telemetry export otlp http encoding

 

nv set system telemetry export otlp http encoding <proto | json>
nv unset system telemetry export otlp http encoding

Sets the encoding of the OTLP HTTP payload. The unset command sets the encoding back to the default (proto).

Syntax Description

proto | json

proto: Protobuf encoding.
json: JSON encoding.

Default

proto

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http encoding json
admin@nvos:~$ nv unset system telemetry export otlp http encoding

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http

Related Commands

nv show system telemetry export otlp http

nv show system telemetry export otlp http destination

 

nv show system telemetry export otlp http destination

Shows the HTTP destinations. If a destination has no port configured, the output shows the port that it inherits from the HTTP configuration.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp http destination
          certificate  Certificate ID  port  stats-group
--------  -----------  --------------  ----  -----------
11.2.3.4                               4400

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination

Related Commands

nv show system telemetry export otlp http destination <destination-id>

nv show system telemetry export otlp http destination <destination-id>

 

nv show system telemetry export otlp http destination <destination-id>

Shows the configuration of an HTTP destination.

Syntax Description

destination-id

The IP address or hostname of the external collector.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry export otlp http destination 11.2.3.4
      operational  applied
----  -----------  -------
port  4400         4400

REST API

GET https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv show system telemetry export otlp http destination

nv set/unset system telemetry export otlp http destination

 

nv set system telemetry export otlp http destination <destination-id>
nv unset system telemetry export otlp http destination <destination-id>

Adds or removes an HTTP destination.

Syntax Description

destination-id

The IP address or hostname of the external collector.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http destination 10.1.1.1
admin@nvos:~$ nv unset system telemetry export otlp http destination 10.1.1.1

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>
DELETE https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv show system telemetry export otlp http destination

nv set/unset system telemetry export otlp http destination <destination-id> port

 

nv set system telemetry export otlp http destination <destination-id> port <port>
nv unset system telemetry export otlp http destination <destination-id> port

Sets the TCP port for an HTTP destination, which overrides the HTTP port. The unset command removes the destination port; the destination then uses the HTTP port.

Syntax Description

destination-id

The IP address or hostname of the external collector.

port

The TCP port: 1–65535.

Default

None (uses the HTTP port, which is 4318 by default)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http destination 10.1.1.1 port 4400
admin@nvos:~$ nv unset system telemetry export otlp http destination 10.1.1.1 port

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv show system telemetry export otlp http destination <destination-id>

nv set/unset system telemetry export otlp http destination <destination-id> certificate

 

nv set system telemetry export otlp http destination <destination-id> certificate <ca-certificate-id>
nv unset system telemetry export otlp http destination <destination-id> certificate

Sets the CA certificate that the switch uses to validate the certificate of an HTTP destination, which overrides the HTTP CA certificate. The unset command removes the destination CA certificate.

Syntax Description

destination-id

The IP address or hostname of the external collector.

ca-certificate-id

The ID of a CA certificate in the NVOS certificate store.

Default

None (uses the HTTP CA certificate)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http destination 10.1.1.1 certificate ca_cert
admin@nvos:~$ nv unset system telemetry export otlp http destination 10.1.1.1 certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv set/unset system telemetry export otlp http destination <destination-id> client-certificate

nv set/unset system telemetry export otlp http destination <destination-id> client-certificate

 

nv set system telemetry export otlp http destination <destination-id> client-certificate <certificate-id>
nv unset system telemetry export otlp http destination <destination-id> client-certificate

Sets the certificate and private key that the switch uses to authenticate itself to an HTTP destination with mTLS, which overrides the HTTP client certificate. The unset command removes the destination client certificate.

Syntax Description

destination-id

The IP address or hostname of the external collector.

certificate-id

The ID of a certificate (with its private key) in the NVOS certificate store.

Default

None (uses the HTTP client certificate)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http destination 10.1.1.1 client-certificate cert_client
admin@nvos:~$ nv unset system telemetry export otlp http destination 10.1.1.1 client-certificate

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv set/unset system telemetry export otlp http destination <destination-id> certificate

nv set/unset system telemetry export otlp http destination <destination-id> stats-group

 

nv set system telemetry export otlp http destination <destination-id> stats-group <stats-group-id>
nv unset system telemetry export otlp http destination <destination-id> stats-group

Sets the statistics group that defines the metrics the switch sends to an HTTP destination. The unset command removes the setting; the destination then receives the metrics in the global configuration.

Syntax Description

destination-id

The IP address or hostname of the external collector.

stats-group-id

The name of an existing statistics group.

Default

None (uses the global metric configuration)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry export otlp http destination 10.1.1.1 stats-group GROUP_1
admin@nvos:~$ nv unset system telemetry export otlp http destination 10.1.1.1 stats-group

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/export/otlp/http/destination/<destination-id>

Related Commands

nv show system telemetry export otlp http destination

Interface Statistics

nv show system telemetry interface-stats

 

nv show system telemetry interface-stats

Shows the global interface statistics settings: export state, sample interval, and PHY class state.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry interface-stats
                 operational  applied
---------------  -----------  --------
sample-interval  1            1
export
  state          enabled      enabled
class
  phy
    state        disabled     disabled

REST API

GET https://<ip>/nvue_v1/system/telemetry/interface-stats

Related Commands

nv set/unset system telemetry interface-stats export state

nv set/unset system telemetry interface-stats export state

 

nv set system telemetry interface-stats export state <enabled | disabled>
nv unset system telemetry interface-stats export state

Enables or disables the export of interface statistics. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables interface statistics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry interface-stats export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/interface-stats/export

Related Commands

nv set/unset system telemetry interface-stats sample-interval

nv set/unset system telemetry interface-stats sample-interval

 

nv set system telemetry interface-stats sample-interval <interval>
nv unset system telemetry interface-stats sample-interval

Sets the interval at which the switch collects interface statistics. The unset command sets the interval back to the default (5 seconds).

Syntax Description

interval

The interval in seconds: 1–86400.

Default

5

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry interface-stats sample-interval 10

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/interface-stats

Related Commands

nv set/unset system telemetry interface-stats export state

nv set/unset system telemetry interface-stats class phy state

 

nv set system telemetry interface-stats class phy state <enabled | disabled>
nv unset system telemetry interface-stats class phy state

Enables or disables the export of additional interface PHY metrics. The switch exports PHY metrics only when interface statistics export is enabled.

Syntax Description

enabled | disabled

Enables or disables PHY metrics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry interface-stats class phy state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/interface-stats/class/phy

Related Commands

nv set/unset system telemetry interface-stats export state

Peer-Port Statistics

nv show system telemetry peer-port-stats

 

nv show system telemetry peer-port-stats

Shows the global peer-port statistics settings: export state, sample interval, and PHY class state.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry peer-port-stats
                 operational  applied
---------------  -----------  --------
sample-interval  1            1
export
  state          enabled      enabled
class
  phy
    state        disabled     disabled

REST API

GET https://<ip>/nvue_v1/system/telemetry/peer-port-stats

Related Commands

nv set/unset system telemetry peer-port-stats export state

nv set/unset system telemetry peer-port-stats export state

 

nv set system telemetry peer-port-stats export state <enabled | disabled>
nv unset system telemetry peer-port-stats export state

Enables or disables the export of peer-port statistics. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables peer-port statistics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry peer-port-stats export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-port-stats/export

Related Commands

nv set/unset system telemetry peer-port-stats sample-interval

nv set/unset system telemetry peer-port-stats sample-interval

 

nv set system telemetry peer-port-stats sample-interval <interval>
nv unset system telemetry peer-port-stats sample-interval

Sets the interval at which the switch collects peer-port statistics. The unset command sets the interval back to the default (5 seconds).

Syntax Description

interval

The interval in seconds: 1–86400.

Default

5

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry peer-port-stats sample-interval 10

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-port-stats

Related Commands

nv set/unset system telemetry peer-port-stats export state

nv set/unset system telemetry peer-port-stats class phy state

 

nv set system telemetry peer-port-stats class phy state <enabled | disabled>
nv unset system telemetry peer-port-stats class phy state

Enables or disables the export of additional peer-port PHY metrics. The switch exports PHY metrics only when peer-port statistics export is enabled.

Syntax Description

enabled | disabled

Enables or disables PHY metrics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry peer-port-stats class phy state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-port-stats/class/phy

Related Commands

nv set/unset system telemetry peer-port-stats export state

InfiniBand Router Statistics

nv show system telemetry ib-router-stats

 

nv show system telemetry ib-router-stats

Shows the global InfiniBand router statistics settings: export state and sample interval.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry ib-router-stats
                 operational  applied
---------------  -----------  --------
sample-interval  1            1
export
  state          disabled     disabled

REST API

GET https://<ip>/nvue_v1/system/telemetry/ib-router-stats

Related Commands

nv set/unset system telemetry ib-router-stats export state

nv set/unset system telemetry ib-router-stats export state

 

nv set system telemetry ib-router-stats export state <enabled | disabled>
nv unset system telemetry ib-router-stats export state

Enables or disables the export of InfiniBand router statistics. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables InfiniBand router statistics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry ib-router-stats export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/ib-router-stats/export

Related Commands

nv set/unset system telemetry ib-router-stats sample-interval

nv set/unset system telemetry ib-router-stats sample-interval

 

nv set system telemetry ib-router-stats sample-interval <interval>
nv unset system telemetry ib-router-stats sample-interval

Sets the interval at which the switch collects InfiniBand router statistics. The unset command sets the interval back to the default (5 seconds).

Syntax Description

interval

The interval in seconds: 1–86400.

Default

5

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry ib-router-stats sample-interval 10

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/ib-router-stats

Related Commands

nv set/unset system telemetry ib-router-stats export state

Platform Statistics

nv show system telemetry platform-stats

 

nv show system telemetry platform-stats

Shows the platform statistics settings: export state, sample interval, and classes.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry platform-stats
                      operational  applied
--------------------  -----------  -------
class
  cpu
    state             enabled      enabled
  disk
    state             enabled      enabled
  memory
    state             enabled      enabled
  environment-sensor
    state             enabled      enabled
  health-info
    state             enabled      enabled
  asic-power
    state             enabled      enabled
  platform-info
    state             enabled      enabled
  transceiver-info
    state             enabled      enabled
export
  state               enabled      enabled
  sample-interval     60           60

REST API

GET https://<ip>/nvue_v1/system/telemetry/platform-stats

Related Commands

nv set/unset system telemetry platform-stats export state

nv set/unset system telemetry platform-stats export state

 

nv set system telemetry platform-stats export state <enabled | disabled>
nv unset system telemetry platform-stats export state

Enables or disables the export of platform statistics. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables platform statistics export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry platform-stats export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/platform-stats/export

Related Commands

nv set/unset system telemetry platform-stats export sample-interval

nv set/unset system telemetry platform-stats export sample-interval

 

nv set system telemetry platform-stats export sample-interval <interval>
nv unset system telemetry platform-stats export sample-interval

Sets the interval at which the switch collects platform statistics. A class sample interval overrides this setting. The unset command sets the interval back to the default (60 seconds).

Syntax Description

interval

The interval in seconds: 60–86400.

Default

60

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry platform-stats export sample-interval 300

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/platform-stats/export

Related Commands

nv set/unset system telemetry platform-stats export state

nv set/unset system telemetry platform-stats class <class> state

 

nv set system telemetry platform-stats class <class> state <enabled | disabled>
nv unset system telemetry platform-stats class <class> state

Enables or disables the export of a platform statistics class. The switch exports a class only when platform statistics export is enabled.

Syntax Description

class

The platform statistics class:

  • asic-power

  • cpu

  • disk

  • environment-sensor

  • health-info

  • memory

  • platform-info

  • transceiver-info

enabled | disabled

Enables or disables export of the class.

Default

enabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry platform-stats class asic-power state enabled
admin@nvos:~$ nv set system telemetry platform-stats class transceiver-info state disabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/platform-stats/class/<class>

Related Commands

nv set/unset system telemetry platform-stats export state

nv set/unset system telemetry platform-stats class <class> sample-interval

 

nv set system telemetry platform-stats class <class> sample-interval <interval>
nv unset system telemetry platform-stats class <class> sample-interval

Sets the sample interval for a platform statistics class, which overrides the platform-stats export sample interval. The unset command removes the class sample interval.

Syntax Description

class

The platform statistics class:

  • asic-power

  • cpu

  • disk

  • environment-sensor

  • health-info

  • memory

  • platform-info

  • transceiver-info

interval

The interval in seconds: 60–86400.

Default

None (uses the platform-stats export sample interval)

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry platform-stats class platform-info sample-interval 300

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/platform-stats/class/<class>

Related Commands

nv set/unset system telemetry platform-stats export sample-interval

Peer-Platform Statistics

nv show system telemetry peer-platform-stats

 

nv show system telemetry peer-platform-stats

Shows the peer-platform statistics settings: export state, sample interval, and classes.

Syntax Description

N/A

 

Default

N/A

History

25.03.20xx

Example

admin@nvos:~$ nv show system telemetry peer-platform-stats
                    operational  applied
------------------  -----------  --------
class
  asic
    state           enabled      enabled
  transceiver-info
    state           enabled      enabled
export
  state             disabled     disabled
  sample-interval   60           60

REST API

GET https://<ip>/nvue_v1/system/telemetry/peer-platform-stats

Related Commands

nv set/unset system telemetry peer-platform-stats export state

nv set/unset system telemetry peer-platform-stats export state

 

nv set system telemetry peer-platform-stats export state <enabled | disabled>
nv unset system telemetry peer-platform-stats export state

Enables or disables the export of peer-platform statistics. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables peer-platform statistics export.

Default

disabled

History

25.03.20xx

Example

admin@nvos:~$ nv set system telemetry peer-platform-stats export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-platform-stats/export

Related Commands

nv set/unset system telemetry peer-platform-stats export sample-interval

nv set/unset system telemetry peer-platform-stats export sample-interval

 

nv set system telemetry peer-platform-stats export sample-interval <interval>
nv unset system telemetry peer-platform-stats export sample-interval

Sets the interval at which the switch collects peer-platform statistics. A class sample interval overrides this setting. The unset command sets the interval back to the default (60 seconds).

Syntax Description

interval

The interval in seconds: 60–86400.

Default

60

History

25.03.20xx

Example

admin@nvos:~$ nv set system telemetry peer-platform-stats export sample-interval 300

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-platform-stats/export

Related Commands

nv set/unset system telemetry peer-platform-stats export state

nv set/unset system telemetry peer-platform-stats class <class> state

 

nv set system telemetry peer-platform-stats class <class> state <enabled | disabled>
nv unset system telemetry peer-platform-stats class <class> state

Enables or disables the export of a peer-platform statistics class. The switch exports a class only when peer-platform statistics export is enabled.

Syntax Description

class

The peer-platform statistics class:

  • asic

  • transceiver-info

enabled | disabled

Enables or disables export of the class.

Default

enabled

History

25.03.20xx

Example

admin@nvos:~$ nv set system telemetry peer-platform-stats class asic state enabled
admin@nvos:~$ nv set system telemetry peer-platform-stats class transceiver-info state disabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-platform-stats/class/<class>

Related Commands

nv set/unset system telemetry peer-platform-stats export state

nv set/unset system telemetry peer-platform-stats class <class> sample-interval

 

nv set system telemetry peer-platform-stats class <class> sample-interval <interval>
nv unset system telemetry peer-platform-stats class <class> sample-interval

Sets the sample interval for a peer-platform statistics class, which overrides the peer-platform-stats export sample interval. The unset command removes the class sample interval.

Syntax Description

class

The peer-platform statistics class:

  • asic

  • transceiver-info

interval

The interval in seconds: 60–86400.

Default

None (uses the peer-platform-stats export sample interval)

History

25.03.20xx

Example

admin@nvos:~$ nv set system telemetry peer-platform-stats class asic sample-interval 300

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/peer-platform-stats/class/<class>

Related Commands

nv set/unset system telemetry peer-platform-stats export sample-interval

Statistics Groups

nv show system telemetry stats-group

 

nv show system telemetry stats-group

Shows all statistics groups.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry stats-group
         Interface Stats  Peer Port  IB Router  Platform Stats  Peer Platform
-------  ---------------  ---------  ---------  --------------  -------------
GROUP_1  disabled         disabled   disabled   disabled        disabled

REST API

GET https://<ip>/nvue_v1/system/telemetry/stats-group

Related Commands

nv show system telemetry stats-group <stats-group-id>

nv show system telemetry stats-group <stats-group-id>

 

nv show system telemetry stats-group <stats-group-id>

Shows the configuration of a statistics group.

Syntax Description

stats-group-id

The statistics group name.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry stats-group GROUP_1
                        operational  applied
----------------------  -----------  --------
interface-stats
  sample-interval       1            1
  export
    state               enabled      enabled
  class
    phy
      state             disabled     disabled
peer-port-stats
  sample-interval       1            1
  export
    state               disabled     disabled
  class
    phy
      state             disabled     disabled
ib-router-stats
  sample-interval       1            1
  export
    state               disabled     disabled
platform-stats
  class
    cpu
      state             enabled      enabled
    disk
      state             enabled      enabled
    memory
      state             enabled      enabled
    environment-sensor
      state             enabled      enabled
    health-info
      state             enabled      enabled
    asic-power
      state             enabled      enabled
    platform-info
      state             enabled      enabled
    transceiver-info
      state             enabled      enabled
  export
    state               enabled      enabled
    sample-interval     60           60
peer-platform-stats
  class
    asic
      state             enabled      enabled
    transceiver-info
      state             enabled      enabled
  export
    state               disabled     disabled
    sample-interval     60           60

REST API

GET https://<ip>/nvue_v1/system/telemetry/stats-group/<stats-group-id>

Related Commands

nv show system telemetry stats-group

nv set/unset system telemetry stats-group

 

nv set system telemetry stats-group <stats-group-id>
nv unset system telemetry stats-group <stats-group-id>

Creates or removes a statistics group. You cannot remove a statistics group that a destination uses.

Syntax Description

stats-group-id

The statistics group name: 1–64 characters. The name global is reserved.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry stats-group GROUP_1

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/stats-group/<stats-group-id>
DELETE https://<ip>/nvue_v1/system/telemetry/stats-group/<stats-group-id>

Related Commands

nv show system telemetry stats-group <stats-group-id>

Additional commands

You can use the following commands in each statistics group. Every set command has a corresponding unset command, and every container has a corresponding show command. Each command has the same syntax as the equivalent global command and has the same effect within the statistics group.

  • nv set system telemetry stats-group <stats-group-id> interface-stats export state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> interface-stats sample-interval <1-86400>

  • nv set system telemetry stats-group <stats-group-id> interface-stats class phy state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> peer-port-stats export state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> peer-port-stats sample-interval <1-86400>

  • nv set system telemetry stats-group <stats-group-id> peer-port-stats class phy state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> ib-router-stats export state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> ib-router-stats sample-interval <1-86400>

  • nv set system telemetry stats-group <stats-group-id> platform-stats export state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> platform-stats export sample-interval <60-86400>

  • nv set system telemetry stats-group <stats-group-id> platform-stats class <class-name> state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> platform-stats class <class-name> sample-interval <60-86400>

  • nv set system telemetry stats-group <stats-group-id> peer-platform-stats export state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> peer-platform-stats export sample-interval <60-86400>

  • nv set system telemetry stats-group <stats-group-id> peer-platform-stats class <class-name> state <enabled | disabled>

  • nv set system telemetry stats-group <stats-group-id> peer-platform-stats class <class-name> sample-interval <60-86400>

Device Labels

nv show system telemetry label

 

nv show system telemetry label

Shows the device labels.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry label
       description
-----  -----------
plane  plane-2
role   spine

REST API

GET https://<ip>/nvue_v1/system/telemetry/label

Related Commands

nv show system telemetry label <label-id>

nv show system telemetry label <label-id>

 

nv show system telemetry label <label-id>

Shows a device label.

Syntax Description

label-id

The label name.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry label role
             operational  applied
-----------  -----------  -------
description  spine        spine

REST API

GET https://<ip>/nvue_v1/system/telemetry/label/<label-id>

Related Commands

nv show system telemetry label

nv set/unset system telemetry label <label-id> description

 

nv set system telemetry label <label-id> description <value>
nv unset system telemetry label <label-id> description
nv unset system telemetry label <label-id>

Sets or removes a device label. The switch adds device labels to the OTLP resource attributes. You can configure up to 10 device labels.

Syntax Description

label-id

The label name.

value

The label value: 1–64 characters.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry label role description spine

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/label/<label-id>
DELETE https://<ip>/nvue_v1/system/telemetry/label/<label-id>

Related Commands

nv show system telemetry label

Interface Labels

nv show interface <interface-id> telemetry label

 

nv show interface <interface-id> telemetry label

Shows the telemetry labels on an interface.

Syntax Description

interface-id

The interface name.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show interface sw1p1 telemetry label
           description
---------  -----------
direction  southbound

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/telemetry/label

Related Commands

nv show interface <interface-id> telemetry label <label-id>

nv show interface <interface-id> telemetry label <label-id>

 

nv show interface <interface-id> telemetry label <label-id>

Shows a telemetry label on an interface.

Syntax Description

interface-id

The interface name.

label-id

The label name.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show interface sw1p1 telemetry label direction
             operational  applied
-----------  -----------  ----------
description  southbound   southbound

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/telemetry/label/<label-id>

Related Commands

nv show interface <interface-id> telemetry label

nv set/unset interface <interface-id> telemetry label <label-id> description

 

nv set interface <interface-id> telemetry label <label-id> description <value>
nv unset interface <interface-id> telemetry label <label-id> description
nv unset interface <interface-id> telemetry label <label-id>

Sets or removes a telemetry label on an interface. The switch adds interface labels to the data points for that interface. You can configure up to 10 labels on each interface.

Syntax Description

interface-id

The interface name.

label-id

The label name.

value

The label value: 1–64 characters.

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv set interface sw1p1 telemetry label direction description southbound

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/telemetry/label/<label-id>
DELETE https://<ip>/nvue_v1/interface/<interface-id>/telemetry/label/<label-id>

Related Commands

nv show interface <interface-id> telemetry label

Log Export

nv show system telemetry logs

 

nv show system telemetry logs

Shows the log export configuration.

Syntax Description

N/A

 

Default

N/A

History

25.03.2006

Example

admin@nvos:~$ nv show system telemetry logs
         operational  applied
-------  -----------  --------
export
  state  disabled     disabled

REST API

GET https://<ip>/nvue_v1/system/telemetry/logs

Related Commands

nv set/unset system telemetry logs export state

nv set/unset system telemetry logs export state

 

nv set system telemetry logs export state <enabled | disabled>
nv unset system telemetry logs export state

Enables or disables the export of local syslog records as OTLP logs. Log export requires OTLP export to be enabled and at least one destination. The unset command sets the state back to the default (disabled).

Syntax Description

enabled | disabled

Enables or disables log export.

Default

disabled

History

25.03.2006

Example

admin@nvos:~$ nv set system telemetry logs export state enabled

REST API

PATCH https://<ip>/nvue_v1/system/telemetry/logs/export

Related Commands

nv show system telemetry logs

Last updated: