Configuring NetFlow Export from the Router

The following is a simple configuration stanza to enable NetFlow generation and export from a Cisco IOS 12.x router. Refer to your router documentation for software and platform-specific commands:

Router1(config)#ip route-cache flow
Router1(config)#ip flow-export source Loopback 0
Router1(config)#ip flow-export destination 10.1.1.1 9999
Router1(config)#interface FastEthernet0/0
Router1(config-if)#ip route-cache flow

Get Security Monitoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.