pflowctl(8)

pflowctl8

Control pflow data export

Usage

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

Overview

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:

-v

Produce verbose output.

-c

Create a new pflow(4) exporter.

-d id

Remove an existing pflow(4) exporter. The id may be either numeric or the full pflowX name.

-l

List all existing pflow(4) exporters.

-s id ...

Configure an existing pflow(4) exporter. This takes the following keywords:

src

set the source IP address (and optionally port).

dst

set the destination IP address (and optionally port).

proto

set the protocol version. Valid values are 5 and 10.

domain

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

Releases

Unchanged in 3 releases since FreeBSD 15.0-RELEASE.

  1. 15.0–16.0

History

The pflowctl command first appeared in FreeBSD 15.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.