Configuring Prefix Filtering
You can configure prefix filtering for Junos telemetry interface (JTI). With prefix filtering, you control the flow of data from your device to the collector. Only interfaces with the required prefixes and their corresponding next-hop and next-hop group containers are exported to the OpenConfig Abstract Forwarding Table (oc-aft) collector.
Reducing the set of interfaces to only those with prefixes of interest decreases the overall CPU and resource usage on Routing Engines, FPCs, and MPCs.
To configure prefix filtering:
Export data from your source (target) to a collector using the sensor /network-instances/network-instance/afts/. When using prefix-filter mode, we recommend you use streaming subscription mode at a sampling frequency of 5 minutes or more and that all collectors have the same sampling frequency. If you are using non-prefix-filter mode, we recommend you use ON_CHANGE subscription mode. You can also export data using User Datagram Protocol (UDP).