template (Flow Monitoring IPFIX Version)
Syntax
- Syntax (ACX Series on Junos OS Evolved)
- Syntax (SRX Firewalls)
- Syntax (all other supported products)
Syntax (ACX Series on Junos OS Evolved)
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;
}
(ipv4-template | ipv6-template);
nexthop-learning (enable |disable);
option-refresh-rate packets packets seconds seconds;
template-refresh-rate packets packets seconds seconds;
}
Syntax (SRX Firewalls)
template template-name {
ipv4-template {
export-extension (app-id | flow-dir);
}
ipv6-template {
export-extension (app-id | flow-dir);
}
nexthop-learning (disable | enable);
option-refresh-rate packets packets seconds seconds;
template-refresh-rate packets packets seconds seconds;
}Syntax (all other supported products)
template template-name {
data-record-fields {
include-policy-map-name;
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
[edit services flow-monitoring version-ipfix]
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.
include-policy-map-name option added in Junos OS Evolved 24.4R1.