Manual Page Search Parameters

PFLOWCTL(8) System Manager's Manual PFLOWCTL(8)

pflowctlcontrol pflow data export

pflowctl [-v] [-lc] [-d id] [-s id ...]

The pflowctl utility creates, configures and deletes netflow accounting data export using the pflow(4) subsystem.

The pflowctl utility provides several commands. The options are as follows:

Produce verbose output.
Create a new pflow(4) exporter.
id
Remove an existing pflow(4) exporter. The id may be either numeric or the full pflowX name.
List all existing pflow(4) exporters.
id ...
Configure an existing pflow(4) exporter. This takes the following keywords:

set the source IP address (and optionally port).
set the destination IP address (and optionally port).
set the protocol version. Valid values are 5 and 10.
set the observation domain.

Multiple keywords may be passed in the same command invocation.

For example, the following command sets 10.0.0.1 as the source and 10.0.0.2:1234 as destination:

# pflowctl -s pflow0 src 10.0.0.1 dst 10.0.0.2:1234

netintro(4), pf(4), pflow(4), udp(4), pf.conf(5)

The pflowctl command first appeared in FreeBSD 15.0.

January 25, 2024 dev