You can use Junos telemetry interface (JTI) and gRPC Network Management Interface (gNMI) services to export Packet Forwarding Engine statistics from devices to an outside collector using gNMI submode INITIAL_SYNC. When an external collector sends a subscription request for a sensor with INITIAL_SYNC (gnmi-submode 2), the host sends all supported target leaves (fields) under that resource path at least once to the collector with the current value. This is valuable because:
as source) are known to the collector.
INITIAL_SYNC submode requires that at least one copy to be sent to the collector; however, sending more than one is acceptable.
INITIAL_SYNC submode is supported for the following sensors:
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX960 | Junos OS | 20.2R1 |
| MX2008 | Junos OS | 20.2R1 |
| MX2010 | Junos OS | 20.2R1 |
| MX2020 | Junos OS | 20.2R1 |
| PTX1000 | Junos OS | 20.2R1 |
| PTX5000 | Junos OS | 20.2R1 |
| PTX10008 | Junos OS | 20.2R1 |
| PTX10016 | Junos OS | 20.2R1 |
| QFX5100 | Junos OS | 20.2R1 |
| QFX5130-32CD | Junos OS Evolved | 20.4R1 |
| QFX5130E-32CD | Junos OS Evolved | 23.4R2 |
| QFX5130-48C | Junos OS Evolved | 23.4R1 |
| QFX5130-48CM | Junos OS Evolved | 23.4R2 |
| QFX5200-32C | Junos OS | 20.2R1 |
| QFX5250-64OE-L | Junos OS Evolved | 25.2X100-D20 |
| QFX5140-24CD8O | Junos OS Evolved | 25.2X100-D20 |