Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

statistics

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
statistics {
    no-ingress;
    no-transit;
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems name protocols source-packet-routing telemetry],
[edit protocols source-packet-routing telemetry]

Description

Enable traffic-statistics collection on SR-TE policies through sensors for both SR-TE policy next hop and binding segment identifier (SID) installed in the forwarding table, by using JVISION traffic sensors in Junos data plane to stream out traffic statistics on static segment routing policies and their corresponding binding SID routes.

Options

  • Default: By default statistics collection is disabled for static SR-TE routes.

no-ingress

(Optional) Create sensors for binding SID transit routes only.

no-transit

(Optional) Create sensors for SR-TE policy next hops and collect statistics on all steering routes that use the SR-TE policy as nexthop.

Note:

no-ingress and no-transit are mutually exclusive. You cannot disable traffic collection at both destination route and binding SID route.If you enable statistics collection and do not configure one of the two options then the sensors collect traffic statistics steered by all routes that use the SR-TE policy as a nexthop and the labeled traffic steered by the binding SID that are installed in the forwarding table.

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 18.3R1.

footer-navigation