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 is the Founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs Xpresslearn.
 

Scott has been working in the networking field for 13 years and has experience in all the areas: Lan, Wan, Security, Optimization, High Availability, Wireless, and others.

When he is not working on further development of Xpresslearn, Scott loves spending time with his family and has such hobbies as Camping, Fishing, Cars, and Woodworking.

Related Posts:


Leave a Reply