Working with Cisco Netflow
Created: 2021-04-08 23:45:06 | Last modified: 2021-04-08 23:52:49
Access: Read | Views: 24 | Rating: N/A | Tags: cisco netflow
Here are some experiences working with Netflow on cisco devices
ASR 1001-X
Here is an example of setting up a basic Netflow on a Cisco ASR 1001-x. We create an exporter (in this case called C3-EXPORTER) and a Monitor (C3-Monitor). We then add the monitors to the interfaces.
In this example, 111.111.111.111 is the destination of Netflow collector, the source interface for this is a bridge interface BDI15.
Note: On ASRs you can not use the management interface to send Netflows
flow exporter C3-EXPORTER
description Netflow Export
destination 111.111.111.111
source BDI15
transport udp 9996
!
flow monitor C3-MONITOR
description C3 Netflow Monitor
exporter C3-EXPORTER
cache timeout active 60
record netflow-original
!
interface GigabitEthernet0/0/0.95
description Interface 1
encapsulation dot1Q 95
ip flow monitor C3-MONITOR input
ip flow monitor C3-MONITOR output
!
interface GigabitEthernet0/0/1.96
description Interface 2
encapsulation dot1Q 96
ip flow monitor C3-MONITOR input
ip flow monitor C3-MONITOR output
Debugging commands
#Confirm the flow monitor is configured correctly
show flow monitor

#Show the flow exporter statistcis
show flow exporter statistics

#Show export information
show flow exporter
