Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

template (Flow Monitoring IPFIX Version)

date_range 18-Dec-24

Syntax

content_copy zoom_out_map
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;
        output-interface;
    }
    (bridge-template|ipv4-template | ipv6-template | mpls-ipv4-template | mpls-ipvx-template | vpls-template); 
    multi-bgp-path; 
    nexthop-learning (enable |disable); 
    observation-domain-id 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

Description

Specify the IPFIX output template properties to support flow monitoring.

Options

template-name

Name of the IPFIX template.

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

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

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

external-footer-nav