Enabling Streaming of Telemetry Sensor Information for SR-TE policies (BGP or Static)
Starting with Junos OS Release 18.3R1, OpenConfig support for MX Series and PTX Series through gRPC and JTI provides continuous statistics streaming via the same sensor irrespective of the route that is active (BGP or static) for a given Segment Routing Traffic Engineering (SR-TE) policy.
Support is available in Junos OS Evolved Release 21.4R1EVO for PTX10001-36MR, PTX10004, PTX10008, and PTX10016 routers.
This feature provides support for BGP [DRAFT-SRTE] and statically configured SR-TE policies at ingress routers.
To provision the sensor to export data through gRPC streaming, use the telemetrySubscribe RPC
to specify telemetry parameters. Include the resource path
/mpls/signaling-protocols/segment-routing/
to export these statistics.
In addition to configuring the sensor, you must enable statistics collection through the
Junos OS. To do this, include the statistics
configuration statement at the
[edit protocols source-packet-routing
telemetry
] hierarchy level. Optionally, you can limit statistics by
including the no-transit
or no-ingress
parameter.
See Configure a NETCONF Proxy Telemetry Sensor in Junos for instructions on configuring a sensor.
See Guidelines for gRPC and gNMI Sensors (Junos Telemetry Interface) for further information about resource paths.