We use the 4500 and 6500 series.
C4500 Series
ip flow ingress
ip flow-cache timeout inactive 300
ip flow-cache timeout active 60
ip flow-export source Vlan171
ip flow-export version 5
ip flow-export destination xxx.xxx.xxx.xxx 9996
C6500 Series (flexible netflow)
flow record TEST
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes
collect counter packets
!
flow exporter TEST
description ## Doosan ##
destination xxx.xxx.xxx.xxx
source Vlan122
transport udp 9996
export-protocol netflow-v5
!
flow monitor TEST
record TEST
exporter TEST
cache timeout inactive 300
cache timeout active 60
!
sampler TEST
mode random 1 out-of 8191
int range te1/1-2, te1/4, te1/5
ip flow monitor TEST sampler TEST input
----------------------------------------------------------------------------------------------------
We think that netflow command is incorrect. Please send me the correct netflow command.
Thank you in advance.