ASR1001: NetFlow fails to send
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2014 02:05 PM
We have an ASR1001 running version 03.10.01.S.
This is the NetFlow config:
flow record v4_r1
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
flow exporter EXPORTER-1
destination 192.168.1.1 vrf Mgmt-intf
transport udp 2055
flow monitor FLOW-MONITOR-1
exporter EXPORTER-1
record v4_r1
!
interface TenGigabitEthernet0/1/0.1
ip flow monitor FLOW-MONITOR-1 input
!
end
Output of show flow exporter statistics:
Flow Exporter EXPORTER-1:
Packet send statistics (last cleared 00:11:29 ago):
Successfully sent: 0 (0 bytes)
Reason not given: 10024 (11887500 bytes)
Client send statistics:
Client: Flow Monitor FLOW-MONITOR-1
Records added: 389413
- failed to send: 389413
Bytes added: 11682390
- failed to send: 11682390
The config is from this document:
I've also tried to add a source interface in the flow exporter. Does not have any effect.
Various "debug flow exporter" commands does not give any messages at all.
Any ideas? A bug perhaps?
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2014 12:33 AM
Seems like this is a feature, not a bug.
The management-interface belongs to the route processor, and it is not possible to send NetFlows via the RP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2016 07:18 AM
After many failed attempts and receiving confirmations from multiple Cisco engineers that my unsuccessful configuration appeared correct, here was the finally config which worked. I did not have any success attempting to send Netflow traffic through the vrf.
---
flow record NETFLOW_RECORD
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
match interface input snmp
match interface output snmp
collect interface output
collect counter bytes
collect counter packets
!
!
flow exporter NETFLOW_EXPORT
destination x.x.x.x (Netflow monitor server IP)
source GigabitEthernet_/_/_ (an appropriate interface which can route and communicate with the Netflow monitor server)
transport udp 2055
!
!
flow monitor NETFLOW_MONITOR
description Original Netflow captures
exporter NETFLOW_EXPORT
cache timeout inactive 10
cache timeout active 5
record NETFLOW_RECORD
!
(Monitor interfaces with traffic)
interface GigabitEthernet_/_/_
ip flow monitor NETFLOW_MONITOR input
ip flow monitor NETFLOW_MONITOR output
interface GigabitEthernet_/_/_
ip flow monitor NETFLOW_MONITOR input
ip flow monitor NETFLOW_MONITOR output
!
---
