flow record type performance-monitor TCP
match ipv4 protocol
collect application media bytes counter
collect interface input
collect interface output
collect application media packets rate
flow exporter EXPORTER
destination x.x.x.x ------> IP address for Netflow collector
source GigabitEthernet0/0/0
transport udp 9996
option application-table timeout 60
option application-attributes timeout 300
!
flow monitor type performance-monitor MONITOR
record RECORD
exporter EXPORTER
!
policy-map type performance-monitor PERF-POLICY
class class-default
flow monitor MONITOR
!
interface GigabitEthernet0/0/0
service-policy type performance-monitor input PERF-POLICY
service-policy type performance-monitor output PERF-POLICY