Hi,
I am using following Cisco router -
Cisco CISCO3945-CHASSIS (revision 1.0) with C3900-SPE250/K9
ROM: System Bootstrap, Version 15.1(1r)T4, RELEASE SOFTWARE (fc1)
I have configured netflow v5 sampling on this router using following commands -
yourname(config)#ip cef
yourname(config)#flow-sampler-map mysampler50
yourname(config-sampler)#mode random one-out-of 100
yourname(config-sampler)#interface GigabitEthernet 0/0
yourname(config-if)#no ip route-cache flow
yourname(config-if)#ip route-cache cef
yourname(config-if)#flow-sampler mysampler50
yourname(config-if)#exit
yourname(config)#ip flow-export version 5
yourname(config)#ip flow-export destination <ipaddress> 2222
yourname#show flow-sampler
Sampler : mysampler50, id : 1, packets matched : 156, mode : random sampling mode
sampling interval is : 100
yourname#show ip flow interface
GigabitEthernet0/0
ip flow egress
flow-sampler mysampler50
Now, when i capture the packets using wireshark, packet header contains all the information except sampling mode and sample rate. It says,
00.. .... .... .... = SamplingMode: No sampling mode configured (0)
..00 0000 0000 0000 = SampleRate: 0
Can you please let me know if i have missed out on some configuration due to which sampling mode/rate information is not getting exported in netflow v5 packet header.
Thank You.
Regards,
Deepak