flow-monitoring
Syntax
flow-monitoring { version9 { template template-name { options-template-id template-id source-id 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); peer-as-billing-template; option-refresh-rate packets packets seconds seconds; options-template-id source-id template-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); nexthop-learning (enable |disable); observation-domain-id option-refresh-rate packets packets seconds seconds; options-template-id template-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.