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

Flexible Netflow on ASR 1002-x Failed to send datas

Mich_El
Level 1
Level 1

Hello Cisco Community,

 

I am trying to configure Netflow on ASR 1002-x.

I learnt that you can't use Management Gi0 to export data, so I've created a loopback and assigned to Management vrf. But I still get this issue:Netflow

Gate#sh flow exporter statistics
Flow Exporter Export-to-WUG:
Packet send statistics (last cleared 00:06:19 ago):
Successfully sent: 0 (0 bytes)
Reason not given: 20270 (27770528 bytes)

Client send statistics:
Client: Flow Monitor Netflow-monitor
Records added: 402590
- failed to send: 402590
Bytes added: 26973530
- failed to send: 26973530

 

Do you have Any advice please ?

I thought that creating a different interface (even if it's assigned to vrf Mgmt-intf) would be a workaround, but unfortunately nothing.

Hereafter my configuration:

 

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 flow direction
match ipv4 dscp
match application name
match routing vrf input
match routing vrf output
collect ipv4 source mask
collect ipv4 destination mask
collect transport tcp flags
collect interface output
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last
collect routing source as
collect routing destination as
!

flow exporter Export-to-WUG
description FLEXIBLE NF V9
destination X.X.X.X vrf Mgmt-intf  (My netflow collector)
source Loopback0
transport udp 9999
template data timeout 60
!
flow monitor Netflow-monitor
exporter Export-to-WUG
cache timeout active 60
record Netflow-record
!

 

interface Loopback0
vrf forwarding Mgmt-intf
ip address Y.Y.Y.Y 255.255.255.255
!

interface GigabitEthernet0/0/4
ip address x.x.x.x 255.255.255.252
ip flow monitor Netflow-monitor input
!

interface TenGigabitEthernet0/1/0
ip address x.x.x.x 255.255.255.240
ip flow monitor Netflow-monitor input
!

interface TenGigabitEthernet0/2/0
ip address x.x.x.x 255.255.255.252
ip flow monitor Netflow-monitor input
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
ip address Y.Y.Y.Y 255.255.255.192

0 Replies 0

Review Cisco Networking for a $25 gift card