Fortinet black logo

CLI Reference

system netflow

system netflow

Use this command to configure NetFlow network traffic monitoring on the FortiGate.

note icon You must configure collector-ip, collector-port, and source-ip commands in order to use NetFlow.
config system netflow
    set collector-ip {ipv4 address}   Collector IP.
    set collector-port {integer}   NetFlow collector port number. range[0-65535]
    set source-ip {ipv4 address}   Source IP address for communication with the NetFlow agent.
    set active-flow-timeout {integer}   Timeout to report active flows (1 - 60 min, default = 30). range[1-60]
    set inactive-flow-timeout {integer}   Timeout for periodic report of finished flows (10 - 600 sec, default = 15). range[10-600]
    set template-tx-timeout {integer}   Timeout for periodic template flowset transmission (1 - 1440 min, default = 30). range[1-1440]
    set template-tx-counter {integer}   Counter of flowset records before resending a template flowset record. range[10-6000]
end

system netflow

Use this command to configure NetFlow network traffic monitoring on the FortiGate.

note icon You must configure collector-ip, collector-port, and source-ip commands in order to use NetFlow.
config system netflow
    set collector-ip {ipv4 address}   Collector IP.
    set collector-port {integer}   NetFlow collector port number. range[0-65535]
    set source-ip {ipv4 address}   Source IP address for communication with the NetFlow agent.
    set active-flow-timeout {integer}   Timeout to report active flows (1 - 60 min, default = 30). range[1-60]
    set inactive-flow-timeout {integer}   Timeout for periodic report of finished flows (10 - 600 sec, default = 15). range[10-600]
    set template-tx-timeout {integer}   Timeout for periodic template flowset transmission (1 - 1440 min, default = 30). range[1-1440]
    set template-tx-counter {integer}   Counter of flowset records before resending a template flowset record. range[10-6000]
end