Junos OS provides Segment Routing Traffic Engineering (SR-TE) per Label Switched Path (LSP) route statistics using Junos telemetry interface (JTI) and remote procedure call (gRPC) services. Using JTI and gRPC services, you can stream SR-TE telemetry statistics for uncolored SR-TE policies statistics to an outside collector.
Ingress statistics include statistics for all traffic steered by means of an SR-TE LSP. Transit statistics include statistics for traffic to the Binding-SID (BSID) of the SR-TE policy.
To enable these statistics, include the per-source per-segment-list statement at the [edit protocols source-packet-routing telemetry statistics] hierarchy level.
If you issue the set protocols source-packet-routing telemetry statistics no-ingress command, ingress sensors are not created.
If you issue the set protocols source-packet-routing telemetry statistics no-transit command, transit sensors are not created. Otherwise, if BSID is configured for a tunnel, transit statistics are created.
The following resource paths (sensors) are supported:
To provision the sensor to export data through gRPC services, use the telemetrySubscribe RPC. Streaming telemetry data through gRPC or gNMI also requires the OpenConfig for Junos OS module.
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX5 | Junos OS | 20.1R1 |
| MX10 | Junos OS | 20.1R1 |
| MX40 | Junos OS | 20.1R1 |
| MX80 | Junos OS | 20.1R1 |
| MX104 | Junos OS | 20.1R1 |
| MX150 | Junos OS | 20.1R1 |
| MX204 | Junos OS | 20.1R1 |
| MX240 | Junos OS | 20.2R1 |
| MX240 | Junos OS | 20.1R1 |
| MX301 | Junos OS | 25.4R1 |
| MX304 | Junos OS | 22.2R3 |
| MX480 | Junos OS | 20.2R1 |
| MX480 | Junos OS | 20.1R1 |
| MX960 | Junos OS | 20.2R1 |
| MX960 | Junos OS | 20.1R1 |
| MX2008 | Junos OS | 20.1R1 |
| MX2010 | Junos OS | 20.2R1 |
| MX2010 | Junos OS | 20.1R1 |
| MX2020 | Junos OS | 20.2R1 |
| MX2020 | Junos OS | 20.1R1 |
| MX10003 | Junos OS | 20.1R1 |
| MX10004 | Junos OS | 22.3R1 |
| MX10008 | Junos OS | 20.1R1 |
| MX10016 | Junos OS | 20.1R1 |
| PTX1000 | Junos OS | 20.1R1 |
| PTX3000 | Junos OS | 20.1R1 |
| PTX5000 | Junos OS | 20.1R1 |
| PTX10008 | Junos OS | 20.1R1 |
| PTX10016 | Junos OS | 20.1R1 |