family (Sampling)
Syntax
family (inet | inet6 | mpls | vpls | bridge) { disable; input { max-packets-per-second max-packets-per-second; maximum-packet-length maximum-packet-length; rate rate; run-length run-length } output { aggregate-export-interval seconds; file { disable; filename filename; files number; size bytes; (stamp | no-stamp); (world-readable | no-world-readable); } flow-active-timeout seconds; flow-inactive-timeout seconds; flow-server hostname { aggregation { autonomous-system; destination-prefix; protocol-port; source-destination-prefix { caida-compliant; } source-prefix; } autonomous-system-type (origin | peer); dscp dscp-value; forwarding-class class-name; (local-dump | no-local-dump); port port-number; version format; version9 { template template-name; } version-ipfix { template template-name; } } interface interface-name { engine-id number; engine-type number; source-address address; } inline-jflow { source-address address; flow-export-rate rate; } } }
Hierarchy Level
[edit forwarding-options sampling], [edit forwarding-options sampling instance instance-name] [edit forwarding-options sampling instance instance-name family (inet | inet6 | bridge)
Description
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.