What the heck am I doing wrong here?
FortiWifi # config system netflow
FortiWifi (netflow) # set collector-ip 192.168.3.197
command parse error before 'collector-ip'
Command fail. Return code -61
FortiWifi (netflow) #
Solved! Go to Solution.
The command lines seem to have changed relatively recently.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-Configure-Netflow/ta-p/196080
Check with the CLI reference of your version.
Toshi
Hi @KnealPeert ,
You can use any unique ID for it. Usually, if you don't know or don't have any preferred ID, you can:
config system netflow
config collectors
edit 0
set collector-ip 192.168.3.197
......
The reason is that you may have multiple collectors. The maximum number of collectors you can configure is 6. So the ID has to be one of 1-6.
The command lines seem to have changed relatively recently.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-Configure-Netflow/ta-p/196080
Check with the CLI reference of your version.
Toshi
Ok, thanks for that - I'm on 7.47 so, I missed config collectors - when I do that:
FortiWifi (collectors) # set collector-ip 192.168.3.197
Unknown action 0
FortiWifi (collectors) #
Documenation -
config system netflow
set active-flow-timeout Timeout 1800
set inactive-flow-timeout Timeout for periodic report of finished flows (10 - 600 sec, default = 15).
set template-tx-timeout Timeout for periodic template flowset transmission (60 - 86400 sec, default = 1800).
set template-tx-counter Counter of flowset records before resending a template flowset record.
config collectors
edit <table value> <--I think I'm stuck on this piece.
set collector-ip <Collector IP>
set collector-port <NetFlow collector port number>
set source-ip <Source IP address for communication with the NetFlow agent>
set interface-select-method <Specify how to select outgoing interface to reach server>
end
Hi @KnealPeert ,
You can use any unique ID for it. Usually, if you don't know or don't have any preferred ID, you can:
config system netflow
config collectors
edit 0
set collector-ip 192.168.3.197
......
The reason is that you may have multiple collectors. The maximum number of collectors you can configure is 6. So the ID has to be one of 1-6.
Created on 06-28-2025 12:50 PM Edited on 06-28-2025 12:51 PM
Many thanks for the help.
User | Count |
---|---|
2431 | |
1304 | |
778 | |
561 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.