Router2951#configureterminal//CreatingFlowRecordrouter2951(config)#flowrecordNTArecordrouter2951(con
.
Router2951#configure terminal//Creating Flow Recordrouter2951(config)# flow record NTArecordrouter2951 (config-flow-record)# match ipv4 source addressrouter2951 (config-flow-record)# match ipv4 destination addressrouter2951 (config-flow-record)# match ipv4 protocolrouter2951 (config-flow-record)# match transport source-portrouter2951 (config-flow-record)# match transport destination-portrouter2951 (config-flow-record)# match ipv4 tosrouter2951 (config-flow-record)# match interface inputrouter2951 (config-flow-record)# collect interface outputrouter2951 (config-flow-record)# collect counter bytesrouter2951 (config-flow-record)# collect counter packets//Creating Flow Exporterrouter2951(config)# flow exporter NTAexportrouter2951 (config-flow-exporter)#destination 172.16.0.117router2951 (config-flow-exporter)# source vlan1router2951 (config-flow-exporter)# transport udp 2055router2951 (config-flow-exporter)# template data timeout 60//Creating Flow Monitorrouter2951(config)# flow monitor NTAmonitorrouter2951(config-flow-monitor)# record NTArecordrouter2951(config-flow-monitor)# exporter NTAexportrouter2951(config-flow-monitor)# cache timeout active 60router2951(config-flow-monitor)# cache timeout inactive 15//Associating the Monitor to an Interfacerouter2951(config)# int FastEthernet0/1router2951(config-if)# ip flow monitor NTAmonitor input