How to configure netflow on Cisco devices

Here is step to configure Netflow on Cisco switches or Router

 

Step 1: Enabling NetFlow

Cisco(config-if)# ip flow-export version 5 or 9

 

* For PRTG we need NetFlow versions 5 or 9.

** We recommend these values for the timeouts. Timeout active value is in minutes ip flow-cache timeout active 5. Timeout inactive value is in seconds ip flow-cache timeout inactive 10.

Cisco(config-if)#ip flow-cache timeout active 5

 

 

Step 2: Setting the target address for NetFlow Packets

Cisco(config-if)# ip flow-export destination 1.1.1.111 9991

 

Step 3: You can optionally send all NetFlow packets to one other machine, too.

Cisco(config-if)#ip flow-export destination 1.1.1.222 9991

 

Step 4: Create a "NetFlow Sensor" in Monitoring tool

ex) PRTG (V7 or later) and enter the port number set above.

Leave a Reply