Fortinet white logo
Fortinet white logo

CLI Reference

config system netflow

config system netflow

Configure NetFlow.

config system netflow
    Description: Configure NetFlow.
    set active-flow-timeout {integer}
    config collectors
        Description: Netflow collectors.
        edit <id>
            set collector-ip {string}
            set collector-port {integer}
            set source-ip {string}
            set interface-select-method [auto|sdwan|...]
            set interface {string}
        next
    end
    set inactive-flow-timeout {integer}
    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: 60 Maximum value: 3600

1800

inactive-flow-timeout

Timeout for periodic report of finished flows.

integer

Minimum value: 10 Maximum value: 600

15

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: 60 Maximum value: 86400

1800

config collectors

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 1 Maximum value: 6

0

collector-ip

Collector IP.

string

Maximum length: 63

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.

string

Maximum length: 63

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 active-flow-timeout {integer}
    config collectors
        Description: Netflow collectors.
        edit <id>
            set collector-ip {string}
            set collector-port {integer}
            set source-ip {string}
            set interface-select-method [auto|sdwan|...]
            set interface {string}
        next
    end
    set inactive-flow-timeout {integer}
    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: 60 Maximum value: 3600

1800

inactive-flow-timeout

Timeout for periodic report of finished flows.

integer

Minimum value: 10 Maximum value: 600

15

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: 60 Maximum value: 86400

1800

config collectors

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 1 Maximum value: 6

0

collector-ip

Collector IP.

string

Maximum length: 63

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.

string

Maximum length: 63

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