Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Import the Junos OS Apstra Flow Configlet

Import the Configlet

A standard Junos sFlow confliget is provided with your product. You'll want to clone this default configlet, modify it to your needs, and then import it into your blueprint from the Apstra GUI (see Example: Junos OS Apstra Flow Configlet).

To import the flow data configlet into Apstra:

  1. From the left navigation menu in the Apstra GUI, navigate to Blueprints > Analytics > Staged. From the Catalog tab, select Configlets, then click Import Configlet.
  2. From the Configlet drop-down menu, select Flow Data for Optional Flow Analytics.
    Select the devices you want to apply the configlet to, then click Import Configlet.
  3. Edit the property set to add the collector IP address of your Flow Data VM, then click Update.
  4. Under Property Set, select Flow Data For Optional Flow Analytics, then click Import Property Set.
  5. Finally, commit your configuration to import the configlet to your Junos devices.
Good job! You completed the completed the Apstra Flow Data installation. Next, continue to Launch the Apstra Flow Dashboard.

Example: Junos OS Apstra Flow Configlet

The following example shows the Junos OS Apstra Flow configlet that is provided with your product.

This configlet contains a static routing option to route the flow traffic over the management Junos RPF interface. You can also specify the sFlow polling and sampling intervals, collector IP address, UDP port and interfaces you want to collect data on.

Configure SNMP for Interface Name Enrichment

If you prefer to see actual interface names such as xe-0/0/1 over interface indexes, Apstra Flow must query the devices using SNMP. This process is necessary for this type of enrichment.

Perform the following steps to configure SNMP:

  1. From the left navigation menu in the Apstra GUI, navigate to Blueprints and select the blueprint you want to update.
    Navigate to the Staged >Catalog tab, select Configlets, then click Import Configlet.
  2. From the Global Catalog, select Example SNMPv2 configlet for flow-data interface enrichment.
    Select the devices you want to apply the configlet to, then click Import Configlet.
  3. Select the property set to import.
    Under Property Set, select Example SNMPv2 property-set for flow-data interface name enrichment, then click Import Property Set.
  4. Edit the property set.
    Add the community string for your SNMP configuration, then click Update.
  5. Finally, import the property set.
    Commit your configuration to import the configlet to your Junos devices.