gNMI Telemetry Overview

Use this topic to understand gNMI, a secure, gRPC-based network management protocol on Juniper routers, and how to enable it in Juniper Routing Assurance for operational visibility with Marvis AI Assistant for routing.

gRPC Network Management Interface (gNMI)

gNMI is a network management protocol based on gRPC for configuring and monitoring network devices. gNMI enables secure and efficient streaming of real-time device state, operational metrics, and configuration data from network devices. As gNMI provides a consistent and reliable mechanism for telemetry collection, it is used widely in network devices and network automation platforms.

Marvis® AI Assistant for Routing uses continuous router telemetry to detect, classify, and analyze router events. Juniper routers support gNMI as one of the mechanisms for transmitting configuration, state, and streaming telemetry data.

Several features in Juniper Routing Assurance rely on gNMI to retrieve real-time telemetry and operational data from onboarded routers. You must enable gNMI telemetry in Juniper Routing Assurance to ensure that the application can communicate with onboarded routers using standardized gRPC‑based telemetry streams. Once gNMI Telemetry is enabled, you can begin using all features that depend on gNMI for live telemetry and operational visibility.

To configure gNMI Telemetry in Juniper Routing Assurance, see Configure gNMI Telemetry. See Table 1 for the list of features that leverage gNMI telemetry for monitoring and analytics.

gNMI is supported only on routers running Junos OS and Junos OS Evolved version 25.2 and later. Routers running earlier versions of Junos OS and Junos OS Evolved must be upgraded to Junos OS or Junos OS Evolved version 25.2 or later to use gNMI functionality.

Note: To receive insights for specific events, you must enable gNMI telemetry in Juniper Routing Assurance. If you disable gNMI Telemetry, features dependent on gNMI Telemetry will be unavailable as Juniper Routing Assurance cannot establish telemetry subscriptions or collect live data from routers.
Note: Enable gNMI Telemetry for Marvis to report MTU Mismatch event in the Marvis Actions dashboard. Marvis detects an MTU mismatch error on an interface's ingress side only if gNMI Telemetry is enabled.
Table 1: gNMI Telemetry-Based Feature List

Marvis Action Event

Description

MTU Mismatch

Identifies MTU mismatch errors on the router's interfaces.

Traffic Drops

Detects packet-drop conditions affecting forwarding performance and network health.