Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

flow-monitoring

date_range 18-Dec-24

Syntax

content_copy zoom_out_map
flow-monitoring {
    version9 {
        template template-name {
            flow-active-timeout seconds;
            flow-inactive-timeout seconds;
            flow-key {
                flow-direction;
                vlan-id;
                output-interface;
            }
            (ipv4-template | ipv6-template | mpls-template label-position [ positions ] | mpls-ipv4-template label-position [ positions ] | mpls-ipvx-template);
            multi-bgp-path; 
            peer-as-billing-template;
            option-refresh-rate packets packets seconds seconds;
            options-template-id id; 
            source-id id;
            template-id id;
            template-refresh-rate packets packets seconds seconds;
            tunnel-observation [ipv4 | ipv6 | mpls-over-udp];
        }
    }
    version-ipfix {
        template template-name {
            data-record-fields { 
                source-prefix-as-path count;
                destination-prefix-as-path count;
                bgp-source-standard-community count;
                bgp-destination-standard-community count;
                bgp-source-extended-community count;
                bgp-destination-extended-community count;
                bgp-source-large-community count;
                bgp-destination-large-community count;
            }
            flow-active-timeout seconds;
            flow-inactive-timeout seconds;
            flow-key {
                flow-direction;
                vlan-id;
            }
            (ipv4-template | ipv6-template | mpls-ipv4-template | mpls-ipvx-template | vpls-template);
            multi-bgp-path; 
            nexthop-learning (enable |disable); 
            observation-domain-id domain-id;
            option-refresh-rate packets packets seconds seconds;
            options-template-id id;
            template-id id;
            template-refresh-rate packets packets seconds seconds;
            tunnel-observation [ipv4 | ipv6 | mpls-over-udp]; 
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services]

Description

Specify the active monitoring properties for flow aggregation version 9 or IPFIX.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.3.

data-record-fields option introduced in Junos OS Evolved Release 21.4R1.

multi-bgp-path option added in Junos OS Release 24.2R1.

footer-navigation