flow record NTArec
description IPv4 monitor
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
collect routing source as
collect routing destination as
collect routing source as peer
collect routing destination as peer
collect routing next-hop address ipv4 bgp
collect interface output
collect flow direction
collect counter bytes
collect counter packets
!
flow exporter NTAexp1
destination x.x.x.x
source LoopbackX
output-features
transport udp 2055
!
flow monitor NTAmon1
exporter NTAexp1
cache timeout inactive 60
cache timeout active 60
record netflow-original
!
flow exporter NTAexp2
destination x.x.x.x
source LoopbackX
output-features
transport udp 2055
!
flow monitor NTAmon2
exporter NTAexp2
cache timeout inactive 60
cache timeout active 60
record netflow-original
!
! on your interfaces
interface Serial0/0/0
ip flow monitor NTAmon1 input
ip flow monitor NTAmon1 output
ip flow monitor NTAmon2 input
ip flow monitor NTAmon2 output
ip flow ingress
ip flow egress