Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

sensor-based-stats (Junos Telemetry Interface)

Syntax

Hierarchy Level

Description

Enable the collection of certain statistics for the Junos telemetry interface. You must configure this statement when you configure a sensor to monitor and stream data for the following statistics:

  • LDP—Enable the collection of LDP traffic statistics. Use the resource option at the [edit services analytics sensor sensor-name] hierarchy level to configure one of the LDP statistics sensors to stream data through UDP.

  • MPLS—Enable the collection of 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.

Note:

This statement is also available for IS-IS statistics on MX Series, PTX3000, and PTX5000 routers. For more information, see Understanding Source Packet Routing in Networking (SPRING) and sensor-based-stats (Protocols IS-IS).

For additional information about configuring these statistics sensors to stream data through gRPC, see Guidelines for gRPC and gNMI Sensors (Junos Telemetry Interface).

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 15.1F6.

Support at the [edit protocols mpls] hierarchy level introduced 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.

Support at the [edit protocols ldp traffic-statistics] hierarchy level introduced in Junos OS Release 20.2R1 for MX Series routers and PTX Series routers.