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

cisco ISR4451-X/K9 not able to configure netflow

vaidyasagar15
Level 1
Level 1

I am not able to get flow on our Netflow server for cisco ISR4451-X/K9

ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S2, RELEASE SOFTWARE (fc2).

I used below commands but still not getting flow.

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 Y.Y.Y.Y
transport udp 9999
flow monitor FLOW-MONITOR-1
exporter EXPORTER-1
record v4_r1

interface GigabitEthernet0/0/1
description ***XXXXXXXXXXXXXXXXX***
bandwidth 153600
ip address X.X.X.X X.X.X.X
no ip proxy-arp
ip flow monitor FLOW-MONITOR-1 input
ip flow monitor FLOW-MONITOR-1 output
load-interval 30
negotiation auto
end

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

see if there been seen in the router first rather than the app your sending it too

sh flow exporter statistics 

you could try this as well , ihave it running on a lot of routers and it works fine

flow record LIVEACTION-FLOWRECORD
 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
 collect routing source as
 collect routing destination as
 collect routing next-hop address ipv4
 collect ipv4 dscp
 collect ipv4 id
 collect ipv4 source prefix
 collect ipv4 source mask
 collect ipv4 destination mask
 collect transport tcp flags
 collect interface output
 collect flow sampler
 collect counter bytes
 collect counter packets
 collect timestamp sys-uptime first
 collect timestamp sys-uptime last


flow exporter LIVEACTION-FLOWEXPORTER-IPFIX
 destination x.x.x.x
 source Loopback X
 transport udp 2055
 export-protocol ipfix
 option interface-table
 option vrf-table
 option sampler-table
 option application-table
 option c3pl-class-table
 option c3pl-policy-table
 option application-attributes


flow monitor LIVEACTION-FLOWMONITOR
 exporter LIVEACTION-FLOWEXPORTER-IPFIX
 cache timeout inactive 10
 cache timeout active 60
 record LIVEACTION-FLOWRECORD