Fortinet white logo
Fortinet white logo

CLI Reference

config system netflow

config system netflow

Configure NetFlow.

config system netflow

Description: Configure NetFlow.

set collector-ip {ipv4-address}

set collector-port {integer}

set source-ip {ipv4-address}

set active-flow-timeout {integer}

set inactive-flow-timeout {integer}

set template-tx-timeout {integer}

set template-tx-counter {integer}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config system netflow

Parameter

Description

Type

Size

Default

collector-ip

Collector IP.

ipv4-address

Not Specified

0.0.0.0

collector-port

NetFlow collector port number.

integer

Minimum value: 0 Maximum value: 65535

2055

source-ip

Source IP address for communication with the NetFlow agent.

ipv4-address

Not Specified

0.0.0.0

active-flow-timeout

Timeout to report active flows .

integer

Minimum value: 1 Maximum value: 60

30

inactive-flow-timeout

Timeout for periodic report of finished flows .

integer

Minimum value: 10 Maximum value: 600

15

template-tx-timeout

Timeout for periodic template flowset transmission .

integer

Minimum value: 1 Maximum value: 1440

30

template-tx-counter

Counter of flowset records before resending a template flowset record.

integer

Minimum value: 10 Maximum value: 6000

20

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Maximum length: 15

config system netflow

config system netflow

Configure NetFlow.

config system netflow

Description: Configure NetFlow.

set collector-ip {ipv4-address}

set collector-port {integer}

set source-ip {ipv4-address}

set active-flow-timeout {integer}

set inactive-flow-timeout {integer}

set template-tx-timeout {integer}

set template-tx-counter {integer}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config system netflow

Parameter

Description

Type

Size

Default

collector-ip

Collector IP.

ipv4-address

Not Specified

0.0.0.0

collector-port

NetFlow collector port number.

integer

Minimum value: 0 Maximum value: 65535

2055

source-ip

Source IP address for communication with the NetFlow agent.

ipv4-address

Not Specified

0.0.0.0

active-flow-timeout

Timeout to report active flows .

integer

Minimum value: 1 Maximum value: 60

30

inactive-flow-timeout

Timeout for periodic report of finished flows .

integer

Minimum value: 10 Maximum value: 600

15

template-tx-timeout

Timeout for periodic template flowset transmission .

integer

Minimum value: 1 Maximum value: 1440

30

template-tx-counter

Counter of flowset records before resending a template flowset record.

integer

Minimum value: 10 Maximum value: 6000

20

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Maximum length: 15