cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
0
Helpful
1
Replies
Highlighted

Netflow Sampler doesn't work.

Hello community!

 

I am trying to configure a Netflow sampler with flexible Netflow in a 3850 Switch, my configuration is as follow:

flow record NetFlow-to-Analyzer
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
match ipv4 tos
match interface input
collect interface output
collect counter bytes long
collect counter packets long
!
!
flow exporter Diana
destination 10.111.1.94
source Vlan300
transport udp 9996
!
!
flow monitor NetFlow-Analyzer
exporter Diana
cache timeout active 60
record NetFlow-to-Analyzer
!
sampler SAMPLER-1
mode random 1 out-of 2

Interface Te1/1/1 (This is a trunk interface)

flow ip monitor NetFlow-Analyzer sampler SAMPLER-1 input

 

The Netflow configuration works OK, I am using Netflow Analyzer in my PC and I am receiving all the flows, but the sampler is not working, In fact I can't see statitics from the "show sampler" output. And I need this work, do you have any recommendation? Am I doing something wrong in my configuration?.

 

DNA-Testing#show sampler 
Sampler SAMPLER-1:
Export ID: 6
Description: User defined
Type: random
Rate: 1 out of 2
Samples: 0
Requests: 0
Users (2):
flow monitor NetFlow-Analyzer (ip,Te1/1/1,Input) 0 out of 0
SAMPLER-1 0 out of 0

 

My Switch version is:

DNA-Testing#show ver
Cisco IOS XE Software, Version 16.09.01
Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Tue 17-Jul-18 17:00 by mcpre

 

Any help will be appreciated.

 

Best Regards!

1 REPLY 1
Highlighted

Hello! 

 

Can someone help me? I need help

 

Best Regards,

Content for Community-Ad