Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Import the Junos 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 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.
    Network management interface showing highlighted Configlets section with Import Configlet button at bottom right.
  2. From the Configlet drop-down menu, select Flow Data for Optional Flow Analytics.
    Select the devices you want to apply the confliglet to, then click Import Configlet.
    User interface for importing a Configlet from a Global Catalog with highlighted option Flow Data For Optional Flow Analytics.
  3. Edit the property set to add the collector IP address of your Flow Data VM, then click Update.
    Edit Property Set interface with Name field value Flow Data For Optional Flow Analytics, Editor input type selected, YAML values field with collector_ip: IP_OF_FLOW_VM, YAML format selected, and Update button.
  4. Under Property Set, select Flow Data For Optional Flow Analytics, then click Import Property Set.
    Dropdown menu under Import Property Set from Global Catalog with Property Set options: Flow Data For Optional Flow Analytics selected in red and SNMP for Flow Data Interface Enrichment.
  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 Apstra Flow Configlet

The following example shows the Junos Apstra Flow configlet 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

Optionally, you can display the actual interface names (for example, xe-0/0/1) instead of the interface indexes values. To do this, Apstra Flow needs to query the devices through SNMP 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 > Analytics > Staged. From the Catalog tab, select Configlets, then click Import Configlet.
  2. From the Global Catalog, select SNMP for Flow Data Interface Enrichment.
    Select the devices you want to apply the confliglet to, then click Import Configlet.
    Dropdown menu titled Import Configlet from Global Catalog with SNMP for Flow Data Interface Enrichment highlighted in red box.
  3. Edit the property set to add the community string for your SNMP configuration, then click Update.
    Edit Property Set interface with Name field SNMP for Flow Data Interface Enrichment. Input Type Editor selected. Values section with YAML snmp_community: public. YAML format selected. Update button at the bottom.
  4. Under Property Set, select SNMP for Flow Data Interface Enrichment, then click Import Property Set.
    Dropdown menu under Import Property Set from Global Catalog with SNMP for Flow Data Interface Enrichment option highlighted.
  5. Finally, commit your configuration to import the configlet to your Junos devices.