Statement introduced in Junos OS Release 18.3R1 on the MX Series and PTX Series with FPC-PTX-P1-A.
Enable traffic-statistics collection on SR-TE policies through sensors for both SRTE 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 SRTE routes.
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 SRTE 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.