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

2960X Not sending Netflow

guy tec
Level 1
Level 1

Hi Everyone,

I have an issue with Netflow lite when testing it on a 2960X.

It seems that no flows are send to my collector.

Below the relevant config and som show outputs.

Can someone see what I did wrong or guid me to find a solution?

Thanks!

flow record record1
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect interface input
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last
!
!
flow exporter export1
destination 10.10.10.130
template data timeout 60
!
!
flow monitor monitor1
record record1
exporter export1
cache timeout inactive 120
cache timeout active 300

!

!

sampler sampler1
mode random 1 out-of 100

interface GigabitEthernet1/0/1
ip flow monitor monitor1 sampler sampler1 input

Show commands:

test-2960#show ip flow export
Flow export v1 is disabled for main cache
  Version 1 flow records
  0 flows exported in 0 udp datagrams
  0 flows failed due to lack of export packet
  0 export packets were sent up to process level

test-2960#show ip flow export template
No Template export information
No Option Templates exist
   Template Options Flag = 0
   Total number of Templates added = 0
   Total active Templates = 0
   Flow Templates active = 0
   Flow Templates added = 0
   Option Templates active = 0
   Option  Templates added = 0
   Template ager polls = 0
   Option Template ager polls = 0
Main cache version 9 export is disabled

test-2960#show flow exporter
Flow Exporter export1:
  Description:              User defined
  Export protocol:          NetFlow Version 9
  Transport Configuration:
    Destination IP address: 10.10.10.130
    Source IP address:      10.10.10.134
    Transport Protocol:     UDP
    Destination Port:       9995
    Source Port:            53881
    DSCP:                   0x0
    TTL:                    255
    Output Features:        Not Used

test-2960#show flow exporter statistics
Flow Exporter export1:
  Packet send statistics (last cleared 1w1d ago):
    Successfully sent:         0                     (0 bytes)
    Enqueued to process level: 13823                 (1342365 bytes)

  Client send statistics:
    Client: Flow Monitor monitor1
      Records added:           20
        - sent:                20
      Bytes added:             820
        - sent:                820

1 Reply 1

jakewilson
Level 1
Level 1

Here is a config that worked with the 2960x switch that Cisco sent us for testing:

http://www.plixer.com/blog/netflow-lite-2/cisco-2960-x-netflow-lite-configuration/

Jake

Review Cisco Networking products for a $25 gift card