add netflow collector

Description

Adds a new Netflow Collector object (you can configure up to three). The Netflow records are exported to each defined collector.

In addition, see Configuring Netflow.

Syntax

add netflow collector ip <IPv4 Address of Collector> port <Destination Port on Collector> [srcaddr <Source IPv4 Address>] export-format {Netflow_V5 | Netflow_V9} is-enabled {true | false}

Parameters

Parameter

Description

ip <IPv4 Address of Collector>

Specifies the destination IPv4 address of the Netflow Collector, to which Gaia Embedded sends the Netflow packets.

Type: IP address

port <Destination Port on Collector>

Specifies the destination UDP port number on the Netflow Collector, on which the collector listens.

Type: Port number

srcaddr <Source IPv4 Address>

Optional: Specifies the source IPv4 address of the Netflow packets.

This must be an IPv4 address of the local host.

The default is an IPv4 address of the network interface, from which Gaia Embedded sends the Netflow packets.

We recommend the default.

Type: IP address

export-format {Netflow_V5 | Netflow_V9}

The Netflow protocol version to use:

  • Netflow_V5 - Protocol NetFlow v5

  • Netflow_V9 - Protocol NetFlow v9 (default)

Each Netflow protocol version has a different packet format.

is-enabled {true | false}

Enables (true) and disables (false) the Netflow Collector.

Type: Boolean (true/false)

Example

add netflow collector ip 192.168.22.33 port 8080 export-format Netflow_V9 srcaddr 192.168.1.1 is-enabled true