set netflow collector

Description

Configures an existing Netflow Collector that you added with the add netflow collector command.

In addition, see Configuring Netflow.

Syntax

set netflow collector

   for-ip [Press TAB to select the configured IPv4 Address of Collector]

      for-port [Press TAB to select the configured Destination Port on Collector]

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

Parameters

Parameter

Description

for-ip <IPv4 Address of Collector>

Selects the configured Netflow Collector by its destination IPv4 address.

Notes:

  • If you configured only one Netflow Collector, it is not necessary to use the "for-ip" and the "for-port" parameters.

  • If you configured two or three Netflow Collectors with different IP addresses, use the "for-ip" parameter.

  • If you configured two or three collectors with the same IPv4 address and different UDP ports, you must use the "for-ip" and the "for-port" parameters to identify the collectors.

Type: IP address

for-port <Destination Port on Collector>

Selects the configured Netflow Collector by its destination UDP port number.

Type: Port number

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

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.

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

is-enabled {true | false}

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

Type: Boolean (true/false)

Example

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