output (Sampling)
Syntax
output {
aggregate-export-interval seconds;
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;
}
file {
disable;
filename filename;
files number;
size bytes;
(stamp | no-stamp);
(world-readable | no-world-readable);
}
inline-jflow {
source-address address;
flow-export-rate rate;
}
}
Hierarchy Level
[edit forwarding-options sampling instance instance-name family (inet |inet6 |mpls)], [edit forwarding-options sampling family (inet |inet6 |mpls | vpls)]
Description
Configure cflowd or flow monitoring, output files and interfaces, and flow properties.
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.
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.