sensor-based-stats (Junos Telemetry Interface)
Statement introduced in Junos OS Release 15.1F6.
Statement introduced in Junos OS Release 17.2R1 for QFX10000 switches and PTX1000 routers.
Statement introduced in Junos OS Release 17.3R1 for EX9200 switches.
The IS-IS hierarchy and the per-interface-per-member-link and per-sid options introduced in Junos OS Release 17.4R1 for MX Series routers and PTX5000 routers.
The IS-IS hierarchy and the per-sid option is introduced in Junos OS Release 19.1R1 for PTX3000 routers.
Statement introduced at the MPLS hierarchy in Junos OS Release 19.2R1 for ACX6360 routers.
Statement supported in Junos OS Evolved Release 19.1R1 on PTX10003 routers and QFX 10003 switches.
For the MPLS hierarchy, enable the collection of LSP statstics for the Junos Telemetry Interface. You must configure this statement when you configure a sensor to monitor and stream data for LSP statistics. To enable a sensor to stream data for LSP statistics through UDP, include the resource /junos/services/label-switched-path/usage/ statement at the [edit services analytics sensor sensor-name] hierarchy level.
For additional information about configuring an LSP statistics sensor to stream data through gRPC, see Guidelines for gRPC Sensors (Junos Telemetry Interface).
For the IS-IS hierarchy, enable the collection of aggregate segment routing statistics.
Only MX Series routers, PTX3000, and PTX5000 routers support this hierarchy.
The remaining options are explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.