Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


family (Sampling)


Hierarchy Level


Configure the protocol family to be sampled. IPv4 (inet) is supported for most purposes, but you can configure family mpls to collect and export MPLS label information, family inet6 to collect and export IPv6 traffic using flow aggregation version 9, and vpls to collect and export VPLS information, and bridge to collect and export bridge information.

The remaining statements are explained separately. See CLI Explorer.


The inline-jflow statement is valid only under the [edit forwarding-options sampling instance instance-name family family output] hierarchy level. The file statement is valid only under the [edit forwarding-options sampling family inet output] hierarchy level.

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.

mpls option introduced in Release 8.3.

inet6 option introduced in Release 9.4.

vpls option introduced in Junos OS Release 13.2 for MX Series routers.

bridge option introduced in Release 18.2R1 for MX Series routers.

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.