Fortinet black logo

CLI Reference

config system netflow

config system netflow

Configure NetFlow.

config system netflow
    Description: Configure NetFlow.
    set active-flow-timeout {integer}
    set collector-ip {ipv4-address}
    set collector-port {integer}
    set inactive-flow-timeout {integer}
    set interface {string}
    set interface-select-method [auto|sdwan|...]
    set source-ip {ipv4-address}
    set template-tx-counter {integer}
    set template-tx-timeout {integer}
end

config system netflow

Parameter

Description

Type

Size

Default

active-flow-timeout

Timeout to report active flows.

integer

Minimum value: 1 Maximum value: 60

30

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

inactive-flow-timeout

Timeout for periodic report of finished flows.

integer

Minimum value: 10 Maximum value: 600

15

interface

Specify outgoing interface to reach server.

string

Not Specified

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.

source-ip

Source IP address for communication with the NetFlow agent.

ipv4-address

Not Specified

0.0.0.0

template-tx-counter

Counter of flowset records before resending a template flowset record.

integer

Minimum value: 10 Maximum value: 6000

20

template-tx-timeout

Timeout for periodic template flowset transmission.

integer

Minimum value: 1 Maximum value: 1440

30

config system netflow

Configure NetFlow.

config system netflow
    Description: Configure NetFlow.
    set active-flow-timeout {integer}
    set collector-ip {ipv4-address}
    set collector-port {integer}
    set inactive-flow-timeout {integer}
    set interface {string}
    set interface-select-method [auto|sdwan|...]
    set source-ip {ipv4-address}
    set template-tx-counter {integer}
    set template-tx-timeout {integer}
end

config system netflow

Parameter

Description

Type

Size

Default

active-flow-timeout

Timeout to report active flows.

integer

Minimum value: 1 Maximum value: 60

30

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

inactive-flow-timeout

Timeout for periodic report of finished flows.

integer

Minimum value: 10 Maximum value: 600

15

interface

Specify outgoing interface to reach server.

string

Not Specified

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.

source-ip

Source IP address for communication with the NetFlow agent.

ipv4-address

Not Specified

0.0.0.0

template-tx-counter

Counter of flowset records before resending a template flowset record.

integer

Minimum value: 10 Maximum value: 6000

20

template-tx-timeout

Timeout for periodic template flowset transmission.

integer

Minimum value: 1 Maximum value: 1440

30