Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

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:

  1. In configuration mode, go to the [edit system fib-streaming] hierarchy level and add the forwarding information base (FIB) table you want to target using the table statement.
  2. Include the family statement and specify either inet (IPv4) or inet6 (IPv6).
  3. Use the prefix statement to add the address prefix following; here, the address is 2001:db8:0000:0000:250:af:34ff:fe26/64 and the prefix is 2001:db8:0000:0000
  4. To verify if prefix filtering is configured, use the operational mode command show fib-streaming state to display the Operation mode. The value prefix-filter confirms that prefix filtering mode is enabled.
Note:

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).