sensor-based-stats
Syntax
sensor-based stats { per-interface-per-member-link { egress; ingress; } per-sid { egress; ingress; } subscribe { interval interval; } }
Hierarchy Level
[edit protocols isis source-packet-routing],
[edit protocols (ospf | ospf3) source-packet-routing]
Description
Enable the collection of aggregate segment routing statistics for the Source Packet Routing in Networking (SPRING) traffic only, excluding RSVP and LDP-signaled traffic. Family MPLS statistics per interface are accounted for separately. The SR statistics also include SPRING traffic statistics per link aggregation group (LAG) member and per segment identifier (SID). The statistics are collected using the Juniper telemetry interface in an OpenConfig compliant format for Layer 3 interfaces.
This statement is also available for LDP and MPLS statistics. For more information see sensor-based-stats (Junos Telemetry Interface).
For additional information about configuring these statistics sensors to stream data through gRPC, see Guidelines for gRPC and gNMI Sensors (Junos Telemetry Interface).
Enables the collection of on
box telemetry spring sensor-based traffic statistics using the
subscribe
statement. As a result, the configuration triggers
and records the on box telemetry for spring sensor-based statistics. The
configuration creates a connection with network-agent and subscribes to the
configured sensor path. The sensor path is installed on the Packet Forwarding
Engine.
Options
per-interface-per-member-link |
Configure sensor-based statistics per nexthop. Sensor-based statistics is the traffic statistics in a segment routing (SR) network that can be recorded in an OpenConfig compliant format for Layer 3 interfaces. The statistics is recorded for the Source Packet Routing in Networking (SPRING) traffic only, excluding RSVP and LDP-signaled traffic, and the family MPLS statistics per interface is accounted for separately. The SR statistics also includes SPRING traffic statistics per link aggregation group (LAG) member, and per segment identifier (SID).
|
||||
per-sid |
Configure sensor based statistics per Source Packet Routing in Networking (SPRING) route. Sensor-based statistics is the traffic statistics in a segment routing (SR) network that can be recorded in an OpenConfig compliant format for Layer 3 interfaces. The statistics is recorded for SPRING traffic only, excluding RSVP and LDP-signaled traffic, and the family MPLS statistics per interface is accounted for separately. The SR statistics also includes SPRING traffic statistics per link aggregation group (LAG) member, and per segment identifier (SID).
|
||||
subscribe |
Enables the collection of on box telemetry spring sensor- based traffic statistics with the interval range for interval configurationbetween 30 to 86400 seconds.
|
Required Privilege Level
routing—To view this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 17.4R1.
Support at the [edit protocols (ospf | ospf3) source-packet-routing]
hierarchy level introduced in Junos OS Release 23.1R1 and Junos OS Evolved Release
23.1R1.