cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
419
Views
0
Helpful
2
Replies

NETWORK MONITORING

fmugambi
Spotlight
Spotlight

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.

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

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).

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

2 Replies 2

M02@rt37
VIP
VIP

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).

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

balaji.bandi
Hall of Fame
Hall of Fame

check sample config post on my Blog :

https://www.balajibandi.com/?p=1383

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card