Feature Explorer AI AI

×

Subscribe now to get the Latest Updates

Watch a 2-minute overview video

ON_CHANGE sensor support through gRPC Network Management Interface (gNMI) for Junos Telemetry Interface

More Information:

ON_CHANGE sensor support through gRPC Network Management Interface (gNMI) for Junos Telemetry Interface

ON_CHANGE streaming of Address Resolution Protocol (ARP), Network Discovery Protocol (NDP), and IP sensor information associated with interfaces is supported on Junos Telemetry Interface (JTI).

Periodical streaming of OpenConfig operational states and counters has been supported since Junos OS Release 16.1, exporting telemetry data from Juniper equipment to an external collector. While useful in collecting all the needed information and creating a baseline "snapshot," periodical streaming is less useful for time-critical missions. In such instances, you can configure ON_CHANGE streaming for an external collector to receive information only when operational states experience a change in state.

To support ON_CHANGE streaming, Google has developed a new specification called gRPC Network Management Interface (gNMI) for the modification and retrieval of configurations from a network element. Additionally, the gNMI specification can be used to generate and control telemetry streams from a network element to a data collection system. Using the new gNMI specification, one gRPC service definition can provide a single implementation on a network element for both configuration and telemetry as well as a single NMS element to interact with a device by means of telemetry and configuration RPCs.

Information about the RPCs supporting this feature can be found in the gNMI Proto file version 0.4.0 (the supported version) and the specification released by Google at:

The telemetry RPC subscribe under gNMI service supports ON_CHANGE streaming. RPC subscribe allows a client to request the target to send it values of particular paths within the data tree. Values may be streamed (STREAM), sent one-off on a long-lived channel (POLL), or sent one-off as a retrieval (ONCE).

If a subscription is made for a top level container with a sample frequency of 0, leaves with ON_CHANGE support are streamed based on events. Other leaves will not be streamed.

Product / Application Software Introduced Release
MX5 Junos OS 18.1R1
MX10 Junos OS 18.1R1
MX40 Junos OS 18.1R1
MX80 Junos OS 18.1R1
MX104 Junos OS 18.1R1
MX204 Junos OS 18.1R1
MX240 Junos OS 18.1R1
MX301 Junos OS 25.4R1
MX304 Junos OS 22.2R3
MX480 Junos OS 18.1R1
MX960 Junos OS 18.1R1
MX2008 Junos OS 18.1R1
MX2010 Junos OS 18.1R1
MX2020 Junos OS 18.1R1
MX10003 Junos OS 18.1R1
Next Generation Port Extender Junos OS 25.4R1
PTX1000 Junos OS 18.1R1
PTX3000 Junos OS 18.1R1
PTX5000 Junos OS 18.1R1
PTX10008 Junos OS 18.1R1
PTX10016 Junos OS 18.1R1