XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Configure Netflow

Task:

Configure netflow exports on an IOS device to be received by a netflow collector for data analysis.

Solution:

!
! Cisco Express Forwarding has to be enabled on most newer platforms
!
ip cef
!
! Configure where to send the netflow exports
!
ip flow-export destination hostaddress 2055
!
! Configure which interface that will send the netflow data
!
ip flow-export source interface_name
!
! Configure the version of netflow exports to send
!
ip flow-export version 9
!
! Enable netflow on all interfaces of the router
!
interface int_name int_slot/int_number
ip route-cache flow
!
! Keeps the interface names/indexes the same across reboots
! This needs to be done in order for the netflow data to remain
! accurate across device reboots
!
snmp-server ifindex persist

Author Info:

 
Scott's profession is a Senior Network Engineer at a Healthcare related company in Nashville, TN. When he is not trying to secure a network or come up with a design for a new project, he enjoys spending time with his family. You can find out more at: http://www.scottp.net

Leave a Reply

Switch to our mobile site