NetFlow is a protocol for exporting aggregated traffic information
with UDP packets flow. NetFlow is generated by ng_netflow(4) node.
To enable NetFlow on a particular interface netflow-in or
netflow-out options should be used. Best practice is to enable
netflow on every interface in system in only one direction:
incoming for "ingress" flow or outgoing for "egress" flow.
Note: Netflow configuration is global for the daemon, so it must be done before first bundle get connected.
Note: This feature is available only on FreeBSD 6.0-RELEASE and newer. NetFlow v9 supprted only on FreeBSD 9.0-RELEASE and newer.
set netflow peer ip portSet destination IP address and port, where NetFlow export datagrams will be sent. This options is important to have working NetFlow.
set netflow self ip portSet optional local IP and port binding, to make NetFlow datagrams originate from a specific source.
set netflow version verChoose NetFlow version to export. Supported options are 5 or 9.
Default is 5.
set netflow mtu bytesSet export interface MTU to build packets of specified size (NetFlow v9-specific).
Default is 1500.
set netflow template time packetsModify time and packet timeouts to announce data flow templates (NetFlow v9-specific).
Defaults are 600 and 500.
set netflow timeouts inactive activeModify inactive and active timeout values. For more information, see
ng_netflow(4) manual page.
set netflow node nodenameUse existing ng_netflow(4) node instead of creating a new one.
set netflow hook numberUse ng_netflow(4) node's hooks starting from specified number.
For detailed information about naming of hooks, see ng_netflow(4)
manual page.