Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


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.


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


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


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


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.