12-11-2023 01:49 AM
Hello Team,
How do I enable my switch or router for netflow?
Would wish to set it up with PRTG. On PRTG side am done.
Thank you.
Solved! Go to Solution.
12-11-2023 02:13 AM - last edited on 12-12-2023 09:41 PM by Translator
Hello @fmugambi
you need a netflow configuration on your Switch/Router
- Flow records
Example:
ip flow-export source <source_interface>
ip flow-export version 9
flow record MyFlowRecord
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
- Flow exporter
Example:
flow exporter MyExporter
description Export to PRTG
destination <PRTG_IP> 2055
source <source_interface>
transport udp 2055
- Flow Monitor and apply it on interfaces
Example:
flow monitor MyMonitor
description NetFlow Monitor
record MyFlowRecord
exporter MyExporter
cache timeout active 60
interface <interface_type> <interface_number>
ip flow monitor MyMonitor input
In PRTG side, make sure you've set up a Netflow sensor and configured it to receive data on the specified port (default is 2055).
12-11-2023 02:13 AM - last edited on 12-12-2023 09:41 PM by Translator
Hello @fmugambi
you need a netflow configuration on your Switch/Router
- Flow records
Example:
ip flow-export source <source_interface>
ip flow-export version 9
flow record MyFlowRecord
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
- Flow exporter
Example:
flow exporter MyExporter
description Export to PRTG
destination <PRTG_IP> 2055
source <source_interface>
transport udp 2055
- Flow Monitor and apply it on interfaces
Example:
flow monitor MyMonitor
description NetFlow Monitor
record MyFlowRecord
exporter MyExporter
cache timeout active 60
interface <interface_type> <interface_number>
ip flow monitor MyMonitor input
In PRTG side, make sure you've set up a Netflow sensor and configured it to receive data on the specified port (default is 2055).
12-11-2023 03:37 AM
check sample config post on my Blog :
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide