Networking: How to Enable Netflow in a interface of a Router
To enable Netflow in a interface is divided into two phase. Below are the steps for enabling netflow in router.
Phase 1
Go to configuration mode of Router using the below command:
Router> enable
Then , go to global configuration mode using the below command:
router# config t
Then , configure the gigaethernet interfaces using the following commands:
(config-if)# interface gigaethernet 0/0
(config-if)# ip route-cache flow
(config-if)# exit
(config-if)# interface gigaethernet 0/1
(config-if)# ip route-cache flow
(config-if)# exit
Phase 2
Set the destination for the Netflow using following command:
(config-if)#ip flow-export version 5
(config-if)#ip flow-export 220.225.223.10 3001
(config-if)#exit
Save the running configuration as startup configuration using following command:
router#copy running-configuration startup-configuration




