XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Configuring Netflow on a Cisco router

NetFlow is a Cisco IOS application that provides statistics on packets flowing through the router. NetFlow is a primary network accounting and security technology.

Prerequisites for Configuring NetFlow and NetFlow Data Export

Before you enable NetFlow you must:

Special notes for specific IOS versions:

To configure netflow, here are the steps:

router>enable
router# configure terminal
router(config)# interface interface-type interface-number
router(config-if)# ip flow {ingress | egress}
router(config-if)# end
router# copy run start

Repeat interface command on any others you want to see traffic statistics on.

Commands to verify Netflow configuration:

Router# show ip flow interface (shows which interfaces netflow is configured on)
Router# show ip cache flow (shows a summary of capture statistics)

Now that netflow is collecting, configure an export destination:

router>enable
router# configure terminal
router(config)# ip flow-export source interface-type interface-number
router(config)# ip flow-export destination ip address of collector source port <optional>
router(config)# ip flow-export version number

Command to verify Netflow data export

router# ip flow-export version

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