flow-monitoring
Syntax
- Syntax (ACX Series running Junos OS Evolved)
- Syntax (SRX Firewalls)
- Syntax (all other supported products)
Syntax (ACX Series running Junos OS Evolved)
flow-monitoring {
version9 {
template template-name {
(ipv4-template | ipv6-template);
option-refresh-rate packets packets seconds seconds;
template-refresh-rate packets packets seconds seconds;
}
}
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;
}
(ipv4-template | ipv6-template);
nexthop-learning (disable | enable);
option-refresh-rate packets packets seconds seconds;
template-refresh-rate packets packets seconds seconds;
}
}
}
Syntax (SRX Firewalls)
flow-monitoring {
version9 {
template template-name {
ipv4-template {
export-extension (app-id | flow-dir);
}
ipv6-template {
export-extension (app-id | flow-dir);
}
option-refresh-rate packets packets seconds seconds;
template-refresh-rate packets packets seconds seconds;
}
}
version-ipfix {
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)
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 {
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;
}
(ipv4-template | ipv6-template | mpls-ipv4-template | mpls-ipvx-template | vpls-template);
multi-bgp-path;
nexthop-learning (disable | enable);
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
[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.
include-policy-map-name option added in Junos OS Evolved 24.4R1.