04-22-2019 11:18 PM
Hi All,
I have configured the netflow v5 collection on one of my ASR1002 , but it never collect the flow . Could you guys give some suggestion ?
Version : ASR1000 Software (PPC_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.4(3)S10
Configurations:
flow exporter ttt
destination 10.30.30.2
source GigabitEthernet0/0/3
transport udp 9999
export-protocol netflow-v5
!
!
flow monitor ttt
exporter ttt
cache timeout inactive 1
cache timeout active 1
cache entries 2000000
record netflow-original
!
sampler ttt
mode random 1 out-of 2
!
!
interface GigabitEthernet0/0/3
ip address 10.66.67.6 255.255.255.252
ip flow monitor ttt sampler ttt input
ip flow monitor ttt sampler ttt output
negotiation auto
end
Issue:
Cache type: Normal (Platform cache)
Cache size: 2000000
Current entries: 0
Flows added: 0
Flows aged: 0
I have tried to change the sampling rate to 1/2 , but it still cannot generate any flow information . But actually , the configurations above works well in my another ASR1002 .
Solved! Go to Solution.
04-23-2019 05:08 AM
when I change the record in monitor template as below , it works now :
record netflow ipv4 original-input
very interesting , two device with different kind of record type ,,, then work
04-22-2019 11:22 PM
04-23-2019 12:45 AM
04-23-2019 01:14 AM
Hi Mark,
Thanks for you sharing .I can ping the collector from my asr . Ask I checked, there isn't any flow generated on my ASR . I do show monitor statistics , but there is no cache entry in the flow table . Any suggestion ?
sh flow monitor ttt cache
Cache type: Normal (Platform cache)
Cache size: 2000000
Current entries: 0
Flows added: 0
Flows aged: 0
04-23-2019 01:31 AM
04-23-2019 02:56 AM
04-23-2019 04:16 AM
Hi Mark, I am using "record netflow-original" ,so I hadn't configured the record template . So ..
04-23-2019 04:32 AM
04-23-2019 04:37 AM
04-23-2019 04:51 AM
let me define a record template to have a try . Actually , I use the same configuration in another ASR1002 , it works fine .
o(╥﹏╥)o
04-23-2019 04:53 AM
04-23-2019 05:01 AM
YES, runing the IOS-XE . I just create a record template and applied it in the monitor template . But when I configured the flow monitor under interface , an error occurred .
Warning: Exporter ttt could not be activated because: Invalid arguments provided
04-23-2019 05:08 AM
when I change the record in monitor template as below , it works now :
record netflow ipv4 original-input
very interesting , two device with different kind of record type ,,, then work
04-23-2019 05:37 AM
04-23-2019 05:41 AM
yes, all the things are same , but if I use record netflow-original in the issue ASR , it cannot collect anything
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide