Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

statistics

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 18.3R1 on the MX Series and PTX Series with FPC-PTX-P1-A.

Description

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.

Options

Default: By default statistics collection is disabled for static SRTE routes.

no-ingress(Optional) Create sensors for binding SID transit routes only.
no-transit(Optional) Create sensors for SRTE policy next hops and collect statistics on all steering routes that use the SRTE 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 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.