Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure a server to either:

  • Collect an aggregate of sampled flows and send the aggregate to a specified host system that runs the collection utility cfdcollect, or

  • Specify a host system to collect sampled flows using the version 9 or IPFIX format.

You can configure up to one version 5 and one version 8 flow format at the [edit forwarding-options sampling family (inet | inet6 | mpls) output flow-server hostname] hierarchy level. For the same configuration, you can specify either version 9/IPFIX flow record formats or version 5/8 formats, not both types of formats.


hostname—IP address–IPv4 or IPv6–or identifier of the host system (the workstation either running the cflowd utility or collecting traffic flows using version 9 or IPFIX).


Only host systems running IPv4 are supported on QFX10000 switches.

You can configure only one host system for version 9.


IPv6 configuration for flow-server is supported only in Junos OS Release 12.3 and later.

Note that when you configure an IPv6 address for the flow-server statement, you must also configure an IPv6 address for the inline-jflow source-address statement at the [edit forwarding-options sampling instance instance-name family (inet | inet6 | mpls | vpls | bridge) output] hierarchy level.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

version9 statement introduced in Junos OS Release 8.3.

Support at the following hierarchy levels introduced in Junos OS Release 18.2R1: [edit forwarding-options sampling instance instance-name family bridge], , [edit forwarding-options sampling family bridge].

Support for IPv6 addresses for the flow-server address and source-address address statements within sampling instances introduced in Junos OS Evolved Release 23.1R1.